Commit graph

7155 commits

Author SHA1 Message Date
Lucio Asnaghi
af3fa7dc76 + sqlite.input: whitespace fix
+ occi.input: added table_from_sql to allow specify SELECT statements in table parameter
+ occi.input: added use_spatial_index parameter (on by default)
+ occi.input: improved determination of query columns type
2009-02-24 09:58:31 +00:00
Artem Pavlenko
9b4b249555 + create table if not exists
+ use OGC_FID instead of PK_UID
2009-02-23 23:44:42 +00:00
Artem Pavlenko
2cb4265091 + revert to "limit 1" logic
+ discard everything after table name when building 
  table descriptor to avoid seq scan
2009-02-23 23:26:50 +00:00
Artem Pavlenko
7537c14d77 + small fix 2009-02-23 22:22:14 +00:00
Artem Pavlenko
f4f1cd4c59 + initial support for 'SELECT' statements in <table> param.
+ use limit 0 to avoid lengthy queries (does it work ?)
2009-02-23 22:13:21 +00:00
Lucio Asnaghi
4de010b840 - occi.input: improved determination of layer envelope by querying the spatial index metadata
- occi.input: added optional estimate_extent parameter (much like pgsql.input)
- occi.input: added prefetch of 100 rows in spatial queries (must be tunable)
- occi.input: commented a console debug clog output that was flooding my bash
2009-02-23 17:16:09 +00:00
Lucio Asnaghi
72c9d29ea6 - sqlite.input: revert back the check for spatial index virtual table in sqlite_master
- sqlite.input: default of key_field is now OGC_FID (artem)
2009-02-23 16:04:57 +00:00
Lucio Asnaghi
556095af04 - sqlite.input: added row_offset and row_limit to parameters
- sqlite.input: added wkb_format parameter for selecting WKB format (generic/spatialite)
- sqlite.input: commented check of the spatial index
- wkb.hpp: removed wkqSQLite in favour of wkbSpatiaLite
2009-02-23 15:00:25 +00:00
Artem Pavlenko
484ab6cc1c + use "the_geom" as a default geometry field 2009-02-23 13:31:56 +00:00
Dane Springmeyer
90f3703505 scons: add option called 'LIB_DIR_NAME' to control the relative directory where input plugins are installed and where python looks to register them 2009-02-23 00:47:01 +00:00
Artem Pavlenko
42d0fe1c8c + small cleanup 2009-02-22 22:36:50 +00:00
Artem Pavlenko
db1e445370 + remove -simplify,s option as it can be specified in input query e.g
"select simplify(the_geom,300) as the_geom from world"
+ fixed table_from_sql to handle multiple table_names
2009-02-22 22:34:31 +00:00
Artem Pavlenko
4868eb805e + change (table,t) option to specify output table
+ add support for SQL select statement (query,q) 
+ if output table is not specified, use table name extracted from input query
2009-02-22 21:36:34 +00:00
Artem Pavlenko
76a4800231 + use standard WKB by default 2009-02-22 20:53:45 +00:00
Nick Whitelegg
1a7b0486b5 improved boundary behaviour (though still needs attention...) for easymapnik 2009-02-22 20:35:18 +00:00
Dane Springmeyer
918db0bfb8 + add string representation for Projection object in python 2009-02-22 18:22:31 +00:00
Artem Pavlenko
0794df76b9 + support for binding blobs 2009-02-21 11:22:17 +00:00
Artem Pavlenko
b236012474 + impl output directly to sqlite 2009-02-21 00:23:41 +00:00
Artem Pavlenko
34b8d62909 + more changes ... 2009-02-20 23:04:30 +00:00
Dane Springmeyer
e089c14ac5 remove spurious exec flag 2009-02-20 19:53:57 +00:00
Dane Springmeyer
42be8116e1 scons: add a SYSTEM_FONTS variable to avoid installation of bundled dejavu fonts and instead point Python bindings at given value - also print SCONS_LOCAL_CONFIG values for user during configure 2009-02-20 19:31:08 +00:00
Dane Springmeyer
83c0a7883b + upgrade bundled dejavu fonts from 2.14 to 2.28 (closes #240) 2009-02-20 19:24:48 +00:00
Artem Pavlenko
0e2a4cddc5 + add direct sqlite3 support (work in progress..) 2009-02-20 15:58:33 +00:00
Artem Pavlenko
0bcf0004be + discard empty geometries from output 2009-02-20 12:28:21 +00:00
Artem Pavlenko
7b63111a67 + add --simplify=<tolerance> option 2009-02-20 11:12:56 +00:00
Artem Pavlenko
13b7321751 + Utilty to convert postgresql/postgis tables into format suitable for sqlite3 (r*tree index)
+ Initial import
2009-02-20 10:43:15 +00:00
Dane Springmeyer
a8b6b0022b ogcserver: use the ordered layering from r938 and a layer named __all__ to signal a request all layers (addresses #226) 2009-02-19 18:20:14 +00:00
Dane Springmeyer
06e073c7ba ogcserver: apply patch from crschmidt to support correct layer ordering in GetCaps response (closes #226) 2009-02-19 18:02:17 +00:00
Andreas Volz
3c1b67ccd4 missed color class 2009-02-18 22:54:51 +00:00
Andreas Volz
01b6d77509 std::string 2009-02-18 22:50:12 +00:00
Andreas Volz
1dc3aae33e profiling 2009-02-18 22:25:02 +00:00
Andreas Volz
0514371c70 debug and profiling option 2009-02-18 22:23:26 +00:00
Andreas Volz
c64269e1e3 support for sqlite3 and ogr 2009-02-18 22:17:00 +00:00
Artem Pavlenko
f3a835d2f2 + const correctness 2009-02-18 16:39:26 +00:00
Artem Pavlenko
f6356731e2 + ident 2009-02-18 16:38:54 +00:00
Artem Pavlenko
56b15031d0 + support load_map_string for all xml parsers 2009-02-18 00:33:26 +00:00
Artem Pavlenko
97a40d7e7e + fix msvc-9.0 compiler warnings 2009-02-17 23:19:28 +00:00
Dane Springmeyer
901223ef25 scons: move the mapnik version checking later in script, after local paths have been added 2009-02-17 22:48:17 +00:00
Dane Springmeyer
75687151e8 scons: make sure to return 0 to keep linux happy 2009-02-17 22:41:35 +00:00
Artem Pavlenko
5358417474 + use class/struct keywords correctly 2009-02-17 22:06:30 +00:00
Dane Springmeyer
09317c242b minor text formatting 2009-02-17 21:42:52 +00:00
Dane Springmeyer
b90f620901 + inherit libmapnik ABI version from environment (now calculated in SConstruct) 2009-02-17 20:32:46 +00:00
Dane Springmeyer
346ac28947 scons: make sure to check for boost_python (closes #229), improve checking of boost version (closes #236), and fetch ABI version from mapnik/version (closes #72), as well as adding PathAccept for all PathVariables to account for various 64bit systems. 2009-02-17 20:31:04 +00:00
Dane Springmeyer
292056da77 remove unneeded include added in r921 2009-02-17 05:45:59 +00:00
Dane Springmeyer
98ada350ea + add pickling support for styles and rules - TODO expose symbolizer object in general(#190) and for pickling 2009-02-17 05:23:10 +00:00
Nick Whitelegg
95c6e8e9ec easymapnik: SRTM only if command line option given 2009-02-16 23:54:07 +00:00
Nick Whitelegg
c6c1cc32d7 added initial version of easymapnik: command line tool for generating Mapnik maps from OSM XML data 2009-02-16 23:42:31 +00:00
Artem Pavlenko
021c7c0044 + ignore unused variable warning 2009-02-16 23:31:47 +00:00
Nick Whitelegg
4aba853d7a OSM plugin: dataset_deliverer now re-fetches data if the URL has changed 2009-02-16 23:10:58 +00:00
Artem Pavlenko
f8fec4ab88 + corrected SQL 2009-02-16 22:06:41 +00:00