Commit graph

1111 commits

Author SHA1 Message Date
Artem Pavlenko
946667948f fix names 2012-01-13 17:18:43 +00:00
Artem Pavlenko
d75eb788f3 + expose iterator interface in mapnik::context
+ make feature_kv_iterator friend of feature_impl
2012-01-13 17:17:40 +00:00
Artem Pavlenko
ede232d2c1 + apply mapnik coding convention 2012-01-13 16:30:03 +00:00
Artem Pavlenko
8a4fb0b47e + add typedefs 2012-01-13 14:50:36 +00:00
Cezary Tarnowski
e7a751987d Merge remote-tracking branch 'upstream/master' 2012-01-13 14:49:59 +01:00
Cezary Tarnowski
afa8ecefc4 Merge remote-tracking branch 'upstream/master' 2012-01-13 14:49:59 +01:00
Artem Pavlenko
da7574065d + envelope() method
+ put(std::string const&, mapnik::value const&)
2012-01-13 12:02:02 +00:00
Artem Pavlenko
3ed378e09e fix include 2012-01-12 17:31:32 +00:00
Artem Pavlenko
45e867aac1 feature_impl: key/value forward iterator 2012-01-12 17:29:42 +00:00
Cezary Tarnowski
c007a608ff Adding gamma-method to polygon symbolizer 2012-01-12 16:58:10 +01:00
Cezary Tarnowski
c7cfdef8d4 Adding gamma-method to polygon symbolizer 2012-01-12 16:58:10 +01:00
Artem Pavlenko
0bb8adbbdc factor out common code to reduce duplication (shape_utils) 2012-01-12 12:18:50 +00:00
Artem Pavlenko
14aa8281ce format 2012-01-12 10:18:15 +00:00
Artem Pavlenko
4cd95d9d1c fix init order 2012-01-12 10:10:40 +00:00
Artem Pavlenko
0eb8e2d246 temp fix to compile FIXME 2012-01-12 10:04:49 +00:00
Artem Pavlenko
f02ef7ed0e keep old names 2012-01-12 09:43:54 +00:00
Artem Pavlenko
377aad79ce more friendly interface 2012-01-12 09:40:58 +00:00
Artem Pavlenko
dd4007bc51 + return bvalue by const ref
+ feature impl update
2012-01-12 09:35:57 +00:00
Artem Pavlenko
d65186106f update feature factory to work with new features 2012-01-12 09:32:21 +00:00
Artem Pavlenko
f4d3a536f2 new leaner feature impl (shared context) 2012-01-12 09:31:11 +00:00
Dane Springmeyer
967652efb6 include/
add utility for converting paths to string geometry type name - refs #701
2012-01-11 20:02:38 -08:00
Dane Springmeyer
e7f1c58dee include/
add utility for converting paths to string geometry type name - refs #701
2012-01-11 20:02:38 -08:00
Dane Springmeyer
33bd76f24f add geometry_type to mapnik::layer_descriptor - empty unless set by datasources - refs #701 2012-01-11 20:02:30 -08:00
Dane Springmeyer
ca68a77a46 add geometry_type to mapnik::layer_descriptor - empty unless set by datasources - refs #701 2012-01-11 20:02:30 -08:00
Dane Springmeyer
aad26ace9f formatting 2012-01-11 15:58:59 -08:00
Dane Springmeyer
d865555af2 formatting 2012-01-11 15:58:59 -08:00
Tom MacWright
54ecfdbe9f Merge branch 'master' into unbuffered_extent 2012-01-09 13:13:09 -05:00
Tom MacWright
1640252b69 Merge branch 'master' into unbuffered_extent 2012-01-09 13:13:09 -05:00
Artem Pavlenko
e9cb534ee3 + store face index for faster access
+ avoid memory leaks
2012-01-09 13:09:19 +00:00
Artem Pavlenko
1ad6e107d3 + store face index for faster access
+ avoid memory leaks
2012-01-09 13:09:19 +00:00
Dane Springmeyer
ca1b5ea7ac Revert "recommend 1.46 since that dodges the ubuntu issue with interprocess - refs #950 and #1001"
This reverts commit 60059970fa.
2012-01-08 16:07:17 -08:00
Dane Springmeyer
156026c581 Revert "recommend 1.46 since that dodges the ubuntu issue with interprocess - refs #950 and #1001"
This reverts commit 60059970fa.
2012-01-08 16:07:17 -08:00
Dane Springmeyer
60059970fa recommend 1.46 since that dodges the ubuntu issue with interprocess - refs #950 and #1001 2012-01-08 16:03:04 -08:00
Dane Springmeyer
69f4cece93 recommend 1.46 since that dodges the ubuntu issue with interprocess - refs #950 and #1001 2012-01-08 16:03:04 -08:00
Artem Pavlenko
884e83cda8 delete trailing white space 2012-01-05 11:40:27 +00:00
Artem Pavlenko
9e6e7d0211 delete trailing white space 2012-01-05 11:40:27 +00:00
Artem Pavlenko
cb8ee2e239 don't use boost foreach on geometry_container - type deduction
issues ??
2012-01-05 11:38:43 +00:00
Artem Pavlenko
0aa44b84f9 don't use boost foreach on geometry_container - type deduction
issues ??
2012-01-05 11:38:43 +00:00
Artem Pavlenko
1b5e281647 implement wkb converter for multi geometries 2012-01-05 10:57:22 +00:00
Artem Pavlenko
e33326a561 implement wkb converter for multi geometries 2012-01-05 10:57:22 +00:00
Tom MacWright
bb5f274265 Adds unbuffered_extent_ to queries from feature_style_processor.
Creates a new constructor for query. Currently this is used
by the jit_datasource.
2011-12-20 16:12:37 -05:00
Tom MacWright
0fb717486c Adds unbuffered_extent_ to queries from feature_style_processor.
Creates a new constructor for query. Currently this is used
by the jit_datasource.
2011-12-20 16:12:37 -05:00
Dane Springmeyer
d7c720f0af python: reflect fontsets to enable fuller test of map.deepcopy - closes #348 2011-12-20 12:34:27 -08:00
Dane Springmeyer
bbeeaada4d python: reflect fontsets to enable fuller test of map.deepcopy - closes #348 2011-12-20 12:34:27 -08:00
Artem Pavlenko
c71a02e24d add poor man's deepcopy method :
'''
mapnik::util::deepcopy(map_in,map_out);
'''
2011-12-20 16:26:30 +00:00
Artem Pavlenko
b3b330bcb7 add poor man's deepcopy method :
'''
mapnik::util::deepcopy(map_in,map_out);
'''
2011-12-20 16:26:30 +00:00
Artem Pavlenko
43c837399d copy filter expressions fix
use const_iterator
2011-12-20 16:16:17 +00:00
Artem Pavlenko
6c248c70f9 copy filter expressions fix
use const_iterator
2011-12-20 16:16:17 +00:00
Artem Pavlenko
145362c6f7 refactor symbolizer deepcopy semantics into internal structure 2011-12-19 13:30:30 +00:00
Artem Pavlenko
a99392d3df refactor symbolizer deepcopy semantics into internal structure 2011-12-19 13:30:30 +00:00
Dane Springmeyer
b62cebf9b5 renable to_wkt after g++ compile fix in 0aef7cc55a 2011-12-17 11:55:30 -08:00
Dane Springmeyer
d940a7cc52 renable to_wkt after g++ compile fix in 0aef7cc55a 2011-12-17 11:55:30 -08:00
Artem Pavlenko
b4fd857a66 Merge remote-tracking branch 'origin/master' 2011-12-17 11:45:08 +00:00
Artem Pavlenko
365e42cd0e Merge remote-tracking branch 'origin/master' 2011-12-17 11:45:08 +00:00
Artem Pavlenko
0aef7cc55a provide attribute customization point :
template <>
struct is_container<mapnik::geometry_container>
    : mpl::false_
{};

