Commit graph

2367 commits

Author SHA1 Message Date
Lucio Asnaghi
bc43899990 + use wkb feature of GEOS (avoid converting geometries manually): results are 3%-8% faster code.
+ avoid error when calculating the envelope of a point
+ clog debug cosmetics
2010-11-18 22:12:39 +00:00
Lucio Asnaghi
ba034abb1f + support of WKB geometry collection 2010-11-18 21:52:20 +00:00
Lucio Asnaghi
23e1904dca + fixed bad errors when parsing wkb 2010-11-18 20:33:45 +00:00
Lucio Asnaghi
0ecd0676a5 + occi: fix typo error when specifying metadata table query
+ occi: add the <srid> parameter, which when is set togheter with <geometry_field> allows to not query the metadata table at all (saving a huge amount of time when rendering lot of tiles!)
2010-11-18 14:24:19 +00:00
Lucio Asnaghi
91fb08fbff + parameter to specify the query columns use when getting back geaometries:
useful when you have big tables and you don't want to query long fields (long varchar2, blobs, anydata, clobs) which may cause slowdowns
2010-11-18 14:02:09 +00:00
Dane Springmeyer
20ffa2e7e6 scons: wow, libtool version reporting. fun 2010-11-17 21:31:42 +00:00
Dane Springmeyer
3b541414ab scons: more robust regex for detecting libtool version 2010-11-17 21:11:37 +00:00
Dane Springmeyer
f7784fd6a7 scons: move to regex for more robust libtool version detection 2010-11-17 20:23:28 +00:00
Dane Springmeyer
1114172e3e scons: add libtool version check 2010-11-17 19:53:13 +00:00
Dane Springmeyer
0b1d68f1f6 if libtool >=2.x.x is available, utilize the ability to set dlopen flags, so that plugins can be registered on linux without direct linking or modifying dlopen flags at runtime (like we currently do in python bindings) 2010-11-17 19:45:51 +00:00
Dane Springmeyer
4060f80841 expose the SVN_REVISION in mapnik-config 2010-11-17 19:43:03 +00:00
Dane Springmeyer
a17c91c647 append input/ dir 2010-11-16 23:59:03 +00:00
Dane Springmeyer
704596ff97 fix input_plugins variable 2010-11-16 23:57:16 +00:00
Dane Springmeyer
4068eca05c typo 2010-11-16 23:53:06 +00:00
Dane Springmeyer
86e2fb3f31 actually catch the SYSTEM_FONTS variable this time 2010-11-16 23:50:51 +00:00
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