Daniel García Aubert
c6bae6d951
app module moved to right place
2015-12-03 18:33:17 +01:00
Raul Ochoa
62e7e1634f
Use in memory sqlite databases for spatialite tests
2015-06-16 17:33:04 +02:00
Raul Ochoa
e9dda12ad3
Adds tests for big results in ogr formats
2015-06-16 15:54:13 +02:00
Francisco Dans
59d93aeb57
removes only from test call
2015-06-01 17:17:05 +02:00
Francisco Dans
fc30771879
adds couple more tests
2015-06-01 15:16:05 +02:00
Francisco Dans
2363b87b61
adds acc test for sqlite
2015-06-01 13:20:51 +02:00
Raul Ochoa
b29933f96e
Closes stream responses on error
...
fixes #219
2015-05-13 18:15:38 +02:00
Raul Ochoa
469bd0b696
use describe+it
2015-05-13 12:23:40 +02:00
Raul Ochoa
33731fc315
jshint fixes
2015-05-13 11:53:14 +02:00
Raul Ochoa
2b7bccd58b
More flexible assert for syntax error
2015-03-01 13:19:51 +01:00
Raul Ochoa
9ab49d4614
Fix test as now it's reporting the issue with the query syntax differently
2015-02-26 16:28:25 +01:00
Raul Ochoa
74429f82e1
Improve topojson output by streaming json
2014-11-12 11:36:59 +01:00
Raul Ochoa
40ff44e0fe
Merge branch 'master' into gdal-1.11
2014-09-22 15:08:13 +02:00
Raul Ochoa
d1a444a83c
Check style fixes
2014-09-22 15:05:38 +02:00
Raul Ochoa
2e3eeefd0f
Removes tables=fake wadus param in ogr2ogr command so it can go to
...
geometry_colums view to retrieve the column data type. This requires
to grant permissions on geometry_columns and geography_columns to the
public user.
2014-09-22 13:23:30 +02:00
Raul Ochoa
bbb82c2ceb
CDB-3780 Adds stream start in case there were no rows. Adds regression test.
2014-08-05 00:47:49 +02:00
Raul Ochoa
15a3f4cc88
CDB-3780 Handle error at query end. Adds regression test.
2014-08-05 00:47:14 +02:00
Raul Ochoa
572f8c59b7
Changes authentication to start using public user if it is defined in redis.
2014-07-04 16:47:59 +02:00
Sandro Santilli
4606a44917
Fix testsuite with GDAL-1.11dev installed (current master)
2014-04-02 17:17:59 +02:00
Sandro Santilli
7b0145dde6
Check body of concurrent kml responses
2014-03-17 14:42:00 +01:00
Sandro Santilli
6c47537f47
Honour the 'node_socket_timeout' configuration directive
...
Closes #128
Includes testcase, which required enhancing assert.response to
handle errors.
Changes app controller to a function that only reads configuration
when executed (rather than when only require'd).
2014-01-31 10:58:19 +01:00
Sandro Santilli
2abb136258
Set KML folder name to the requested filename.
...
Closes #115 . Includes testcase.
2013-11-05 17:29:02 +01:00
Sandro Santilli
3c03099e8d
Do not trust GDAL SRID detection for KML output.
...
Closes #116 . Includes testcase.
2013-11-05 16:57:23 +01:00
Sandro Santilli
e92530d6e5
Fix shapefile export for non-linestring results starting with NULL
...
Includes tests. Closes #111 .
2013-10-02 12:12:09 +02:00
Sandro Santilli
0d84a704df
Fix missing .prj file in shapefile format
...
Finds srid, when needed, with an additional query.
Closes #110 .
Includes testcases.
2013-10-02 11:44:06 +02:00
Sandro Santilli
531dd4b002
Tweak testcase to succeed with gdal-1.10
...
Absence of geometry column triggers a different behavior in 1.9 and 1.10
2013-09-23 13:24:00 +02:00
Sandro Santilli
7d5698b045
Accept an header-only CSV export for no-rows query
...
This makes the application compatible with both GDAL-0.9 and 0.10
See http://trac.osgeo.org/gdal/ticket/5234
2013-09-04 13:30:50 +02:00
Sandro Santilli
de1df14d91
Fix expected/obtained order in asserts
2013-09-04 13:18:10 +02:00
Sandro Santilli
7eedf89901
Also threat "description" as a special tag (in test)
2013-09-04 12:56:48 +02:00
Sandro Santilli
e4371f83bc
Look for attribute names in both SimpleData and Placemark
...
See http://trac.osgeo.org/gdal/ticket/5208
2013-09-04 12:39:49 +02:00
Sandro Santilli
80e4521bb5
Tolerate blankspace differences in KML output
...
Makes tests succeed with gdal-1.10.x
2013-08-20 18:07:34 +02:00
Sandro Santilli
cda62f3a0a
Check for field names in SimpleField rather than SimpleData
...
Doing so makes the test also succeed with gdal-1.10
See http://trac.osgeo.org/gdal/ticket/5208
2013-08-20 18:07:34 +02:00
javi
0be9e47930
Add arraybuffer format
2013-05-28 10:37:39 +02:00
Sandro Santilli
aff77399b1
Extract geojson test from main test
2013-05-27 17:34:05 +02:00
Sandro Santilli
86e0a45c64
Use a single server in the test for concurrent KML exports
...
A similar thing should be done for KML and Shapefile, but the focus
here is making jenkins happy for now
2013-04-11 16:21:09 +02:00
Sandro Santilli
0ec66c69a7
Allow sql queries to end with a semicolon. Closes #90
2013-04-10 17:21:42 +02:00
Sandro Santilli
8f60735b5e
Queue export requests for shapefile format. Closes #65
2013-03-27 16:43:12 +01:00
Sandro Santilli
49908e32c5
Add test for concurrently exporting to CSV
2013-03-27 16:09:31 +01:00
Sandro Santilli
6d6dd16446
Draft delegating CSV output to OGR
...
Adapt tests to new output
2013-03-27 15:41:24 +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
f6d45783f6
KML content is already tested
2013-03-26 12:54:20 +01:00
Sandro Santilli
dc87209033
Do not confuse warnings with errors on shapefile output
...
Closes #87
2013-02-25 18:32:28 +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
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
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
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