TODO: This is somewhat non-intuitive in this context but
keeps gcc and darwin toolsets happy.
2011-12-17 11:41:24 +00:00
Artem Pavlenko
843411df86 provide attribute customization point :
template <>
struct is_container<mapnik::geometry_container>
    : mpl::false_
{};

TODO: This is somewhat non-intuitive in this context but
keeps gcc and darwin toolsets happy.
2011-12-17 11:41:24 +00:00
Dane Springmeyer
261c9e41e5 temporarily comment to_wkt until we can fix compile with g++ (only works currently with clang++) 2011-12-16 10:07:30 -08:00
Dane Springmeyer
05a09de211 temporarily comment to_wkt until we can fix compile with g++ (only works currently with clang++) 2011-12-16 10:07:30 -08:00
Dane Springmeyer
5357080dc6 c++ style cast 2011-12-16 10:06:18 -08:00
Dane Springmeyer
4b28739274 c++ style cast 2011-12-16 10:06:18 -08:00
Artem Pavlenko
726cea7ba4 Merge branch 'master' into geometry_cleanup 2011-12-14 14:04:30 +00:00
Artem Pavlenko
ed7abc5c51 Merge branch 'master' into geometry_cleanup 2011-12-14 14:04:30 +00:00
Artem Pavlenko
fad6c614e8 remove title, abstract data members from mapnik::rule 2011-12-13 16:47:45 +00:00
Artem Pavlenko
46fea8e890 remove title, abstract data members from mapnik::rule 2011-12-13 16:47:45 +00:00
Artem Pavlenko
bf9dd32e2c remove title,abstract members from layer class 2011-12-13 16:34:10 +00:00
Artem Pavlenko
d24e0436ea remove title,abstract members from layer class 2011-12-13 16:34:10 +00:00
Artem Pavlenko
e228b1143d + support GEOMETRYCOLLECTION in WKT generator 2011-12-13 16:33:27 +00:00
Artem Pavlenko
98e8164ce1 + support GEOMETRYCOLLECTION in WKT generator 2011-12-13 16:33:27 +00:00
Cezary Tarnowski
b438a56ada refactoring following comment on pull request 2011-12-13 15:28:18 +01:00
Cezary Tarnowski
79af8fdbc9 refactoring following comment on pull request 2011-12-13 15:28:18 +01:00
Artem Pavlenko
7e8e600790 + WKT generator for mapnik::geometry_container 2011-12-12 18:19:52 +00:00
Artem Pavlenko
4f1438db01 + WKT generator for mapnik::geometry_container 2011-12-12 18:19:52 +00:00
Cezary Tarnowski
85a55d9fa2 Merge branch 'master' of https://github.com/mapnik/mapnik 2011-12-12 11:29:00 +01:00
Cezary Tarnowski
0882f0e668 Merge branch 'master' of https://github.com/mapnik/mapnik 2011-12-12 11:29:00 +01:00
Artem Pavlenko
4c8bb5c0d5 Merge branch 'master' into geometry_cleanup 2011-12-12 09:20:21 +00:00
Artem Pavlenko
bf4f442b8d Merge branch 'master' into geometry_cleanup 2011-12-12 09:20:21 +00:00
Dane Springmeyer
1c4b67ba98 Merge pull request #916 from kkaefer/grouped-rendering
Grouped rendering
2011-12-11 22:36:22 -08:00
Dane Springmeyer
e5ab14a298 Merge pull request #916 from kkaefer/grouped-rendering
Grouped rendering
2011-12-11 22:36:22 -08:00
Artem Pavlenko
14c3102c31 fix typo 2011-12-09 12:24:51 +00:00
Artem Pavlenko
9d5d52a48f fix typo 2011-12-09 12:24:51 +00:00
Artem Pavlenko
0236a7af27 Merge branch 'master' into geometry_cleanup 2011-12-09 11:43:51 +00:00
Artem Pavlenko
4ca89c4801 Merge branch 'master' into geometry_cleanup 2011-12-09 11:43:51 +00:00
Artem Pavlenko
0d0f9fa0ba SVG generator impl 2011-12-09 11:29:34 +00:00
Artem Pavlenko
05fbb2b646 SVG generator impl 2011-12-09 11:29:34 +00:00
Artem Pavlenko
d700162834 + increase coordinates precision 2011-12-09 11:28:41 +00:00
Artem Pavlenko
9f89ce17a6 + increase coordinates precision 2011-12-09 11:28:41 +00:00
Cezary Tarnowski
8bf359451d Adding support for height as expression for building symbolizer 2011-12-09 12:08:50 +01:00
Cezary Tarnowski
c5eb808059 Adding support for height as expression for building symbolizer 2011-12-09 12:08:50 +01:00
Artem Pavlenko
108d1559c1 Merge branch 'master' into geometry_cleanup 2011-12-08 16:51:21 +00:00
Artem Pavlenko
3a20edbfbd Merge branch 'master' into geometry_cleanup 2011-12-08 16:51:21 +00:00
Artem Pavlenko
446b55fc87 pass const reference 2011-12-08 16:20:04 +00:00
Artem Pavlenko
a5de8154d6 pass const reference 2011-12-08 16:20:04 +00:00
Artem Pavlenko
32ba92d063 fix include 2011-12-08 16:07:51 +00:00
Artem Pavlenko
525fc6ecbc fix include 2011-12-08 16:07:51 +00:00
Artem Pavlenko
f77fb2a530 add bool to_wkt(std::string & wkt, mapnik::geometry_type const& geom) 2011-12-08 15:34:34 +00:00
Artem Pavlenko
3f27b184ba add bool to_wkt(std::string & wkt, mapnik::geometry_type const& geom) 2011-12-08 15:34:34 +00:00
Artem Pavlenko
00e621c8b9 remove unused header 2011-12-08 15:27:26 +00:00
Artem Pavlenko
b923c3679f remove unused header 2011-12-08 15:27:26 +00:00
Artem Pavlenko
bc9fc07d20 rename to reflect 'generator' bit 2011-12-08 15:25:06 +00:00
Artem Pavlenko
495d3eac40 rename to reflect 'generator' bit 2011-12-08 15:25:06 +00:00
Artem Pavlenko
6d0f5c066b boost::spirit::karma based WKT generator 2011-12-08 15:18:01 +00:00
Artem Pavlenko
67180bcc64 boost::spirit::karma based WKT generator 2011-12-08 15:18:01 +00:00
Artem Pavlenko
1941a87de9 initial SVG generator support (TODO) 2011-12-08 15:17:22 +00:00
Artem Pavlenko
9fe561d442 initial SVG generator support (TODO) 2011-12-08 15:17:22 +00:00
Artem Pavlenko
b4c0d9bdee better naming 2011-12-08 15:15:51 +00:00
Artem Pavlenko
8e49054aa6 better naming 2011-12-08 15:15:51 +00:00
Artem Pavlenko
ee404ff8c4 adapt mapnik::geometry_type to work with boost::spirit 2011-12-08 15:12:56 +00:00
Artem Pavlenko
e7faae1069 adapt mapnik::geometry_type to work with boost::spirit 2011-12-08 15:12:56 +00:00
Konstantin Käfer
ac8b4c6d2d Merge branch 'master' into grouped-rendering
Conflicts:
	include/mapnik/feature_type_style.hpp
	src/feature_type_style.cpp
