Commit graph

3909 commits

Author SHA1 Message Date
Artem Pavlenko
5c6fdc780f return member variable by const reference 2012-01-26 13:07:28 +00:00
Artem Pavlenko
36a23367a6 + fix compilation issues 2012-01-26 13:05:41 +00:00
Artem Pavlenko
d1f16bb227 merge textplacement-merge into feature_impl 2012-01-26 13:04:08 +00:00
Artem Pavlenko
ba674c89e9 Merge branch 'feature_impl' of github.com:mapnik/mapnik into feature_impl 2012-01-25 20:25:45 +00:00
Artem Pavlenko
06e91a56c6 remove <config.hpp> 2012-01-25 20:21:06 +00:00
Artem Pavlenko
d146bcc380 Merge branch 'master' into feature_impl 2012-01-25 10:04:03 +00:00
Hermann Kraus
0c5fc9f246 Merge pull request #1050 from rfw/text-placements-python
Add text placements to Python API.
2012-01-24 18:11:13 -08:00
Tony Young
d0d692cb82 Add text placements to Python API. 2012-01-25 12:57:26 +13:00
Dane Springmeyer
4cb9aa44b5 update tests to python api for features 2012-01-24 15:16:40 -08:00
Artem Pavlenko
c88d7e723d + access feature_kv_iterator directly on mapnik::Feature::begin()/end()
+ avoid using 'feature' as variable name as mapnik::Feature will be renamed to mapnik::feature
+ revert 'describe' to 'attributes' (original name fits better in this context I think)
+ make attributes a Puython property
2012-01-24 14:48:30 +00:00
Artem Pavlenko
79d44e1bf8 Merge branch 'feature_impl' of github.com:mapnik/mapnik into feature_impl 2012-01-24 14:39:13 +00:00
Artem Pavlenko
75024c3fa1 Merge branch 'master' into feature_impl 2012-01-24 12:48:19 +00:00
Artem Pavlenko
19deb86591 append connection string to connection error message 2012-01-24 12:36:33 +00:00
Dane Springmeyer
e542e90fcf get most of the tests passing 2012-01-24 00:27:44 -08:00
Dane Springmeyer
803a705774 add a method to get simple dictionary of feature attributes, remove old/deprecated feature access 2012-01-24 00:27:27 -08:00
Dane Springmeyer
aa6da2dce9 collect context before featureset creation in sqlite 2012-01-23 23:51:31 -08:00
Dane Springmeyer
62cf7cb2fe no need for collecting size in postgis plugin 2012-01-23 23:50:50 -08:00
Dane Springmeyer
c576291346 push value into context for gdal plugin 2012-01-23 23:50:24 -08:00
Artem Pavlenko
4b22636f3b initial implementation of multipolygon labeling strategy
based on ordering by bounding box.

TODO : sync with https://github.com/herm/mapnik/tree/textplacement
2012-01-23 16:00:55 +00:00
Artem Pavlenko
663b4adfa2 feature_impl : add get paths by const reference method
python : fix helper functions declarations
2012-01-23 14:22:14 +00:00
Artem Pavlenko
b89f5cbbbc update pdsql2sqlite to new feature_impl 2012-01-23 08:40:16 +00:00
Artem Pavlenko
4f48cce42e push column names into context_type 2012-01-23 08:39:22 +00:00
Artem Pavlenko
747597d7ed Merge branch 'feature_impl' of github.com:mapnik/mapnik into feature_impl 2012-01-20 13:08:21 -05:00
Artem Pavlenko
54941d2893 + refactor attribute validating
+ fix context in feature_at_point
2012-01-20 12:29:17 -05:00
Artem Pavlenko
07a1b420cc + refactor attribute validating
+ fix context in feature_at_point
2012-01-20 12:29:17 -05:00
Artem Pavlenko
1f98e0ce4e + fix context init
+ cleanup
2012-01-20 11:07:29 -05:00
Artem Pavlenko
e49fcb83b1 + fix context init
+ cleanup
2012-01-20 11:07:29 -05:00
Artem Pavlenko
bae5bd292f move building_symbolizer into separate hpp/cpp 2012-01-19 18:26:15 -05:00
Artem Pavlenko
748adf8229 move building_symbolizer into separate hpp/cpp 2012-01-19 18:26:15 -05:00
Artem Pavlenko
6d6f213c8f Merge branch 'feature_impl' of github.com:mapnik/mapnik into feature_impl 2012-01-19 17:38:49 -05:00
Artem Pavlenko
9bb9a34323 Merge branch 'feature_impl' of github.com:mapnik/mapnik into feature_impl 2012-01-19 17:38:49 -05:00
Artem Pavlenko
7601095e24 move context's typedef inside to avoid poluting global namespace 2012-01-19 17:36:27 -05:00
Artem Pavlenko
a0557cc360 move context's typedef inside to avoid poluting global namespace 2012-01-19 17:36:27 -05:00
Artem Pavlenko
3e016f52e7 add __getitem__(self, index) 2012-01-19 16:57:46 -05:00
Artem Pavlenko
348548c8c9 add __getitem__(self, index) 2012-01-19 16:57:46 -05:00
Artem Pavlenko
29e8bcc47c add method to access attribute values by index 2012-01-19 16:57:15 -05:00
Artem Pavlenko
0a29fc6df4 add method to access attribute values by index 2012-01-19 16:57:15 -05:00
Dane Springmeyer
06973ddbe2 Merge branch 'feature_impl' of github.com:mapnik/mapnik into feature_impl 2012-01-19 16:34:38 -05:00
Dane Springmeyer
5101ac8c3b Merge branch 'feature_impl' of github.com:mapnik/mapnik into feature_impl 2012-01-19 16:34:38 -05:00
Dane Springmeyer
9097ea0ceb update sqlite and osm datasources to new feature impl 2012-01-19 16:34:33 -05:00
Dane Springmeyer
6845113fdb update sqlite and osm datasources to new feature impl 2012-01-19 16:34:33 -05:00
Artem Pavlenko
abab5a5039 Merge branch 'feature_impl' of github.com:mapnik/mapnik into feature_impl 2012-01-19 16:12:11 -05:00
Artem Pavlenko
cc9db7c7d3 Merge branch 'feature_impl' of github.com:mapnik/mapnik into feature_impl 2012-01-19 16:12:11 -05:00
Artem Pavlenko
096082ba9b Merge branch 'master' into feature_impl 2012-01-19 16:11:03 -05:00
Artem Pavlenko
f5e4df18a0 Merge branch 'master' into feature_impl 2012-01-19 16:11:03 -05:00
Dane Springmeyer
04f75ce994 Merge branch 'master' of github.com:mapnik/mapnik into feature_impl 2012-01-19 12:58:13 -05:00
Dane Springmeyer
becbbdfc23 Merge branch 'master' of github.com:mapnik/mapnik into feature_impl 2012-01-19 12:58:13 -05:00
Artem Pavlenko
e7fdf1fa51 more files... 2012-01-19 12:57:34 -05:00
Artem Pavlenko
6dc4aaac9d more files... 2012-01-19 12:57:34 -05:00
Dane Springmeyer
0219d250e0 Merge branch 'master' of github.com:mapnik/mapnik into feature_impl 2012-01-19 12:55:20 -05:00