Sandro Santilli
e16aeffbcd
Make dropping of log files fully controlled by switch ( #1376 )
...
This is because hudson wants to report the regress.log in any case
git-svn-id: http://svn.osgeo.org/postgis/trunk@8416 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 18:33:03 +00:00
Sandro Santilli
c35cc257f9
Regress test all behaviors involving EMPTY geometries
...
See http://trac.osgeo.org/postgis/wiki/DevWikiEmptyGeometry
Changes ST_NumPoints and ST_ExteriorRing to behave requested.
Keeps ST_InteriorRingN returning NULL, as per "n is out of range"
Closes #692
git-svn-id: http://svn.osgeo.org/postgis/trunk@8415 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 18:25:05 +00:00
Sandro Santilli
15d448b1e1
Crossref ST_InteriorRingN with ST_ExteriorRing
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8414 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 18:24:57 +00:00
Sandro Santilli
e0ef34d6d8
Drop temporary files if there are no failures ( #1376 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8413 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 17:13:46 +00:00
Sandro Santilli
8b9b187c8e
Fix crash on ST_AsGML('POLYGON EMPTY') ( #681 )
...
Also tweak GML of empty types to be smaller and include
regression testing both at the liblwgeom and sql level
git-svn-id: http://svn.osgeo.org/postgis/trunk@8412 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 16:02:44 +00:00
Sandro Santilli
ebcbd6dc1a
Fix a typo from last commit, stub test for GML emptyness
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8411 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 15:07:27 +00:00
Sandro Santilli
ace7034eda
Enable a test for an old bugfix ( #683 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8410 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 14:46:45 +00:00
Sandro Santilli
bd52e9708d
Move the EMPTY buffer test from tickets.sql to empty.sql
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8409 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 14:46:39 +00:00
Sandro Santilli
ed841457ad
Return empty geoms snapped to a grid as immutated ( #1089 )
...
Also introduces an "empty" regression test
git-svn-id: http://svn.osgeo.org/postgis/trunk@8408 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 14:37:18 +00:00
Regina Obe
da780f4405
minor corrections / enhancements
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8407 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 14:25:41 +00:00
Sandro Santilli
f4a53f17dc
Drop topology specific versioning
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8406 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 13:31:07 +00:00
Sandro Santilli
142a5bb70f
Add more skip signatures, from interim builds
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8405 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 13:31:00 +00:00
Regina Obe
7f6cbad4a9
minor change to rtpostgis_drop so can more easily drop from extension for extension install. Many changes to extensions so can use native postgis upgarde and raster upgrade scripts. bump up version numbers
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8404 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 11:22:38 +00:00
Regina Obe
03acdb1ab8
fix errors in documentation and comment scripts preveningt comments install from installing cleanly
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8403 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 10:44:58 +00:00
Regina Obe
48b7901285
Get rid of removed AddRasterTable,Column etc and replace with newer AddRasterConstraints/DropRasterConstraints
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8402 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 10:06:31 +00:00
Sandro Santilli
8f1bab3976
Add -v switch to postgis_restore.pl, tweak usage and debug output
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8401 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 07:59:43 +00:00
Regina Obe
58b928ca92
Add stub section describing the raster_columns and raster_overview catalog views. Also fix typo. More coming.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8400 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 02:54:17 +00:00
Bborie Park
3013693cc7
As per discussion in postgis-devel regarding Ubuntu 11.10, tweaked the order in which -lm is passed to LDFLAGS
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8399 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 02:31:13 +00:00
Bborie Park
f69eaab85a
Refactored for less memory usage by aggresively flushing string buffers.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8398 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 01:22:54 +00:00
Sandro Santilli
ad5be432f8
Disable triggers on the topology.layer table during restore, to allow population in random order ( #1371 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8397 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 23:29:33 +00:00
Bborie Park
bc5904d25e
As per discussion in ticket #1373 , convert raster constraints with floating point values (scalex, scaley, nodata values) into numeric(16,10) for comparison due to precision issues.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8396 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 23:21:31 +00:00
Regina Obe
77136fc816
Add -Y copy switch
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8395 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 22:39:19 +00:00
Regina Obe
d83d800336
more examples -- put in a missing copy switch -- more switches to add.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8394 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 21:58:41 +00:00
Bborie Park
aaf3ac45ef
Fixed handling of output ranges going from high to low rather than the default of values going from low to high. Based upon message on postgis-users: http://postgis.refractions.net/pipermail/postgis-users/2011-December/031763.html
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8393 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 21:19:54 +00:00
Bborie Park
86b28dbea3
Fixed incorrect entity using_raster_dataman.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8392 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 20:05:47 +00:00
Regina Obe
a59ccb741b
break raste loder into its own data management chapter -- this chapter will expand in time. Get rid of how to use old raster2pgsql.py and replace with instructions on using raster2pgsql executable.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8391 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 19:15:37 +00:00
Bborie Park
d36b2ec5cd
Removal of now-unsupported AddRasterColumn, DropRasterColumn and DropRasterTable.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8390 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 18:19:34 +00:00
Bborie Park
7f9341fa45
Added DROP AGGREGATE for new ST_Union signature. Associated ticket is #1372 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8389 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 18:16:39 +00:00
Bborie Park
6faca65856
Removed PGXS and added explicit bin path variable. Works now in 8.4, 9.0 and 9.1. Related ticket is #1370 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8388 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 17:24:55 +00:00
Sandro Santilli
bb40cc0d8e
Drop the old postgis_restore.pl and substitute it with the new one
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8387 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 16:37:47 +00:00
Sandro Santilli
fbd6c340f0
Ignore more Makefiles
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8386 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 16:33:56 +00:00
Sandro Santilli
8b5af03c83
Strictness fixes, internal docs
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8385 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 16:33:50 +00:00
Bborie Park
57870f9d28
Revert change made in r8383. Install of loader doesn't work correctly without PGXS. Still need to figure out why LDFLAGS is getting eaten.
...
Associated ticket is #1370 .
git-svn-id: http://svn.osgeo.org/postgis/trunk@8384 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 15:04:03 +00:00
Bborie Park
5b262f1f81
Removed PGXS as per ticket #1370 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8383 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 14:14:57 +00:00
Sandro Santilli
a83ff63d4d
Maintain the buffer-returns-areal invariant on empty input ( #322 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8382 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 12:00:56 +00:00
Sandro Santilli
83acab6ec3
tabs to spaces
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8381 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 12:00:46 +00:00
Sandro Santilli
7c12e01d59
Always output create ore replace view in upgrade scripts ( #1097 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8380 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 10:38:19 +00:00
Sandro Santilli
91a9f373bf
Allow function definitions to end with '$$ LANGUAGE' ( #1365 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8379 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 09:59:10 +00:00
Sandro Santilli
43e96e3168
Use warnings
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8378 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 09:59:01 +00:00
Sandro Santilli
27c9c6db3c
Encode dependency of upgrade script from the tool generating it
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8377 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 09:58:54 +00:00
Sandro Santilli
3f59a23ae5
Add copyright headers, looking at SCM logs. Review welcome.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8376 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 09:16:09 +00:00
Bborie Park
fa761d69b1
Text format cleanup in loader/raster2pgsql.c. Fixed missing target in scripts/Makefile.in
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8375 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 05:23:52 +00:00
Bborie Park
6ee58dd0ec
Added missing Makefile.in for raster/scripts
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8374 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 05:11:53 +00:00
Bborie Park
fd89c8dc75
Set svn:keywords for "$Id$"
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8373 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 05:06:40 +00:00
Bborie Park
3802f3def4
Added version information.
...
Associated ticket is #1369 .
git-svn-id: http://svn.osgeo.org/postgis/trunk@8372 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 05:03:20 +00:00
Bborie Park
ad529be679
With commit of C-based raster2pgsql in r8369, removed dependency checks on Python, NumPy and GDAL with Python bindings. You will want to run autogen.sh with this commit. With this commit, the python-based raster2pgsql.py is now retired and unsupported.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8371 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 03:00:12 +00:00
Bborie Park
77a9cd97c1
Additional check with warnings if PostgreSQL identifiers exceed the standard maximum length of 63 characters (64 counting NULL)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8370 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 01:58:50 +00:00
Bborie Park
8b8ce38f5d
Addition of C-based raster2pgsql in raster/loader. No changes have been made to remove the existing python-based raster2pgsql.py nor remove the python dependency in configure. Users will need to run autogen.sh after this revision.
...
Associated ticket is #1297 .
git-svn-id: http://svn.osgeo.org/postgis/trunk@8369 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-12 23:12:46 +00:00
Sandro Santilli
b5665989f7
Skip constraints on raster_columns and raster_overviews
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8368 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-12 22:42:36 +00:00
Regina Obe
adc73b04ce
fix title
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8367 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-12 22:38:41 +00:00