Commit graph

538 commits

Author SHA1 Message Date
Dane Springmeyer
6257ac57c9 sqlite: futher refactoring of sqlite plugin, allowing all tests to pass 2011-11-03 19:51:37 -04:00
Dane Springmeyer
a92c46ff5d Merge branch 'master' into sqlite-refactor 2011-11-03 09:44:02 -04:00
Dane Springmeyer
6c8e4b2de0 csv: back off of null and boolean detection since using strings is more predictable across rows 2011-11-02 11:07:59 -04:00
Dane Springmeyer
1eff83530a csv: also start auto-detecting ';' and '|' characters as likely separators 2011-11-01 21:11:10 -04:00
Dane Springmeyer
2dfb5e5489 csv: use braces in all cases 2011-11-01 20:48:30 -04:00
Dane Springmeyer
4cec91ff82 csv: handle empty headers, an apparently common situation with large government data 2011-11-01 20:33:05 -04:00
Dane Springmeyer
705a573d29 csv: use unsigned to avoid compiler warnings 2011-11-01 11:55:23 -04:00
Dane Springmeyer
bdb9857cf0 csv: remove protective string checks now that spirit parsing is working 2011-10-31 19:12:13 -04:00
Dane Springmeyer
b2c54c98dd csv: be more strict about spirit parsing, iterate headers list to avoid dropping trailing nulls, and fixup exception handling a bit 2011-10-31 19:09:29 -04:00
Dane Springmeyer
80fbbfbf1b Merge branch 'master' into sqlite-refactor 2011-10-31 15:03:03 -04:00
Dane Springmeyer
043a7e3c11 format error messages 2011-10-31 13:43:56 -04:00
Dane Springmeyer
d20caee776 Merge branch 'master' into sqlite-refactor 2011-10-29 22:56:57 -07:00
Dane Springmeyer
bcf4c2967e when statically linking, proj linking is needed for libgdal 2011-10-29 22:33:49 -07:00
Dane Springmeyer
c760af4425 get feature count incrementing working more properly 2011-10-28 21:50:31 -07: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
Dane Springmeyer
b4daf1a4b0 add option to ogr driver to force usage of a single driver when attempting to open files - can shave very slightly off of load times if ogr is built with a lot of drivers 2011-10-28 15:16:34 -07:00
kunitoki
535a730da3 - again forgot a refactoring that breaks the previous 2 commits. hopefully should compile now. 2011-10-24 12:05:01 +02:00
kunitoki
e9397ee98c - forgot a file in previous commit (closes #472 again) 2011-10-24 11:56:02 +02:00
kunitoki
c314041a5a - implemented sql query in OGR plugin (closes #472) 2011-10-24 11:53:33 +02:00
kunitoki
267ee85dea - copyright fixes in postgis plugin 2011-10-23 21:23:04 +02:00
kunitoki
44ade30e7a - small copyright fix in ogr plugin 2011-10-23 21:21:28 +02:00
kunitoki
cf3f6156c3 - aligned code style in geos plugin 2011-10-23 21:19:56 +02:00
kunitoki
d7f68cc8f5 - copyright fixes in shape plugin 2011-10-23 21:09:59 +02:00
kunitoki
339d236bc3 - more coding style fixes in rasterlite plugin 2011-10-23 16:35:02 +02:00
kunitoki
78cfd88ac4 - modified coding style in raster plugin 2011-10-23 16:31:25 +02:00
kunitoki
05a32a18e5 - aligned coding style in osm plugin 2011-10-22 16:04:05 +02:00
kunitoki
2a4fe24ea9 - modified coding style in shape plugin 2011-10-22 15:27:28 +02:00
kunitoki
c0273234b6 - aligned coding style in sqlite plugin 2011-10-22 14:50:24 +02:00
kunitoki
f1460b78cd - fix indentation and trailing spaces (generally coding style) in rasterlite plugin partially related to #911 2011-10-22 14:29:54 +02:00
kunitoki
86d2f9ef19 - removed a refuse of the past in ogr plugin 2011-10-22 14:29:08 +02:00
kunitoki
8333b51439 - removed a refuse of the past in occi plugin 2011-10-22 14:28:41 +02:00
kunitoki
2045506a3d - removed a refuse of the past in kismet plugin 2011-10-22 14:28:07 +02:00
kunitoki
abea816e42 - removed a refuse of the past in gdal plugin 2011-10-22 14:27:21 +02:00
kunitoki
26fbcb51ef - fix indentation and trailing spaces (generally coding style) in occi plugin partially related to #911 2011-10-22 03:33:03 +02:00
kunitoki
35739ae917 - fix indentation and trailing spaces (generally coding style) in kismet plugin partially related to #911
- implemented srs datasource option in kismet plugin (was hardcoded and not changeable)
2011-10-22 03:10:45 +02:00
kunitoki
f1c73645cf - fix indentation and trailing spaces (generally coding style) in gdal plugin partially related to #911 2011-10-22 02:46:29 +02:00
kunitoki
13df914d06 - fix indentation and trailing spaces (generally coding style) in ogr plugin partially related to #911 2011-10-22 02:27:06 +02:00
Artem Pavlenko
664d3c4ca6 Merge pull request #910 from MapQuest/multi-tile-policy
Added a 'multi' tiled raster plugin reader for virtual images
2011-10-21 12:26:44 -07: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
b7af62acfe - cleaned up readability of occi featureset by using named const variables 2011-10-19 13:23:22 +02:00
Dane Springmeyer
6de1e75390 csv plugin: also detect lat/lon/long field names as likely geometry columns 2011-10-18 19:27:23 -07:00
Dane Springmeyer
2e4deb1a09 csv plugin: fix newlines detectio, fix first feature detection, and work around spirit number parsing issues 2011-10-18 18:21:19 -07: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