Dane Springmeyer
16aae90bfc
iwyu
2012-12-16 12:50:36 -08:00
Dane Springmeyer
ce03b3599b
expose svg output for geometries - refs #1437 (TODO: support svg_multi_generator)
2012-08-22 19:13:37 -07:00
artemp
f24641e802
+ add envelope() method to mapnik.Path
2012-08-17 16:53:43 +01:00
artemp
258ea94d8d
+ add_geojson and from_geojson methods
...
+ add_wkb,from_wkb throw RuntimeError
+ cleanups
2012-08-17 12:48:41 +01:00
artemp
7cfdfde247
+ call Py_RETURN_NONE macro to properly handle returning Py_None
...
(http://docs.python.org/c-api/none.html ) - thanks, @lightmare!
2012-08-07 15:43:40 +01:00
artemp
9da9ffadc1
+ don't crash on empty paths
2012-08-07 14:47:28 +01:00
Dane Springmeyer
e36081a5c0
change geometry_utils::from_wkb to return a bool that signifies if at least one wkb path was parsed - refs #1333 and #1305
2012-07-20 15:09:01 -07:00
Dane Springmeyer
d9880efd6e
avoid compiler warning on unsigned/signed comparison
2012-06-26 11:23:26 -07:00
kunitoki
1f351e0e09
implement new debug system
2012-04-08 02:20:56 +02:00
Artem Pavlenko
f20007a965
+ add to_geojson() method to mapnik.Path
2012-02-20 12:05:11 +00:00
Dane Springmeyer
f310148337
whitespace fixes (using format_source_files.sh)
2012-02-01 17:30:26 -08:00
Dane Springmeyer
baa0fa37b4
fix compile with older boost
2012-01-06 16:22:39 -08:00
Dane Springmeyer
5b36ac6f47
fix compile with older boost - fixes #1007
2012-01-05 16:45:12 -08:00
Artem Pavlenko
db9021b929
+ add to_wkb method for mapnik.Path object
...
+ reflect byte order enum in Python : mapnik.wkbByteOrder.XDR|NDR
+ refactor boost_version to avoid duplicatiuon
2012-01-05 11:56:38 +00:00
Artem Pavlenko
7e8e600790
+ WKT generator for mapnik::geometry_container
2011-12-12 18:19:52 +00:00
Artem Pavlenko
4a29caf96f
Merge branch 'master' into geometry_cleanup
2011-12-09 09:29:07 +00:00
Dane Springmeyer
3ed2133e39
maintain boost 1.42 compatibility (fixes nighly debian builds on lucid,maverick,and natty
2011-12-08 17:13:41 -08:00
Artem Pavlenko
108d1559c1
Merge branch 'master' into geometry_cleanup
2011-12-08 16:51:21 +00:00
Artem Pavlenko
cb4152c280
add to_wkt method
2011-12-08 16:08:15 +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
Dane Springmeyer
742fb891e6
python: fixup mapnik.Path interface ( closes #901 ), add to_wkb method ( closes #831 ), and add tests for both
2011-12-02 19:22:04 -08:00
Dane Springmeyer
39d199aa49
code formatting
2011-11-13 19:54:32 -08:00
Dane Springmeyer
e0e47f50dd
remove area as it is unused (not needed by anything yet) - closes #846
2011-10-21 15:55:58 -07:00
Artem Pavlenko
911981aefd
+ various win32 fixes, mainly adding extra namespace qualifiers
...
for vc++10, MAPNIK_DECL ...
2011-10-19 15:29:24 +01:00
Artem Pavlenko
12b6aceeee
+ add __len__ method
2011-09-13 13:23:23 +00:00
Artem Pavlenko
1fa78f32e0
+ add unified interface to mapnik2.Feature:
...
add_geometries_from_wkt
add_geometries_from_wkb
and mapnik2.Path :
from_wkt
from_wkb
TODO: integrate mapnik2.Path with mapnik2.Feature (mapnik 2.1)
2011-09-13 11:54:12 +00:00
Artem Pavlenko
6575e34973
+ add initial support for new WKT path/geometry parser concept
2011-09-08 11:52:59 +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
Artem Pavlenko
7bb37ebee0
+ use Geometry2d to be compatible
2010-11-04 22:42:16 +00:00
Artem Pavlenko
ab101401cd
+ simplify geometry implementation
...
+ removed multiple geometry typedefs
+ use geometry_type
+ revert to storing vertices in vector_vertex
(previous implementation using std::vector was
fragmenting heap causing performance issues with large geometries)
+ FIXME: hit_test is broken!
2010-11-03 13:19:15 +00:00
Artem Pavlenko
246731874b
+ apply 'mapnik-format' to *.cpp *.hpp
2010-06-02 11:03:30 +00:00
Artem Pavlenko
9a75034a88
+ applied python_point_datasource.patch from lwu
2009-01-13 00:56:09 +00:00