Commit Graph

728 Commits

Author SHA1 Message Date
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
Sandro Santilli
a63cb20be0 Add test for Date field formatting in CSV (#77) 2012-12-07 12:06:44 +01:00
Sandro Santilli
38e750e46d Improve test runner: allow skipping preparation and specify testfiles
Call run_tests.sh with no args to get an help screen
2012-12-07 11:35:37 +01:00
Sandro Santilli
3e59daaffd Use an env config parameter for socket timeout 2012-12-05 14:02:40 +01:00
Luis Bosque
72f202f3fc Merge branch 'release/v2.0' into develop
Conflicts:
	NEWS.md
2012-11-30 17:02:23 +01:00
Luis Bosque
ae9298e04e Merge branch 'release/v2.0' 2012-11-30 17:01:44 +01:00
Luis Bosque
f4af8b3ba4 v1.3.2 2012-11-30 17:01:17 +01:00
Luis Bosque
3b9dc554f9 Target version 1.3.3 2012-11-28 16:45:49 +01:00
Sandro Santilli
7635254c82 Automatically use batch mode when input or output aren't a TTY
Do not use readline when in batch mode, add --echo-queries switch
and default to false
2012-11-23 17:18:39 +01:00
Sandro Santilli
c00cf6d390 Revert "Upgrade node-csv module to version 0.2.4"
This reverts commit 270e6280ed.
The performance issue must be fixed before we can upgrade:
https://github.com/wdavidw/node-csv-parser/issues/64
2012-11-19 18:44:53 +01:00
Sandro Santilli
270e6280ed Upgrade node-csv module to version 0.2.4
Will help with compressed-csv export format
2012-11-19 16:20:40 +01:00
Sandro Santilli
0274425de9 Add another test for CSV truncation (succeeds) 2012-11-16 12:54:09 +01:00
Sandro Santilli
3a641beda8 Fix UTF8 in shapefile export. Closes #66.
Testcases count reaches 100 ! Happy post-post-gis day :)
2012-11-16 12:50:21 +01:00
Sandro Santilli
70d348dcb6 Oops, the correct bug for previous fix was #70
Closes #70
2012-11-16 12:23:30 +01:00
Sandro Santilli
da05e6f4ca Fix KML export truncation. Closes #947
Also adds test for SHP truncation (isn't trucated)
2012-11-16 12:22:06 +01:00
Luis Bosque
731cbd66f8 Merge branch 'release/staging' 2012-11-15 13:49:32 +01:00
Luis Bosque
e20c14e222 target v1.3.2 2012-11-14 18:24:26 +01:00
Sandro Santilli
0223ff83e9 Reference the oAuth breakage ticket (#69) in NEWS 2012-11-14 18:06:46 +01:00
Sandro Santilli
4cc9283874 Update with oAuth bugfix 2012-11-14 18:06:05 +01:00
Sandro Santilli
75fcd5ae9c Do not write back to request.query as it breaks oAuth signature
NOTE: this breakage misses a testcase (overcomplex at the moment)
2012-11-14 18:04:38 +01:00
Sandro Santilli
34587782b5 Remove reverted change from NEWS 2012-11-14 16:32:52 +01:00
Sandro Santilli
bd08eb4add Use inline attachment also with POST, if format isn't given 2012-11-14 16:30:18 +01:00
Sandro Santilli
cceeb72f4e Update NEWS 2012-11-13 19:28:09 +01:00
Sandro Santilli
6b7cada97d Never dispose "inline" when using POST. 2012-11-13 19:27:25 +01:00
johnhackworth
e64c3f57f7 changes in the way the parameters are collected to support both POST and GET 2012-11-13 19:27:25 +01:00
Luis Bosque
1914ab9196 target v1.3.1 2012-11-13 11:42:18 +01:00
Sandro Santilli
0ef13f08c2 Use inline disposition when no format and no filename are given
See #61
2012-11-12 19:44:16 +01:00
Sandro Santilli
120cf3f0c5 Add 'cache_policy' parameter. Closes #62 2012-11-12 19:14:20 +01:00
Sandro Santilli
005ae48e3a Support for specifying a list of fields to skip from output.
Closes #63
2012-11-12 17:11:17 +01:00
Luis Bosque
ab9c739995 removed -dev suffix from package.json version 2012-11-12 13:23:34 +01:00
Sandro Santilli
f7c64b8886 Add the 'filename' parameter to API doc 2012-11-12 13:21:46 +01:00
Sandro Santilli
46cec7a0e5 Add support for specifying a filename for exports. Closes #64
Sets release target to 1.3.0, due to parameter addition
2012-11-12 12:40:53 +01:00
Luis Bosque
755fe738ca target v1.2.2 2012-11-12 12:27:37 +01:00