Commit graph

1011 commits

Author SHA1 Message Date
Artem Pavlenko
e2304d7999 corrected sql syntax 2009-02-26 15:35:07 +00:00
Dane Springmeyer
df8beaa952 scons: cleanup unneeded thread_flag check in Boost lib/header checking 2009-02-25 23:01:50 +00:00
Dane Springmeyer
6d0ac8f05b scons: trivial formatting fixes to SConstruct to maintain 4 space indents 2009-02-25 22:56:47 +00:00
Dane Springmeyer
7a7362751d scons: improve handling of optional plugin paths by only adding paths if a plugin will be built, prepending plugin paths to ensure linking against requested libs, and maintaining sorting of internal includes and libs given new plugin prepend behavior (addresses #250) 2009-02-25 21:18:08 +00:00
Dane Springmeyer
46df10d7d0 scons: add boolean option to avoid linking to Framework Python on darwin (closes #248) 2009-02-25 01:02:43 +00:00
Dane Springmeyer
feb3f3327c scons:reformat the custom boost and mapnik version checking cpp snippets, since on gcc 4.1.1 the existing formatting was causing 'no newline at end of file' warnings 2009-02-24 18:05:22 +00:00
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