Commit graph

13102 commits

Author SHA1 Message Date
Dane Springmeyer
8045d32608 mapnik-config: correctly honor any customization of the fonts path such as passing SYSTEM_FONTS 2010-11-16 23:22:51 +00:00
Lucio Asnaghi
bb547f592b + improve occi plugin to determine automaticalle the geometry_field by querying the metadata table ( closes #276 )
+ changed the metadata table to use USER_SDO_* instead of ALL_SDO_* which can cause permission problems
2010-11-16 22:32:07 +00:00
Dane Springmeyer
9cdfce0f04 fixup the inline geojson example 2010-11-16 22:03:34 +00:00
Lucio Asnaghi
650986b279 + improved occi plugin
+ ability to import collections and multi-geometries correctly
+ added a parameter to control the usage of the connection pool
+ added more verbosity in debug mode, to report wrong enums
2010-11-16 17:31:13 +00:00
Lucio Asnaghi
03ce43f805 + make a proper bind (no ogr calls outside)
+ implement dane suggestion about using string for json datasource
+ small cosmetics
2010-11-16 17:14:22 +00:00
Lucio Asnaghi
31d170c8a6 + fixed a compiler warning 2010-11-16 17:12:28 +00:00
Dane Springmeyer
0d15c55e14 add test map for inline geojson (fails currently due to relative paths mucking - likely need to pass extra param for 'string' input rather than file) 2010-11-16 08:21:57 +00:00
Dane Springmeyer
46fe1e3e7c fix argument name of mapnik-config so that we can query input-plugins 2010-11-15 22:14:43 +00:00
Lucio Asnaghi
cfb1d5a23e + fixed a problem in occi plugin when determining the table_name 2010-11-15 18:09:29 +00:00
Lucio Asnaghi
4b81b977b4 + sqlite datasource query fix when using select sub-queries 2010-11-15 11:06:21 +00:00
Lucio Asnaghi
ac801219ba + occi: forgot a namespace 2010-11-15 09:30:06 +00:00
Lucio Asnaghi
e0363a6bbe + occi plugin: fix table_from_sql namespace
+ occi plugin: space cosmetics
2010-11-15 09:25:06 +00:00
Dane Springmeyer
73270bd76b translate a C++ mapnik::value_error into a python ValueError 2010-11-15 03:30:23 +00:00
Dane Springmeyer
a30e674749 tests for Box2d.from_string() 2010-11-15 03:27:04 +00:00
Dane Springmeyer
58c72fc1c9 reflect new box2d<double>from_bbox() function in python, and add a new value_error class to represent parsing errors (TODO: translate in python to ValueError and throw from other parsers like expression and color) 2010-11-15 03:21:43 +00:00
Dane Springmeyer
6cda2b7d96 avoid compiler error 2010-11-15 03:17:38 +00:00
Dane Springmeyer
826282a47f check for the existance of a shape index before trying to open it 2010-11-15 03:16:23 +00:00
Lucio Asnaghi
128a7ddc5b + aligned postgis to use the new box2d::from_string
+ added some new parameters toallow setting "gid" (geometry id), "field_data" (additional text data with the geometry), "field_name" (name of the additional text data field)
+ added proper usage of extent and coord2d selections in spatial queries
+ cosmetics
2010-11-14 15:02:01 +00:00
Lucio Asnaghi
4d04901c0b + cosmetics 2010-11-14 14:58:29 +00:00
Lucio Asnaghi
cffa0a07d6 + aligned postgis to use the new box2d::from_string
+ thrash usage of static string for datasource name
2010-11-14 14:56:35 +00:00
Lucio Asnaghi
0d895b1e59 + avoid usage of static string where it's not needed 2010-11-14 14:55:21 +00:00
Lucio Asnaghi
68cbb51814 + fixed a problem in getting GetColorEntry in RGB datasets
+ cosmetics
2010-11-14 14:54:28 +00:00
Lucio Asnaghi
973aaf1247 + aligned sqlite to use the new box2d::from_string
+ thrash usage of static string for datasource name
2010-11-14 14:51:04 +00:00
Lucio Asnaghi
dfdfe15853 + avoid usage of static string where it's not needed 2010-11-14 14:49:42 +00:00
Lucio Asnaghi
fc5f234567 + thrashed unused static string 2010-11-14 14:48:48 +00:00
Lucio Asnaghi
b7414ee1f9 + aligned kismet to use the new box2d::from_string 2010-11-14 14:46:44 +00:00
Lucio Asnaghi
ddb6cfdcba + aligned occi to use the new box2d::from_string 2010-11-14 14:43:49 +00:00
Lucio Asnaghi
f24d329cac - cosmetics 2010-11-14 14:41:49 +00:00
Lucio Asnaghi
86a248d443 - leverage building extent (box2d) from string: multiple usage in datasources 2010-11-14 14:38:43 +00:00
Dane Springmeyer
767a500528 fix json test and add json from string test 2010-11-14 09:32:55 +00:00
Dane Springmeyer
471288a37e add a few stylesheets that test reading json and osm files 2010-11-14 08:56:42 +00:00
Dane Springmeyer
d7a0f2ab7e svn ignores 2010-11-14 08:54:15 +00:00
Dane Springmeyer
d837904cb0 svn ignores 2010-11-14 08:51:44 +00:00
Dane Springmeyer
8474b45ce5 honor custom ldflags when building the rundemo app 2010-11-14 08:38:38 +00:00
Dane Springmeyer
f9d229c7dc postgis: also split extent string on spaces 2010-11-14 08:34:33 +00:00
Dane Springmeyer
84a8590964 remove const which has no effect here 2010-11-14 08:32:41 +00:00
Dane Springmeyer
592765d39c osm plugin: make sure to read in data from new file - closes #542 2010-11-13 21:43:38 +00:00
Lucio Asnaghi
2241f9adea cosmetics 2010-11-13 20:21:21 +00:00
Lucio Asnaghi
9e0c5b0769 cosmetics 2010-11-13 20:20:38 +00:00
Alberto Valverde
2d329799ef typo 2010-11-12 22:45:24 +00:00
Lucio Asnaghi
796740f56b - killed a couple of debug statements in geos converter 2010-11-12 22:12:58 +00:00
Alberto Valverde
51d8df72f9 attempt at fixing geometry::hit_test() 2010-11-12 22:11:31 +00:00
Lucio Asnaghi
d24ed6cdf9 + fix geos geometry converter bugs 2010-11-12 22:11:13 +00:00
Lucio Asnaghi
bed8bcf84f - improved geos plugin. first results available 2010-11-12 21:18:53 +00:00
Lucio Asnaghi
2cc9435576 - forgot to declare a namespace (oops!) 2010-11-12 00:31:04 +00:00
Lucio Asnaghi
07f455ebaa + use mapnik::table_from_sql in sqlite and occi plugins (after change r2337 thanx to dane) 2010-11-12 00:12:47 +00:00
Dane Springmeyer
385ad05205 create an sql_utils header for all sql-based plugins to be able to leverage, and move the postgis table_from_sql function into it 2010-11-11 16:33:30 +00:00
Dane Springmeyer
18d77f0f6c add a function in python to check for the existance of metawriters on the map 2010-11-10 18:40:23 +00:00
Artem Pavlenko
d5f0a497a8 + auto detect paths orientation
+ not need to set clip box on rasterizer it's
  already set (fixes gap when label is overlapping border)
2010-11-10 14:40:05 +00:00
Lucio Asnaghi
e53b490167 - added verbose option to shapeindex 2010-11-10 11:55:22 +00:00