Commit graph

3245 commits

Author SHA1 Message Date
Artem Pavlenko
a4e08da00b fix typedef names, expose value_type 2011-12-06 11:15:37 +00:00
Artem Pavlenko
2d95518b22 better typedef names
remove unused header
2011-12-06 10:34:25 +00:00
Artem Pavlenko
b8bd9676fc geometry type is known at this stage. 2011-12-06 09:04:44 +00:00
Dane Springmeyer
1e8a5b58b4 only serialize Parameters if one or more exist 2011-12-05 18:22:25 -08:00
Dane Springmeyer
f0241c0170 fully spell out parameters on the map object - refs #977 2011-12-05 18:05:35 -08:00
Dane Springmeyer
b78b8e735b add ability to have typed arbitrary parameters in xml - refs #977 2011-12-05 14:46:38 -08:00
Dane Springmeyer
cb504ea4c9 osm plugin: report a decent error if the .osm file is not found 2011-12-05 14:30:55 -08:00
Dane Springmeyer
1d30cb5698 add basic tests for osm plugin 2011-12-05 14:30:18 -08:00
Dane Springmeyer
70a191e8d7 ogr plugin: throw if non-existant fields are queried - refs #792 2011-12-05 13:57:00 -08:00
Dane Springmeyer
7c0bceb6de tests: ensure ogr plugin throws on non-existant field names (currently fails) - refs #792 2011-12-05 13:33:37 -08:00
Dane Springmeyer
df64c1690c add tests for reading shapefiles via ogr 2011-12-05 13:32:37 -08:00
Dane Springmeyer
75190a7050 tests: test sqlite error behavior on non-existant fields - refs #984/#792 2011-12-05 13:24:11 -08:00
Dane Springmeyer
d5252187d3 sqlite: ensure non-existant columns requested in query prompt error by switching quoting character to brackets - closes #984 - refs #792 2011-12-05 13:22:00 -08:00
Dane Springmeyer
9cb1c9c7f7 tests: ensure shapefile plugin throws if invalid query is made - refs #792 2011-12-05 12:17:30 -08:00
Dane Springmeyer
0191f9c012 tests: ensure postgis plugin throws if invalid query is made - refs #792 2011-12-05 12:11:59 -08:00
Dane Springmeyer
37fee4b674 csv plugin: ensure that the datasource throws if invalid attributes are queried to keep consistent with other datasource - refs #792 2011-12-05 12:03:38 -08:00
Artem Pavlenko
a4f024bfd2 + fix spelling 2011-12-05 15:04:54 +00:00
Artem Pavlenko
42fb73a41e Merge remote-tracking branch 'origin/master' 2011-12-05 14:28:03 +00:00
Artem Pavlenko
10cc71834a vertex iterator implementation (forward traversal) 2011-12-05 14:23:20 +00:00
kunitoki
b883f4ad75 Merge branch 'master' of github.com:mapnik/mapnik 2011-12-05 11:12:02 +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
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
a4352a3162 only warn if plugin has no declared name - to avoid warnings on double registration of valid plugins 2011-12-02 19:33:38 -08:00
Dane Springmeyer
8168cf0f96 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
e991f3c94e fixup tests around parameters usage 2011-12-02 18:00:20 -08:00
Dane Springmeyer
ad41bca19a python: refactor interface to mapnik::parameters using poor man's indexingapproach - long term todo is merge mapnik::value_holder and mapnik::value to make this cleaner - refs #976 2011-12-02 17:59:57 -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
dcae156e92 do not need to point to reference 2011-12-02 17:02:20 -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
Dane Springmeyer
f108349f56 tests: move pickling to separate test 2011-12-02 15:21:35 -08:00
Dane Springmeyer
86459388c1 python: make feature attribute access more pythonic 2011-12-02 15:08:56 -08:00
Dane Springmeyer
8a4ba70c48 python: remove unneeded header for mapnik_feature.cpp 2011-12-02 13:38:10 -08:00
Dane Springmeyer
aaa5d30c64 python: use value_convertor to handle mapnik::parameter value_holder variant 2011-12-02 13:37:26 -08:00
Dane Springmeyer
4d5623c1d1 tests: postgis tests are optional, so be much less verbose if they cannot be automatically run 2011-12-02 12:35:31 -08:00
Dane Springmeyer
b1c43ba081 add to ignores 2011-12-02 11:27:51 -08:00
Artem Pavlenko
977c50d459 output all attributes 2011-12-02 17:18:28 +00:00
Artem Pavlenko
c5adf240b0 add geometry_to_wkb test utililty 2011-12-02 16:34:22 +00:00
Artem Pavlenko
4659a4d697 geometry to wkb initial implementation 2011-12-02 16:33:50 +00:00
Artem Pavlenko
1627046943 add include/mapnik/util target 2011-12-02 16:33:07 +00:00
Dane Springmeyer
3061ebabae pass on rtree count test if pysqlite3 does not support rtree - refs https://github.com/mapnik/mapnik-packaging/issues/8 2011-11-30 19:15:11 -08:00
Dane Springmeyer
bb0d204279 print warning if the plugin cannot be loaded as it is lacking an interface 2011-11-30 18:10:10 -08:00
Dane Springmeyer
6f3860d658 clean up impl of attr checking for warnings - no functional change just simplified 2011-11-30 16:48:01 -08:00
Dane Springmeyer
c3ebf0e332 use tempfile modules to construct temporary paths (which should be compatible with windows) 2011-11-29 18:15:25 -08:00
Artem Pavlenko
afa08b07a8 use explicit conversions 2011-11-29 14:36:39 +00:00
Artem Pavlenko
35ed07bab3 Merge branch 'master', remote-tracking branch 'origin' 2011-11-29 11:20:30 +00:00
Artem Pavlenko
4d849e15d8 add 'tiff' output to python/c++ demos 2011-11-29 11:13:27 +00:00
kunitoki
2150c2f4d5 - updated changelog for tiff support 2011-11-28 17:47:16 +01:00
kunitoki
9618c36ebb - palette not supported in tiff images (yet) 2011-11-28 17:18:30 +01:00
kunitoki
7451846edb Merge branch 'master' of github.com:mapnik/mapnik 2011-11-28 17:07:37 +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