Sandro Santilli
48b38aa5e0
Add --expect switch to save obtained output as expected
...
Will help generating testcases
git-svn-id: http://svn.osgeo.org/postgis/trunk@8863 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-18 10:17:17 +00:00
Sandro Santilli
2da836b781
Drop the support for multiple expected files (not needed anymore)
...
The support was also broken, btw...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8862 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-18 10:17:12 +00:00
Sandro Santilli
7091a479fc
Test roundtrip with a binary cursor for both geometry and geography
...
With this commit the binary.sql testcase doesn't test the actual
binary output anymore but rather uses canonical binary output to
copy objects to a temporary file, then uses canonical binary input
to read the objects again into a new table and then compares the
original and the final tables.
In order for this to work run_test was modified to pass a :tmpfile
variable to testcases. Next stop: typmod for canonical binary input.
See ticket #850 for more info
git-svn-id: http://svn.osgeo.org/postgis/trunk@8861 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-18 08:19:42 +00:00
Sandro Santilli
ea3128b4ec
Implement canonical input-output for geography ( #850 )
...
Note: canonical output is tested, input isn't.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8860 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-17 20:01:36 +00:00
Sandro Santilli
b798e45d87
Test canonical binary output for geometry ( #850 )
...
NOTE: big-endian machines are expected to fail this new test
please send your actual output for a fix
git-svn-id: http://svn.osgeo.org/postgis/trunk@8859 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-17 19:15:48 +00:00
Sandro Santilli
004771dcb7
Support alternate expected files
...
Useful to test WKB output on different byte-endian machines.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8858 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-17 19:15:41 +00:00
Sandro Santilli
b190d81331
Support for binary output ( #850 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8857 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-17 19:15:20 +00:00
Sandro Santilli
54b115e6b0
Override geometrytype for geography ( #1450 ).
...
The testusite runs without problems so I didn't also add a
geometrytype(text) function [I want the implicit cast!]
git-svn-id: http://svn.osgeo.org/postgis/trunk@8856 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-17 18:04:58 +00:00
Sandro Santilli
3a61ab1f87
Run the testsuite again after upgrading ( #1326 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8855 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-17 17:52:57 +00:00
Sandro Santilli
f5cb231784
Reword loading of upgrade scripts
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8854 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-17 17:52:46 +00:00
Sandro Santilli
419470fc86
Enhance staged install to include raster, topology and all scripts
...
Add an --upgrade switch to regress/run_test in preparation of
regress testing upgrade scripts (#1326 )
git-svn-id: http://svn.osgeo.org/postgis/trunk@8853 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-17 17:13:32 +00:00
Sandro Santilli
de158caa8c
Do not drop legacy getSRID in postgis_drop ( #1401 )
...
This commit reverts r8837
git-svn-id: http://svn.osgeo.org/postgis/trunk@8852 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-17 08:57:00 +00:00
Paul Ramsey
cb6ae71bc4
Rename lwpoint_interpolate to point_interpolate
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8851 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 22:26:45 +00:00
Sandro Santilli
f948a4a8f0
Snap output of test for #723 to a grid
...
The test was failing due to coordinate drifts on 32bit
git-svn-id: http://svn.osgeo.org/postgis/trunk@8850 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 21:13:08 +00:00
Sandro Santilli
58adce3839
Fix 2.5d split ( #745 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8847 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 17:37:12 +00:00
Sandro Santilli
a075c7eb3b
Keep UTM zone numbers in range, regress-test _ST_BestSRID ( #1234 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8846 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 17:00:50 +00:00
Sandro Santilli
f951b8a1cf
Add an ST_AsEWKT(text) to prefer geometry over geography
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8845 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 15:39:24 +00:00
Sandro Santilli
ac58e8af0b
Add ST_EWKT for geography type ( #675 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8844 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 14:46:03 +00:00
Sandro Santilli
3fdb12b758
The official unknown SRID is 0, not -1
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8843 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 14:33:28 +00:00
Sandro Santilli
51c0e9d4c9
Have 'make doc' build the single-page HTML
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8842 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 14:21:54 +00:00
Sandro Santilli
d0910bbdec
Allow building with gettext 0.14. Patch by Greg Troxel <gdt@ir.bbn.com>
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8841 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 14:04:21 +00:00
Sandro Santilli
f5bd1c82a6
Detect PERL locally
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8840 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 13:56:11 +00:00
Sandro Santilli
983a72a368
Ignore generated extension files
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8839 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 13:10:35 +00:00
Sandro Santilli
ed2cc838c7
Move lwgeom_summary to liblwgeom ( #1446 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8838 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 12:33:16 +00:00
Sandro Santilli
c4f5e8d83b
Drop getsrid ( #1401 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8837 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 12:25:23 +00:00
Sandro Santilli
5d014cb337
Add test for insertion into typmod-ed table ( #1414 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8836 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 12:10:05 +00:00
Sandro Santilli
ca21d39436
Fix WKB output for POINT EMPTY with SRID or higher dims ( #1478 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8835 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 11:22:27 +00:00
Sandro Santilli
0ba1a97615
Add WKB round-trip test for TIN
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8834 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 10:34:30 +00:00
Sandro Santilli
ae22d6192d
Fix reading TRIANGLE EMPTY in WKB form ( #1474 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8833 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 10:31:18 +00:00
Sandro Santilli
3aee7df080
Add POLYHEDRALSURFACE roundtrip WKB test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8832 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 10:31:09 +00:00
Sandro Santilli
10732e13a9
Implement lwgeom_same for MULTICURVE and MULTISURFACE ( #1475 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8831 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 10:24:54 +00:00
Sandro Santilli
615bdce18a
Implement lwgeom_same for CURVEPOLYGON types ( #1475 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8830 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 10:21:09 +00:00
Sandro Santilli
fa2077921b
Implement lwgeom_same for COMPOUNDCURVE ( #1475 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8829 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 10:18:07 +00:00
Sandro Santilli
6e285b15a1
Implement lwgeom_same for circularstring ( #1475 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8828 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 10:11:44 +00:00
Sandro Santilli
6b4c747328
A CURVEPOLY is also a collection. Fixes #1473 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8827 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 09:11:45 +00:00
Sandro Santilli
930da10769
Prevent lwcollection_construct from creating non-collection types
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8826 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 09:11:38 +00:00
Sandro Santilli
237ca95517
Use a CTE for queries involving largs WKB input.
...
Reduces parsing and execution time.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8825 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 08:25:08 +00:00
Sandro Santilli
74a1d2bf64
Comment out expensive DEBUG lines
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8824 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 08:25:00 +00:00
Sandro Santilli
8b3c81adcd
Downgrade notice of face splitting to debug level
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8823 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 08:24:53 +00:00
Sandro Santilli
d6845686e0
Wrap DEBUG output in ifdef POSTGIS_TOPOLOGY_DEBUG ( #1469 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8822 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-15 20:52:08 +00:00
Sandro Santilli
75e35d741f
Make AddTopoGeometryColumn less sequence-number-eager, regress-test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8821 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-15 17:50:46 +00:00
Regina Obe
502e5ad10e
put in spaces in ST_InterpolatePoint See Also references
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8820 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-15 09:25:51 +00:00
Regina Obe
68bbc110c5
ditto for ST_LocateBetween - name change flag and minor other corrections
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8819 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-15 09:23:34 +00:00
Regina Obe
048fb28f3b
put a note ST_LocateAlong name changed (and is a new name in 2.0 - old name is ST_Locate_Along_Measure)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8818 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-15 09:10:33 +00:00
Regina Obe
426f3aa15f
link to where to download pre-built cheat sheets
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8817 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-15 03:59:47 +00:00
Regina Obe
b68ea11ef5
revise docs about make installing extensions to note that extensions are now installed by default if compiling against 9.1+. Also provide an example query to run to verify extensions are installed. THANKS pramsey -- now if we can only have a real tagged release that would be SWEET.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8816 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-15 03:32:29 +00:00
Regina Obe
a813a16470
#1401 Goodbye getSRID()
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8815 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-15 03:18:16 +00:00
Mark Cave-Ayland
7dfdea09b5
Display "Creating Index..." text within the progress dialog rather than within the shp2pgsql-gui log window.
...
This should make it more obvious to users that something is still happening in the case that
they are building on a index on larger shapefiles which can often take quite some time.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8814 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-14 13:10:27 +00:00
Regina Obe
b0766680ac
change eol from native to LF to try to resolve #1466
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8813 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-14 07:37:36 +00:00
Regina Obe
b1a9245652
document --with-gettext=no optionand case why you would want to do this. Also minor modifications as to use GEOS 3.3.2 and why you should
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8812 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-14 07:29:26 +00:00