Sandro Santilli
6d6dd16446
Draft delegating CSV output to OGR
...
Adapt tests to new output
2013-03-27 15:41:24 +01:00
Sandro Santilli
ff49346d4d
Drop unused variable
2013-03-26 18:20:36 +01:00
Sandro Santilli
58b079e212
Fix reace condition in new KML output, test KML export of empty table
2013-03-26 18:18:13 +01:00
Sandro Santilli
38f99c586a
Fix concurrent requests for KML export
2013-03-26 16:59:37 +01:00
Sandro Santilli
a0d9038e59
Auth / non-auth tests for SHP and KML export are in place
2013-03-26 16:14:48 +01:00
Sandro Santilli
c3ae7074cb
Make temporary dir a configuration setting
2013-03-26 16:02:05 +01:00
Sandro Santilli
12553dafdd
Don't forget to call .end() on the result (fixes Shapefile export)
2013-03-26 15:32:07 +01:00
Sandro Santilli
3f8a606432
Simplify steps for SHP and KML outputs
2013-03-26 12:59:46 +01:00
Sandro Santilli
f6d45783f6
KML content is already tested
2013-03-26 12:54:20 +01:00
Sandro Santilli
41dd23b429
Do not run the query twice when exporting to KML
2013-03-26 12:47:03 +01:00
Sandro Santilli
eb011269bb
Add node-pool upgrade notice
2013-03-14 12:06:26 +01:00
Sandro Santilli
6c0d7813f6
Upgrade generic-pool to ~2.0.2
2013-03-14 11:58:30 +01:00
Sandro Santilli
5fa19a0515
Fix parsing of numeric arrays. Closes #88 .
...
Includes testcase, requires using a fork of node-postgresql.
2013-03-14 11:41:07 +01:00
Sandro Santilli
133add8741
Allow using "test" as and environment name
2013-03-14 09:16:06 +01:00
Luis Bosque
c5b2534687
Target v1.3.7
2013-02-28 15:03:42 +01:00
Sandro Santilli
dc87209033
Do not confuse warnings with errors on shapefile output
...
Closes #87
2013-02-25 18:32:28 +01:00
David Arango
d0ab5f24a1
Merge branch 'release/staging' into develop
2013-02-20 17:48:37 +01:00
David Arango
a077afb331
Bump version to 1.3.6
2013-02-19 12:40:58 +01:00
Sandro Santilli
6d8b98db56
Add test for multi-statement and begin/commit
2013-02-19 10:41:45 +01:00
Sandro Santilli
322c58165f
Revert "Updagres pg module"
...
This reverts commit d418db03e4
.
The problem we were after was elsewhere.
Upgrading pg module may still be a good thing but needs to be
done togheter with generic-pool and also needs updates to
shrinkwrap file
2013-02-19 10:41:38 +01:00
Sandro Santilli
8de8bbc460
Add test for multi-statement and begin/commit
2013-02-18 18:39:09 +01:00
Sandro Santilli
d77720e132
Revert "Updagres pg module"
...
This reverts commit d418db03e4
.
The problem we were after was elsewhere.
Upgrading pg module may still be a good thing but needs to be
done togheter with generic-pool and also needs updates to
shrinkwrap file
2013-02-18 16:25:37 +01:00
Sandro Santilli
d4b1f580ff
Fix X-Cache-Channel computation with paging parameters. Closes #85 .
2013-02-18 16:19:12 +01:00
David Arango
d418db03e4
Updagres pg module
2013-02-18 13:09:44 +01:00
Sandro Santilli
d9c3b9a36a
Ignore node_module* permutations
2013-02-18 12:58:04 +01:00
Sandro Santilli
10ec5b9fda
Do not attempt to compute an X-CacheChannel from a broken query info
...
Also enhance debugging for broken query info results
2013-02-18 12:20:18 +01:00
Sandro Santilli
19eb51b06d
Use an LRU cache for query tables, and add expiration support
...
Defaults to 8192 items each valid for no more than 10 minutes
Both settings can be changed via environment config.
See #83
2013-02-13 18:59:09 +01:00
Sandro Santilli
197c14f30f
Add test focused on x-cache-channel handling
2013-02-13 17:31:53 +01:00
Sandro Santilli
7d2d585c54
Check CDB_QueryTable response before saving into cache
...
Also add pid to /cachestatus (#83 )
2013-02-13 16:43:04 +01:00
Sandro Santilli
5959e6465a
Fix Content-Disposition for error responses. Closes #82
2013-02-13 13:32:34 +01:00
Sandro Santilli
d667d64c78
Fix skipfields use with SHP output format. Closes #81
2013-02-13 13:02:37 +01:00
David Arango
938a87cfe0
Bump to 1.3.5
2013-01-21 18:01:16 +01:00
Sandro Santilli
fdf49bd2ab
Add a test for COPY TO file
2013-01-21 17:39:07 +01:00
Sandro Santilli
977ecbeb29
Return an error when "the_geom" is in skipfield for SVG output
...
Closes #73
2013-01-21 10:06:51 +01:00
Sandro Santilli
19fc0e5854
Fix crash when issuing SQL "COPY" command
...
This involved upgrade of node-postgresql module.
See https://github.com/brianc/node-postgres/issues/242
2013-01-17 10:14:29 +01:00
Sandro Santilli
ef729a027f
Split SVG tests from main test file
2013-01-16 11:16:38 +01:00
Sandro Santilli
76b35b71a1
Split KML tests from main test file
2013-01-16 09:58:09 +01:00
Sandro Santilli
e897cb07d2
Add test for null geoms in geojson
...
Also drop an hard-coded "the_geom" in geojson output code
2013-01-11 18:57:45 +01:00
Sandro Santilli
9bc79bded6
Re-add null geometry support in geojson output
...
You never know if anyone is relying on them, and they are supported
by the specs:
https://github.com/mbostock/topojson/issues/18#issuecomment-12154398
We'll still skip those records for topojson
2013-01-11 18:43:05 +01:00
Sandro Santilli
ca065e89b9
Omit NULL the_geom features from from geojson and topojson outputs
...
Closes #80
2013-01-11 18:20:25 +01:00
Sandro Santilli
3e7c8f4d22
Improve mixed geometry export error message. Closes #78
2013-01-11 17:09:22 +01:00
Sandro Santilli
c84f9b1a52
Split SHP tests from main test file
2013-01-11 16:16:28 +01:00
David Arango
f387903912
Bump to 1.3.4
2013-01-11 13:57:47 +01:00
Sandro Santilli
9550837fbe
Split CSV tests from main test file
2013-01-11 11:21:59 +01:00
Sandro Santilli
dca611db98
Update NEWS file with topojson format
2013-01-11 11:13:48 +01:00
Sandro Santilli
a81b55e421
Include properties to TopoJSON output. Closes #79
...
Includes support for the skipfields option
2013-01-11 11:10:51 +01:00
Sandro Santilli
39669578b6
Initial support for TopoJSON ( #79 )
...
Does not include any attributes in the format
2013-01-09 17:43:23 +01:00
Sandro Santilli
e311c388b6
Update NEWS with the Date format fix
2012-12-07 17:10:55 +01:00
Sandro Santilli
050e1c8e05
Use own fork of pg module for correct timestamptz parsing
...
See https://github.com/brianc/node-postgres/pull/226
Closes #77
2012-12-07 17:08:56 +01:00
Sandro Santilli
2e85588d99
Format date fields in CSV output
2012-12-07 14:27:02 +01:00