Commit graph

3087 commits

Author SHA1 Message Date
Dane Springmeyer
71b281e1cc osm plugin: report a decent error if the .osm file is not found 2011-12-05 14:30:55 -08:00
Dane Springmeyer
dbce93669a add basic tests for osm plugin 2011-12-05 14:30:18 -08:00
Dane Springmeyer
2fa5bf191a ogr plugin: throw if non-existant fields are queried - refs #792 2011-12-05 13:57:00 -08:00
Dane Springmeyer
e3e0755f70 tests: ensure ogr plugin throws on non-existant field names (currently fails) - refs #792 2011-12-05 13:33:37 -08:00
Dane Springmeyer
d836571a8d add tests for reading shapefiles via ogr 2011-12-05 13:32:37 -08:00
Dane Springmeyer
1f2a55172e tests: test sqlite error behavior on non-existant fields - refs #984/#792 2011-12-05 13:24:11 -08:00
Dane Springmeyer
17852d5140 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
bc63c9b589 tests: ensure shapefile plugin throws if invalid query is made - refs #792 2011-12-05 12:17:30 -08:00
Dane Springmeyer
9be619cee4 tests: ensure postgis plugin throws if invalid query is made - refs #792 2011-12-05 12:11:59 -08:00
Dane Springmeyer
ddeca1e81e 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
c683be63d2 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
kunitoki
d6cbdd3412 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
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
9d4290f686 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
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
1d408aa485 fixup tests around parameters usage 2011-12-02 18:00:20 -08:00
Dane Springmeyer
bc002c1b8e 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
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
4c1d5ef5b6 do not need to point to reference 2011-12-02 17:02:20 -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
8d3b990fbd tests: move pickling to separate test 2011-12-02 15:21:35 -08:00
Dane Springmeyer
00707d02ff python: make feature attribute access more pythonic 2011-12-02 15:08:56 -08:00
Dane Springmeyer
7abee1fd47 python: remove unneeded header for mapnik_feature.cpp 2011-12-02 13:38:10 -08:00
Dane Springmeyer
982d8fb321 python: use value_convertor to handle mapnik::parameter value_holder variant 2011-12-02 13:37:26 -08:00
Dane Springmeyer
14327b913d 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
6bee6e2aa2 add to ignores 2011-12-02 11:27:51 -08:00
Artem Pavlenko
96d4958170 output all attributes 2011-12-02 17:18:28 +00:00
Artem Pavlenko
55f5fed310 add geometry_to_wkb test utililty 2011-12-02 16:34:22 +00:00
Artem Pavlenko
797477de51 geometry to wkb initial implementation 2011-12-02 16:33:50 +00:00
Artem Pavlenko
938d29018d add include/mapnik/util target 2011-12-02 16:33:07 +00:00
Dane Springmeyer
4c4e4ab9e9 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
2626f81a45 print warning if the plugin cannot be loaded as it is lacking an interface 2011-11-30 18:10:10 -08:00
Dane Springmeyer
c731797c53 clean up impl of attr checking for warnings - no functional change just simplified 2011-11-30 16:48:01 -08:00
Dane Springmeyer
2037cb0d46 use tempfile modules to construct temporary paths (which should be compatible with windows) 2011-11-29 18:15:25 -08:00
Artem Pavlenko
a842565915 use explicit conversions 2011-11-29 14:36:39 +00:00
Artem Pavlenko
50743bcc6e Merge branch 'master', remote-tracking branch 'origin' 2011-11-29 11:20:30 +00:00
Artem Pavlenko
40da9e5618 add 'tiff' output to python/c++ demos 2011-11-29 11:13:27 +00:00
kunitoki
68356d5d4e - updated changelog for tiff support 2011-11-28 17:47:16 +01:00
kunitoki
3b3ff2e927 - palette not supported in tiff images (yet) 2011-11-28 17:18:30 +01:00
kunitoki
cb455625f1 Merge branch 'master' of github.com:mapnik/mapnik 2011-11-28 17:07:37 +01: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
Artem Pavlenko
11163e4053 Merge pull request #963 from oesmith/master
Layer envelope calculation fixes - thanks, Olly!
2011-11-25 01:39:52 -08:00
Olly Smith
9fd6b0d97e Use PROJ_ENVELOPE_POINTS for forward projection in bbox calcs too. 2011-11-24 14:45:33 +00:00
kunitoki
ab8826871c Merge branch 'master' of github.com:mapnik/mapnik 2011-11-24 12:34:28 +01:00
kunitoki
02a84159f7 - added a missing file in linux project 2011-11-24 12:33:59 +01:00
Dane Springmeyer
01b0c0b15a catch a few more mapnik2 references 2011-11-23 20:35:43 -08:00
Dane Springmeyer
3197c3e9ab pluck changelog entries for ogcserver - no longer relevant 2011-11-23 20:32:11 -08:00
Dane Springmeyer
7b6696ff06 remove last traces of ogcserver 2011-11-23 20:30:53 -08:00