Commit graph

2324 commits

Author SHA1 Message Date
Dane Springmeyer
fd54be4cc5 if 'maximum-extent' is provided, clip map query extent to it allowing one simple and fast way of controlling out of bounds coordinates when projecting into/from layer projection - see also solution at #549 2011-04-15 07:13:08 +00:00
Dane Springmeyer
3147e2a257 update memory datasource and feature tests to leverage new support for parsing WKT after #698 2011-04-14 21:06:07 +00:00
Dane Springmeyer
c30347185a allow point checking test to operate without pycairo installed 2011-04-14 21:02:31 +00:00
Dane Springmeyer
0f49feb1d9 minor test update 2011-04-14 21:01:37 +00:00
Dane Springmeyer
e79e7a1413 box2d: when copying actually copy exactly rather than using init to enforce validity - closes #749 2011-04-14 19:26:49 +00:00
Dane Springmeyer
7570cb5d73 load and save the new map 'maximum-extent' attribute 2011-04-14 02:32:51 +00:00
Dane Springmeyer
8998296f7b add 'maximum-extent' attribute to map and use this, if set, in place of calculated layer extents in zoom_all() 2011-04-14 02:20:33 +00:00
Dane Springmeyer
6549d090cc throw in python bindings if proj_transform fails 2011-04-14 02:09:24 +00:00
Dane Springmeyer
ff006dd3f0 allow copy of mapnik::projection when proj_transform is created - closes #658 - TODO - consider using shared_ptr 2011-04-13 21:30:39 +00:00
Dane Springmeyer
ac3488efb6 fix return from proj_transform when coordinates cannot be reprojected 2011-04-13 21:03:15 +00:00
Dane Springmeyer
9b1080e72e don't warn if mmap's file is missing (shapefile does not have an index) 2011-04-13 20:09:52 +00:00
Dane Springmeyer
383d8a3f15 add proj_transform forward/backward box2d implementation 2011-04-13 19:40:44 +00:00
Dane Springmeyer
daf5cff723 add ability to set the bbox of a query object after initial contruction 2011-04-13 19:30:19 +00:00
Dane Springmeyer
903d1b49ef add a clip method to mapnik::box2d 2011-04-13 19:19:23 +00:00
Dane Springmeyer
e1b00387ca occi.input: remove unused header 2011-04-13 18:13:26 +00:00
Dane Springmeyer
b020783087 helloworld.input - comment fix 2011-04-13 18:13:07 +00:00
Dane Springmeyer
8fa2c6b4da raster.input: touchup error output 2011-04-13 17:50:40 +00:00
Dane Springmeyer
9bfecac34e postgis: clear the result before throwing 2011-04-11 22:11:14 +00:00
Artem Pavlenko
7191d56a16 + throw image_reader_exception if we can't read tiff file
+ catch image_reader_exceptions in raster.input
+ re-throw in bind()
2011-04-11 21:17:10 +00:00
Artem Pavlenko
c906dcea02 + restore gcc compile flags 2011-04-11 05:27:18 +00:00
Dane Springmeyer
da722262e6 upgrade syntax to mapnik2 2011-04-09 05:35:25 +00:00
Artem Pavlenko
d1903cb463 + don't link to boost::iostreams 2011-04-07 15:34:33 +00:00
Artem Pavlenko
cccdd048eb + use mapped_memory_cache for memory mapped files 2011-04-07 15:24:52 +00:00
Artem Pavlenko
878bc6b6da + remove boost::iostreams includes 2011-04-07 15:15:46 +00:00
Artem Pavlenko
7c3896f3a3 + cleanups 2011-04-07 15:09:20 +00:00
Artem Pavlenko
3d0697f343 + update SConscript to reflect previous change 2011-04-07 13:45:05 +00:00
Artem Pavlenko
02fffbd89f + better naming: dbffile -> dbfile 2011-04-07 13:44:57 +00:00
Artem Pavlenko
e81761d270 + remove boost::iostreams dependency 2011-04-07 13:35:21 +00:00
Artem Pavlenko
0e0b7a578c + implement memory mapping using boost::interprocess
+ cache mapped memory regions for re-use
2011-04-06 13:02:31 +00:00
Tom Hughes
c9472e650c Link svg2png against libagg directly as some recent distributions
like Fedora 14 don't allow the linker to resolve symbols indirectly
anymore.
2011-04-05 22:09:43 +00:00
Dane Springmeyer
62e62ebe76 avoid unused parameter warnings 2011-04-04 14:45:00 +00:00
Dane Springmeyer
7cc4f345cf avoid deprecated string conversion warning in pycairo by overriding Pycairo_Import macro and casting away const to please the c/c++ borderlands 2011-04-04 04:40:18 +00:00
Dane Springmeyer
a7410da0d8 avoid unused parameter compiler warnings 2011-04-04 04:37:08 +00:00
Dane Springmeyer
2699ba42d0 avoid unused parameter compiler warnings 2011-04-04 04:35:28 +00:00
Dane Springmeyer
33f6cbf13d jpeg reader: make to sure call jpeg_finish_decompress if scanlines have been read 2011-04-04 04:03:03 +00:00
Dane Springmeyer
528d5710c8 add an ogr2ogr created sqlite file, and update sqlite XML tests to use new, simplified driver functionalities 2011-04-04 04:01:34 +00:00
Dane Springmeyer
4dbc58a55b use 'column affinity' type logic to detect the geometry_field if not specified, and throw if not known or if extent cannot be determined 2011-04-04 03:56:15 +00:00
Dane Springmeyer
d2a455a0fb pgsql2sqlite: leverage common functions in sql_utils, vaccuum db when finished 2011-04-04 03:51:29 +00:00
Dane Springmeyer
2d1e2ef998 add valid() method to box2d, and comment subtraction override as it does not have any function currently 2011-04-04 03:50:09 +00:00
Dane Springmeyer
a73bb9d2cd pgsql2sqlite: better error output, limit 'table' param to flag option rather than positional arg so the two do not conflict 2011-04-04 03:48:39 +00:00
Dane Springmeyer
7d6ed703f4 move numeric2string to sql_utils.hpp 2011-04-04 03:46:41 +00:00
Dane Springmeyer
49c011a48a avoid various compiler warnings 2011-04-03 04:30:32 +00:00
Dane Springmeyer
2bcb0c7926 add check target to makefile using cppcheck 2011-04-03 04:29:22 +00:00
Dane Springmeyer
9a27a68f4a avoid unused parameter compiler warnings 2011-04-03 04:28:44 +00:00
Dane Springmeyer
2160a49b3f scons: at configure time, ensure libsqlite3 has rtree support built in - closes #403 2011-04-02 18:25:23 +00:00
Dane Springmeyer
f891b0f61f sqlite plugin: add features_at_point() impl 2011-04-02 04:54:26 +00:00
Dane Springmeyer
5a1842aad1 remove tabs 2011-04-02 03:45:50 +00:00
Dane Springmeyer
819a67fd42 catch errors in build time python pkg-config parsing - closes #738 2011-04-02 03:12:58 +00:00
Dane Springmeyer
27cc2f0dc5 catch errors in build time pkg-config parsing - closes #738 2011-04-02 03:11:42 +00:00
Dane Springmeyer
9b1a33be5c remove spurious semicolon 2011-04-02 03:08:16 +00:00