Commit graph

1880 commits

Author SHA1 Message Date
Artem Pavlenko
56bca0d194 + re-use placement for subsequent points 2010-09-10 13:15:06 +00:00
Artem Pavlenko
ad03de5895 + better .index handling (TODO!) 2010-09-06 19:20:59 +00:00
Dane Springmeyer
89acd2e6e0 pass iterators as const to qi::phrase_parse allowing compile on linux g++ (rhel) 2010-09-06 18:37:02 +00:00
Artem Pavlenko
23ea9e0004 add coomment 2010-09-02 20:21:00 +00:00
Artem Pavlenko
65eba5f894 use boost::spirit to parse int and double from dbf 2010-09-02 20:20:51 +00:00
Artem Pavlenko
7776b8f4ae + make shape_io object a shape datasource member and re-use memmapped files
(todo : only implemented for indexed shape files atm)
2010-09-02 20:20:42 +00:00
Artem Pavlenko
7ddb329179 support more compositing modes 2010-09-02 20:20:34 +00:00
Artem Pavlenko
571bd1141b + make typdefs public 2010-09-02 20:20:26 +00:00
Dane Springmeyer
23d6dfd799 warn about Mapnik2 and pass wiki page 2010-08-31 00:17:22 +00:00
Dane Springmeyer
1cd1593513 fix spelling error in 'initial_size' and ditch lowercasing method which will not work unless applied before the query object is created 2010-08-28 03:09:49 +00:00
Dane Springmeyer
df42fcde56 locking is required around pj_init_plus (partial revert of 2063) as it appears pj_init_plus will fail under high concurrent load even with proj 4.7.0 (only seen when reprojecting data) and will likely require use of a context (available in next release) if we wish to remove locks 2010-08-27 22:05:15 +00:00
Dane Springmeyer
12dd97a772 touch up docstrings in mapnik.Map and throw IndexError if negative value is passed to query_map_point or query_point from python as we don't currently support finding layers by negative index 2010-08-27 16:16:16 +00:00
Dane Springmeyer
8125366ed6 add newline at end of file to avoid compiler warning on RHEL 2010-08-26 23:15:07 +00:00
Dane Springmeyer
3f2f9fb4e5 avoid serializing xml to a string but rather write directly from tree (tree.tostring() is buggy with everything except lxml) 2010-08-26 21:44:43 +00:00
Dane Springmeyer
b4e989a85a only support reading xinclude if we are using lxml 2010-08-26 20:45:08 +00:00
Dane Springmeyer
594b019879 refactor upgrade_map_xml.py script to avoid custom dependency on lxml.objectify 2010-08-26 20:42:50 +00:00
Dane Springmeyer
1086cf6273 scons: fix for solaris when compiling with gcc 2010-08-26 01:39:10 +00:00
Dane Springmeyer
9674171eb4 fixes for building on solaris and opensolaris, in addition to automatic running of ldconfig (will benefit builds on linux and fail silently otherwise) 2010-08-26 01:21:47 +00:00
Dane Springmeyer
317830784e scons: normalize paths to make sure that trailing slashes are striped and the lib/include directories are removed with dirname 2010-08-25 22:20:19 +00:00
Dane Springmeyer
05d37a282f scons: quiet the output of the sorting function so it only prints once 2010-08-21 05:35:38 +00:00
Dane Springmeyer
0eb66e8340 scons: make sure to sort libs and includes paths after adding calling FindBoost and doing boost checks 2010-08-21 05:27:29 +00:00
Dane Springmeyer
a8423428e8 scons: don't build cairo rendering backend unless requested (as cairo is not being actively maintained at this point in trunk) 2010-08-21 04:22:36 +00:00
Dane Springmeyer
410981c9fb add indenting support to upgrade_map_xml.py and add wally's alternative that is able to do the black magic needed to maintain entities 2010-08-20 22:20:45 +00:00
Dane Springmeyer
1d7afcec89 make sure the user does not request a layer by index greater than exists in the dataset 2010-08-20 21:59:48 +00:00
Dane Springmeyer
e6f75a4741 make SVG_RENDERER build default false because it requires a more recent boost version than scons checks for - TODO add finer grained boost check if SVG_RENDERER is enabled 2010-08-20 21:35:31 +00:00
Dane Springmeyer
2de597d961 tweak to error formatting of layers available in ogr dataset 2010-08-20 21:24:58 +00:00
Dane Springmeyer
930b2cc7b6 better handling and error reporting around ogr layer names and indexes, renamed ogr plugins index file to 'ogrindex' to avoid collision with shape plugins index (when using common shapefile between each as the indexes appear incompatible) 2010-08-20 21:20:55 +00:00
Dane Springmeyer
c7f136db91 avoid segfault if geometry is so invalid that no reference is returned and we cannot check if it is empty - closes #574 2010-08-20 21:14:14 +00:00
Dane Springmeyer
22fc14ef05 + ability to pass coord2d to box2d::re_center in core and python 2010-08-19 21:35:27 +00:00
Dane Springmeyer
bdb454653a improve the datasource test 2010-08-19 18:52:48 +00:00
Dane Springmeyer
21865fdba1 gussy up the markers_symbolizer example using point placement and ellipses 2010-08-19 18:09:15 +00:00
Dane Springmeyer
b307013ba2 add additional support for dynamically drawing ellipses in the markers_symbolizer, now supporting both line/point placement, metawriters for point placement, and width/height/stroke attributes - TODO - reflect in python bindings, buggy matrix transform for ellipses 2010-08-19 17:33:01 +00:00
Dane Springmeyer
1fcb0eebec serialize stroke separately from line_symbolizer, setting up for other symbolizers to share stroke attributes 2010-08-19 15:45:53 +00:00
Dane Springmeyer
b5f36154fc parse stroke properties separately from parsing a line symbolizer - setting up for being able to easily add strokes to other symbolizers 2010-08-19 12:20:30 +00:00
Dane Springmeyer
a7e9cc7e87 make output of empty json (if no features are hit) on by default, and rename parameter from 'only-nonempty' to 'output-empty' 2010-08-19 05:50:08 +00:00
Dane Springmeyer
50147ab509 warn if no index is found for shapefiles - TODO - add an env setting to turn off warnings 2010-08-18 21:02:54 +00:00
Dane Springmeyer
5b50b59fe8 add the ability to control usage of ST_ prefix on AsBinary (as there may be performance impl), force lowercasing attribute names, and toggle forcing 2d geometries 2010-08-18 21:00:09 +00:00
Dane Springmeyer
466e44e4ef reasonable defaults for viewer.pro 2010-08-18 20:47:12 +00:00
Dane Springmeyer
680760005d + formatting 2010-08-18 20:42:00 +00:00
Dane Springmeyer
5e441b39b5 add example of using MarkersSymbolizer one lines 2010-08-18 04:11:38 +00:00
Dane Springmeyer
6d697d1c30 add lines to the spatiallite test dataset 2010-08-17 21:48:16 +00:00
Hermann Kraus
d3bb11456f Last Summer of Code changes: Support metawriter in upgrade_map_xml.py, fix attribute collector. 2010-08-16 19:14:21 +00:00
Hermann Kraus
55d9bf3290 Add glyph dimension caching and move functions from .hpp to .cpp 2010-08-13 18:41:54 +00:00
Hermann Kraus
b6f839b0f1 Calculate exact bounding boxes for GlyphSymbolizer. 2010-08-13 00:51:58 +00:00
Hermann Kraus
7fea0f7a6c Metawriter support for LineSymbolizer and LinePatternSymbolizer 2010-08-12 21:39:29 +00:00
Hermann Kraus
fb4baa4fcf Metawriter support for LineSymbolizer and LinePatternSymbolizer 2010-08-12 19:12:15 +00:00
Hermann Kraus
4cb09a8aca Fix small bugs. 2010-08-12 16:58:37 +00:00
Marcin Rudowski
bd8f189bd1 fix raster blending, ported r2137, fixing #589 2010-08-12 06:59:35 +00:00
Hermann Kraus
3d4fbf03d2 Add docstrings. 2010-08-12 01:42:33 +00:00
Hermann Kraus
24fb874c7d Add metawriter support to save_map.cpp 2010-08-12 00:11:01 +00:00