Commit graph

2884 commits

Author SHA1 Message Date
Robert Coup
1830d59f00 When using nearest neighbour scaling with a RasterSymbolizer and images with <255 alpha, don't overflow channels. Thanks @craigds. fixes #731 2011-03-14 22:53:04 +00:00
Dane Springmeyer
aea93fe1f9 fix bug in hit_test for points, allowing possibility of hit if tolerance is fractional (most cases) 2011-03-13 22:15:52 +00:00
Dane Springmeyer
578b434f4d trap exceptions in the configure check for whether boost regex has icu support 2011-03-12 02:46:52 +00:00
Dane Springmeyer
b8663b67e3 handle NODATA for rgb and grey images in gdal.input - closes #727 2011-03-11 21:28:18 +00:00
Hermann Kraus
f9040c6026 Show error message when invalid placement algorithm is selected. 2011-03-11 14:18:34 +00:00
Artem Pavlenko
cbbc904bbd + qualify boost::spirit::qi placeholders to avoid ambiguity 2011-03-09 11:07:21 +00:00
Artem Pavlenko
3a4f9307a5 + add missing header 2011-03-07 12:54:00 +00:00
Artem Pavlenko
3daa06bb11 + impl GEOMETRYCOLLECTION parser as composite 2011-03-07 12:53:52 +00:00
Dane Springmeyer
f76d94cec9 fix up postgis error message formatting when no schema is used 2011-03-05 18:01:05 +00:00
Dane Springmeyer
c3c5a20c29 by default attempt to compile with CAIRO support again (this was disabled during refactoring that broke cairo rendering) 2011-03-04 22:15:11 +00:00
Dane Springmeyer
a5284bada6 add missing DEFINES to mapnik-config cflags that C++ programs need that compile against mapnik headers including expressions 2011-03-04 22:05:29 +00:00
Dane Springmeyer
b304302fea Add a few tests for layer init 2011-03-02 15:17:55 +00:00
Dane Springmeyer
bdd2441a86 fix and re-enable point symbolizer pickling 2011-03-02 14:39:41 +00:00
Dane Springmeyer
4079fd7d08 make feature caching optional, and disabled by default (to avoid std::bad_alloc in low memory environments). Can be set as new layer property 'cache-features' - closes #657 2011-03-01 17:09:29 +00:00
Dane Springmeyer
0a4b5591a1 comment unused function 2011-03-01 16:37:53 +00:00
Dane Springmeyer
faf3512f8f scons: fix ability to call 'install -c' and 'uninstall', broken since r2568 2011-03-01 16:36:45 +00:00
Dane Springmeyer
429eed5090 boolean evals of expressions return strings 2011-02-28 21:20:16 +00:00
Dane Springmeyer
efb19dea6c make the requirement of boost_regex unicode support optional by detecting if boost_regex was itself built with ICU support 2011-02-28 20:00:56 +00:00
Dane Springmeyer
8305e242c6 tests for regex match/replace, unicode and non-unicode text 2011-02-28 19:56:53 +00:00
Dane Springmeyer
2ea0340e2d avoid unintialized variable warnings in g++ 2011-02-28 18:30:38 +00:00
Dane Springmeyer
3df75cc422 shape.input: check if .dbf exists and throw up front if not rather than letting shape_io fail 2011-02-28 17:44:56 +00:00
Hermann Kraus
714f918332 Fix indentation. 2011-02-28 13:29:39 +00:00
Hermann Kraus
4af0696b9d Add support for multiple placements.
NOTE: In some places indention is not updated to keep this patch readable. This will be fixed in the next revision.
2011-02-28 13:17:46 +00:00
Artem Pavlenko
8ca85c95c6 + reflect 'area' method 2011-02-28 12:41:07 +00:00
Artem Pavlenko
e54eb342e2 + from_wkt factory method
+ expose mapnik::eGeomType enum
2011-02-28 12:40:59 +00:00
Dane Springmeyer
4206c46f58 revert unintended change 2011-02-25 21:02:33 +00:00
Dane Springmeyer
03ee4570be make sure to install svg and wkt include files - thanks kiorky for initial patch - closes #718 2011-02-25 21:00:05 +00:00
Dane Springmeyer
545960a340 fix point_placement enum checking 2011-02-24 18:05:07 +00:00
Artem Pavlenko
d5bcf8dccb + fix include paths
+ update src/SConscript
2011-02-24 15:54:59 +00:00
Artem Pavlenko
57db45095f + boost.spirit WKT parser using mapnik::geometry_type
as synthesized attribute.
2011-02-24 15:47:53 +00:00
Artem Pavlenko
ef28bca095 + add push_vertex(x,y,command) method 2011-02-24 15:47:44 +00:00
Artem Pavlenko
93514d57a2 + add missing geometry types
+ correct geometry types in wkb reader
2011-02-24 15:47:36 +00:00
Dane Springmeyer
3b295143bc better workaround for unsupported GDAL framework linking on osx 2011-02-23 21:24:23 +00:00
Dane Springmeyer
9d351be091 update cairo renderer to include text-transform 'captitalize' support 2011-02-21 20:46:07 +00:00
Dane Springmeyer
a317c5d051 add 'capitalize' option to text-transform - closes #715 2011-02-21 20:43:26 +00:00
Dane Springmeyer
663e030d41 be explicit about types for unicode - allows compile with nacl-g++ 2011-02-19 03:01:13 +00:00
Dane Springmeyer
25b9a6cf9f make test path relative 2011-02-15 18:45:49 +00:00
Dane Springmeyer
b51d2e2664 upgrade markers_symbolizer examples 2011-02-15 18:42:44 +00:00
Dane Springmeyer
6ff45e91fe add handling of markers_symbolizer to upgrade_map_xml.py script 2011-02-15 18:41:20 +00:00
Dane Springmeyer
92ed4d84c2 osx: fix path in readme 2011-02-14 20:37:19 +00:00
Carlos López
83a7b4710e Fixed a bug that caused half of the vertexes to disappear from the SVG path.
+ mapnik::geometry_iterator was replaced by mapnik::svg::path_iterator
+ svg::path_output_grammar was simplified
+ the container for this grammar is now coord_transform2, instead of geometry
+ added typedef size_type to coord_transform2 and removed it from geometry
2011-02-14 03:40:25 +00:00
Dane Springmeyer
aabdeb1265 osx: correct path to mapnik.pth (thanks Joe Germuska for report) 2011-02-11 23:08:15 +00:00
Dane Springmeyer
f348c489ad fix property names in load_map error response 2011-02-11 21:32:47 +00:00
Dane Springmeyer
616aa2ed05 avoid keeping open shape_io shared_ptr when the shapefile does not have an index 2011-02-09 23:41:41 +00:00
Dane Springmeyer
5876abcc30 handle potential xinclude nesting 2011-02-09 23:36:09 +00:00
Dane Springmeyer
df8a987501 disable SVG_RENDERER until #712 is resolved 2011-02-09 10:43:59 +00:00
Dane Springmeyer
a9cda83300 check XML attributes for markers_symbolizer 2011-02-09 07:51:52 +00:00
Dane Springmeyer
af8e859d66 simplify the svg2png command line tool 2011-02-09 06:50:27 +00:00
Dane Springmeyer
ec2090d8a8 avoid compiler warnings 2011-02-09 06:49:58 +00:00
Dane Springmeyer
646665cf52 osx: add other packaged deps to readme 2011-02-09 02:52:57 +00:00