Dane Springmeyer
|
0bb2cc2d49
|
add support for 'intersects' token in sqlite plugin - closes #809
|
2011-12-16 10:05:54 -08:00 |
|
Dane Springmeyer
|
c7a6dc597a
|
sqlite: when building rtree sql, only try WHERE substitution if not doing join
|
2011-12-16 08:14:08 -08:00 |
|
Dane Springmeyer
|
1b8e49d13b
|
sqlite: improve the error message when geometry_field could not be autodetected
|
2011-12-16 07:48:02 -08:00 |
|
Dane Springmeyer
|
95264a2dcb
|
Merge branch 'master' of github.com:mapnik/mapnik
|
2011-12-16 06:50:32 -08:00 |
|
Dane Springmeyer
|
6e18e307ee
|
Add missing break
|
2011-12-15 17:18:22 -08:00 |
|
Dane Springmeyer
|
c0f918114e
|
sqlite: fixup rtree bbox entries to use cumulative extent of multipolygons to avoid contraint errors
|
2011-12-12 08:30:46 -08:00 |
|
Artem Pavlenko
|
7209988fb0
|
Simplify geometry model to support: Point/LineString/Polygon
Multi geometries are collections of single geometries
Remove multiple_geometries parameter
|
2011-12-06 12:53:16 +00: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 |
|
Artem Pavlenko
|
14700dba16
|
switch back from mapnik2 to mapnik
add mapnik2 module which redirects to mapnik and issues DeprecationWarning
|
2011-11-23 11:33:58 +00:00 |
|
Dane Springmeyer
|
e92d0362a6
|
sqlite: add (currently unused) in-memory rtree creation code
|
2011-11-20 16:42:28 -08:00 |
|
Dane Springmeyer
|
9cf15bac0f
|
alternate in-memory rtree generation, and remove debug output
|
2011-11-19 11:36:35 -08:00 |
|
Dane Springmeyer
|
baebf4f1f2
|
scons: get linking correct to sqlite dependecies if linking is static
|
2011-11-15 12:07:46 -08:00 |
|
Dane Springmeyer
|
62a5e457f1
|
plugin code formatting based on emacs format in utils/format_source_files
|
2011-11-13 19:37:50 -08:00 |
|
Dane Springmeyer
|
b3b938a804
|
sqlite: let sqlite automatically rollback if needed to avoid potential rollback against no transaction
|
2011-11-13 19:19:22 -08:00 |
|
Dane Springmeyer
|
73feb36dba
|
sqlite: trim all types of valid quote characters on table names
|
2011-11-13 16:41:54 -08:00 |
|
Dane Springmeyer
|
a527bb25e2
|
sqlite: step_next for a prepared statement must only return SQLITE_DONE
|
2011-11-13 16:41:34 -08:00 |
|
Dane Springmeyer
|
b1c2d9f680
|
sqlite: disassociate extent calculation from rtree auto-index creation, and grab immediate lock on rtree table
|
2011-11-13 16:02:27 -08:00 |
|
Dane Springmeyer
|
1d881af35a
|
reduce the size of plugin libraries by hiding unneeded symbols
|
2011-11-11 15:37:10 -08:00 |
|
Dane Springmeyer
|
4e4769745f
|
sqlite: autoquote table names that start with numbers to better support natural earth conversions from shapefiles
|
2011-11-10 09:42:04 -08:00 |
|
Dane Springmeyer
|
89e13d304d
|
sqlite: return success or failure from rtree indexing function and report available tables if the pragma table_info() fails
|
2011-11-09 19:18:12 -08:00 |
|
Dane Springmeyer
|
d6cc803ef9
|
sqlite: proper cleanup if rtree index creation fails
|
2011-11-09 17:44:50 -08:00 |
|
Dane Springmeyer
|
6257ac57c9
|
sqlite: futher refactoring of sqlite plugin, allowing all tests to pass
|
2011-11-03 19:51:37 -04:00 |
|
Dane Springmeyer
|
ffc92f1893
|
first pass at refactoring bind() to be more manageable in sqlite plugin - refs #928
|
2011-10-28 21:24:47 -07:00 |
|
kunitoki
|
c0273234b6
|
- aligned coding style in sqlite plugin
|
2011-10-22 14:50:24 +02:00 |
|
Dane Springmeyer
|
bc18b60e1c
|
sqlite: use boost::trim for dequoting of std::string
|
2011-10-21 03:41:20 -07:00 |
|
Dane Springmeyer
|
6a9da44c79
|
sqlite: restore original sqlite dequoting function as the previous simplification did not work
|
2011-10-21 01:55:07 -07:00 |
|
kunitoki
|
9438ee0fdd
|
- avoid using temporary pointer in sqlite blob/text resultsets
|
2011-10-19 13:25:08 +02:00 |
|
kunitoki
|
289b8daed0
|
- favour speed for already specified keys
|
2011-10-19 00:44:20 +02:00 |
|
kunitoki
|
9f227b2dd4
|
- fixed nose tests on attachdb (still this code seems a bit messy?)
|
2011-10-19 00:42:49 +02:00 |
|
kunitoki
|
ee6a0d9dba
|
- improved automatic determination of key_field from pragma table_info.
- avoid using rowid if we don't have a primary key
|
2011-10-18 23:51:01 +02:00 |
|
kunitoki
|
1aa96ace1c
|
- added some comments to clear that using rowid as default key_field for sqlite is *EXTREMELY* dangerous (aka no primary key, unexpected results may appear)
- more cosmetics in sqlite plugin
- refactor unquote function to be lighter and simpler
|
2011-10-18 23:32:25 +02:00 |
|
kunitoki
|
020f870bb7
|
- fixed a problem in automatic sqlite wkb format determination code
- other cosmetics in sqlite datasource
|
2011-10-18 22:53:47 +02:00 |
|
kunitoki
|
2372a60ff7
|
- cosmetics changes to sqlite datasource plugin
- added initial wkbAuto to auto determine WKB type in sqlite
|
2011-10-18 22:19:03 +02:00 |
|
Dane Springmeyer
|
98c9e455fa
|
fix spelling
|
2011-10-13 14:24:50 -07:00 |
|
Dane Springmeyer
|
f1b8452794
|
sqlite: report rtree index creation failure - patch from kkaefer - closes #884
|
2011-09-15 21:58:20 +00:00 |
|
Artem Pavlenko
|
5476e8410b
|
+ amend input plug-ins to use new wkb interface
|
2011-09-13 11:54:20 +00:00 |
|
Dane Springmeyer
|
436df62f3b
|
proper order of api calls in sqlite - #refs 872
|
2011-09-13 00:00:35 +00:00 |
|
Dane Springmeyer
|
5fcc403135
|
sqlite: move init logic into bind()
|
2011-09-02 21:21:01 +00:00 |
|
Dane Springmeyer
|
546edcc684
|
sqlite: improve debug output mode
|
2011-09-02 13:50:40 +00:00 |
|
Dane Springmeyer
|
3c2b154c52
|
fix nightlies compile on boost 1.42
|
2011-09-02 01:38:24 +00:00 |
|
Dane Springmeyer
|
7d60c12e33
|
sqlite: skip feature parsing when things go wrong upstream in sqlite - https://github.com/mapnik/node-mapnik/issues/61
|
2011-09-02 00:56:42 +00:00 |
|
Dane Springmeyer
|
aa9bdf0d5a
|
sqlite: complete symlinks so that the proper relative path can be fetched for an attached db reference - closes #859
|
2011-09-01 23:23:29 +00:00 |
|
Dane Springmeyer
|
7b89a580f6
|
quote the index table to avoid sql failures during index creation if the table has characters like needing quotes like ':'
|
2011-08-31 22:47:37 +00:00 |
|
Dane Springmeyer
|
22c39d91ba
|
scons: rename all SConscript files to more friendly name of 'build' with a python extension for quick syntax detection in editors
|
2011-08-30 05:32:01 +00:00 |
|
Dane Springmeyer
|
9446b871f8
|
sqlite: fix the ifdef checking so that we actually enable sqlite_open_v2 usages, and also pass the READ mode to avoid undefined behavior - re-closes #797
|
2011-08-29 17:46:51 +00:00 |
|
Dane Springmeyer
|
79eedca66f
|
sqlite: warn at compile time if you've got an ancient version of sqlite so users have a clue as to why maps may not be blazingly fast on 'stable' systems
|
2011-08-25 19:11:07 +00:00 |
|
Dane Springmeyer
|
d5eb58a46a
|
sqlite: fix and optimize unicode dequoting of double quoted field names returned from subqueries
|
2011-08-24 00:32:00 +00:00 |
|
Dane Springmeyer
|
c227b9a6a5
|
sqlite: move to 64bit id types for generation of index, and improve error message when pragma table_info fails
|
2011-08-17 20:39:07 +00:00 |
|
Dane Springmeyer
|
d3211372a4
|
sqlite: support both single and double quoted table names
|
2011-08-16 23:24:02 +00:00 |
|
Dane Springmeyer
|
aaf9d960d7
|
sqlite: properly initialize rowid default
|
2011-08-16 23:05:19 +00:00 |
|