2011-12-07 22:02:29 +01:00
Konstantin Käfer
f7cdee8312 Merge branch 'master' into grouped-rendering
Conflicts:
	include/mapnik/feature_type_style.hpp
	src/feature_type_style.cpp
2011-12-07 22:02:29 +01:00
Artem Pavlenko
00ed6ffd5e Merge branch 'master' into geometry_cleanup 2011-12-07 09:29:41 +00:00
Artem Pavlenko
39507d30f0 Merge branch 'master' into geometry_cleanup 2011-12-07 09:29:41 +00:00
Artem Pavlenko
283e2066e9 fix missing qualifier 2011-12-07 09:16:24 +00:00
Artem Pavlenko
0aab8c0944 fix missing qualifier 2011-12-07 09:16:24 +00:00
Dane Springmeyer
59d0e306cf include <cstring> to std::memcpy on linux - refs #76 and closes #987 2011-12-06 16:57:34 -08:00
Dane Springmeyer
a016dbe2c7 include <cstring> to std::memcpy on linux - refs #76 and closes #987 2011-12-06 16:57:34 -08:00
Artem Pavlenko
77adf6cec6 + make geometry noncopyable
+ make ctor explicit
2011-12-06 16:25:30 +00:00
Artem Pavlenko
9f27706e81 + make geometry noncopyable
+ make ctor explicit
2011-12-06 16:25:30 +00:00
Artem Pavlenko
7209988fb0 Simplify geometry model to support: Point/LineString/Polygon
Multi geometries are collections of single geometries
Remove multiple_geometries parameter
2011-12-06 12:53:16 +00:00
Artem Pavlenko
cc60b74921 Simplify geometry model to support: Point/LineString/Polygon
Multi geometries are collections of single geometries
Remove multiple_geometries parameter
2011-12-06 12:53:16 +00:00
Artem Pavlenko
77ddcaf81b implement vertex_iterator on vertex_vector 2011-12-06 11:19:24 +00:00
Artem Pavlenko
2c9e151c41 implement vertex_iterator on vertex_vector 2011-12-06 11:19:24 +00:00
Artem Pavlenko
91617e7b21 cleanup typedefs, changed template params: vertex_type -> coord_type 2011-12-06 11:17:14 +00:00
Artem Pavlenko
d09fe46a04 cleanup typedefs, changed template params: vertex_type -> coord_type 2011-12-06 11:17:14 +00:00
Artem Pavlenko
2b05d69fef fix typedef names, expose value_type 2011-12-06 11:15:37 +00:00
Artem Pavlenko
a4e08da00b fix typedef names, expose value_type 2011-12-06 11:15:37 +00:00
Artem Pavlenko
b8ce995acd better typedef names
remove unused header
2011-12-06 10:34:25 +00:00
Artem Pavlenko
2d95518b22 better typedef names
remove unused header
2011-12-06 10:34:25 +00:00
Artem Pavlenko
4e57134c8c geometry type is known at this stage. 2011-12-06 09:04:44 +00:00
Artem Pavlenko
b8bd9676fc geometry type is known at this stage. 2011-12-06 09:04:44 +00:00
Artem Pavlenko
a0f216a7cd + fix spelling 2011-12-05 15:04:54 +00:00
Artem Pavlenko
a4f024bfd2 + fix spelling 2011-12-05 15:04:54 +00:00
Artem Pavlenko
c683be63d2 Merge remote-tracking branch 'origin/master' 2011-12-05 14:28:03 +00:00
Artem Pavlenko
42fb73a41e Merge remote-tracking branch 'origin/master' 2011-12-05 14:28:03 +00:00
Artem Pavlenko
5335a144bd vertex iterator implementation (forward traversal) 2011-12-05 14:23:20 +00:00
Artem Pavlenko
10cc71834a vertex iterator implementation (forward traversal) 2011-12-05 14:23:20 +00:00
kunitoki
d6cbdd3412 Merge branch 'master' of github.com:mapnik/mapnik 2011-12-05 11:12:02 +01:00
kunitoki
b883f4ad75 Merge branch 'master' of github.com:mapnik/mapnik 2011-12-05 11:12:02 +01:00
kunitoki
784ec6f22e - initial implementation of the geotiff output by using libgeotiff, not complete (issue #967) 2011-12-05 11:10:13 +01:00
kunitoki
e5ba275794 - initial implementation of the geotiff output by using libgeotiff, not complete (issue #967) 2011-12-05 11:10:13 +01:00
Dane Springmeyer
fde9d9c0b7 fix compile on linux by adding <cstdio> include - thx misterboo for report - closes #978 2011-12-03 13:50:26 -08:00
Dane Springmeyer
1b4b0e6eb0 fix compile on linux by adding <cstdio> include - thx misterboo for report - closes #978 2011-12-03 13:50:26 -08:00
Dane Springmeyer
60de1c80cd add support for arbitrary, custom parameters to be attached to the map during load and serialized when saved - refs #977 2011-12-02 17:48:09 -08:00
Dane Springmeyer
b03ce6e607 add support for arbitrary, custom parameters to be attached to the map during load and serialized when saved - refs #977 2011-12-02 17:48:09 -08:00
Dane Springmeyer
437f71cdef allow mapnik::value_holder to store nulls, mainly to make it possible to return PyNone in python bindings 2011-12-02 17:01:38 -08:00
Dane Springmeyer
744eca6555 allow mapnik::value_holder to store nulls, mainly to make it possible to return PyNone in python bindings 2011-12-02 17:01:38 -08:00
Artem Pavlenko
797477de51 geometry to wkb initial implementation 2011-12-02 16:33:50 +00:00
Artem Pavlenko
4659a4d697 geometry to wkb initial implementation 2011-12-02 16:33:50 +00:00
kunitoki
e011cab6e0 - initial support for producing maps as tiff files (should be pretty straightforward to implement geotiff from here) 2011-11-28 16:59:19 +01:00
kunitoki
b0d0c97544 - initial support for producing maps as tiff files (should be pretty straightforward to implement geotiff from here) 2011-11-28 16:59:19 +01:00