]> granicus.if.org Git - postgis/log
postgis
13 years agoMention rtpostgis_upgrade* and topology_upgrade* in manual (#1611)
Sandro Santilli [Wed, 29 Feb 2012 10:39:42 +0000 (10:39 +0000)]
Mention rtpostgis_upgrade* and topology_upgrade* in manual (#1611)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9345 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoHave XSLTPROCFLAGS default to --nonet
Sandro Santilli [Wed, 29 Feb 2012 10:08:37 +0000 (10:08 +0000)]
Have XSLTPROCFLAGS default to --nonet

This way you can drop by redefining it as in: make XSLTPROCFLAGS=

git-svn-id: http://svn.osgeo.org/postgis/trunk@9344 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd support for a user-defined XSLTPROCFLAGS variable to append
Sandro Santilli [Wed, 29 Feb 2012 09:51:26 +0000 (09:51 +0000)]
Add support for a user-defined XSLTPROCFLAGS variable to append

Example: make -C doc html XSLTPROCFLAGS=--nonet

Still defaults to allow net access, I couldn't find an option to
override --nonet with its contraty...

git-svn-id: http://svn.osgeo.org/postgis/trunk@9343 b70326c6-7e19-0410-871a-916f4a2858ee

13 years ago#1630: Swap the order of dropping - you have to drop the function first before the...
Regina Obe [Wed, 29 Feb 2012 09:00:10 +0000 (09:00 +0000)]
#1630: Swap the order of dropping - you have to drop the function first before the type

git-svn-id: http://svn.osgeo.org/postgis/trunk@9342 b70326c6-7e19-0410-871a-916f4a2858ee

13 years ago#1630: drop wktgeomval type from extension, but still can't drop because of function...
Regina Obe [Wed, 29 Feb 2012 08:44:00 +0000 (08:44 +0000)]
#1630: drop wktgeomval type from extension, but still can't drop because of function _st_dumpaswktpolygons

git-svn-id: http://svn.osgeo.org/postgis/trunk@9341 b70326c6-7e19-0410-871a-916f4a2858ee

13 years ago#1619: Logic to mark spatial_ref_sys, topology, layers tables as user editable so...
Regina Obe [Wed, 29 Feb 2012 08:04:55 +0000 (08:04 +0000)]
#1619: Logic to mark spatial_ref_sys, topology, layers tables as user editable so that the data in them gets backed up during pg_dump

git-svn-id: http://svn.osgeo.org/postgis/trunk@9340 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agogit-svn-id: http://svn.osgeo.org/postgis/trunk@9339 b70326c6-7e19-0410-871a-916f4a2858ee
Pierre Racine [Wed, 29 Feb 2012 03:01:03 +0000 (03:01 +0000)]
git-svn-id: http://svn.osgeo.org/postgis/trunk@9339 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoOther minor fix.
Pierre Racine [Wed, 29 Feb 2012 02:56:15 +0000 (02:56 +0000)]
Other minor fix.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9338 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agofix doc typo.
Pierre Racine [Wed, 29 Feb 2012 02:51:27 +0000 (02:51 +0000)]
fix doc typo.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9337 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix for ticket 1536. Added a nodataval[] parameter to ST_Intersection and removed...
Pierre Racine [Wed, 29 Feb 2012 02:47:35 +0000 (02:47 +0000)]
Fix for ticket 1536. Added a nodataval[] parameter to ST_Intersection and removed the otheruserfunc one.

Changed the ST_Clip trimraster parameter name to crop and set it to true by default.

Updated the doc.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9336 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix for MinGW!
Paul Ramsey [Wed, 29 Feb 2012 00:52:31 +0000 (00:52 +0000)]
Fix for MinGW!

git-svn-id: http://svn.osgeo.org/postgis/trunk@9335 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix for windoze!
Paul Ramsey [Wed, 29 Feb 2012 00:49:57 +0000 (00:49 +0000)]
Fix for windoze!

git-svn-id: http://svn.osgeo.org/postgis/trunk@9334 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMake our --prefix policy crystal clear
Paul Ramsey [Tue, 28 Feb 2012 18:50:18 +0000 (18:50 +0000)]
Make our --prefix policy crystal clear

git-svn-id: http://svn.osgeo.org/postgis/trunk@9333 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix regression due to new error message in GML generation
Paul Ramsey [Tue, 28 Feb 2012 18:29:57 +0000 (18:29 +0000)]
Fix regression due to new error message in GML generation

git-svn-id: http://svn.osgeo.org/postgis/trunk@9332 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMake error message on GML2 calls for TIN more instructive (#1591)
Paul Ramsey [Tue, 28 Feb 2012 18:09:49 +0000 (18:09 +0000)]
Make error message on GML2 calls for TIN more instructive (#1591)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9331 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTopoGeo_addPoint: use a more functional tolerance when snapping (#1613)
Sandro Santilli [Tue, 28 Feb 2012 17:17:39 +0000 (17:17 +0000)]
TopoGeo_addPoint: use a more functional tolerance when snapping (#1613)

All of this looks like magic but it isn't.
I actually wonder if ST_ModEdgeSplit and ST_ModEdgesSplit and ST_Split
itself should do this internally, and if in doing so we wouldn't need
to do it from higher levels. It doesn't indeed feel comfortable to do
all this noise on such an high level.

Anyway this commit adds a now-passing regression test for the topology
building issue and that's A Good Thing.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9330 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoHush debugging lines unless requested
Sandro Santilli [Tue, 28 Feb 2012 17:17:29 +0000 (17:17 +0000)]
Hush debugging lines unless requested

git-svn-id: http://svn.osgeo.org/postgis/trunk@9329 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoIgnore extension sql target dirs
Sandro Santilli [Tue, 28 Feb 2012 10:43:59 +0000 (10:43 +0000)]
Ignore extension sql target dirs

git-svn-id: http://svn.osgeo.org/postgis/trunk@9328 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoHave configure look for mathml2.dtd, rework doc build scripts (#1157)
Sandro Santilli [Tue, 28 Feb 2012 10:28:20 +0000 (10:28 +0000)]
Have configure look for mathml2.dtd, rework doc build scripts (#1157)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9327 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agocorrect proto output type -- ST_Union of rasters always returns a raster
Regina Obe [Tue, 28 Feb 2012 10:17:06 +0000 (10:17 +0000)]
correct proto output type -- ST_Union of rasters always returns a raster

git-svn-id: http://svn.osgeo.org/postgis/trunk@9326 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSet eol-style to LF
Paul Ramsey [Tue, 28 Feb 2012 06:13:17 +0000 (06:13 +0000)]
Set eol-style to LF

git-svn-id: http://svn.osgeo.org/postgis/trunk@9325 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTry again with line endings, this time using eol-style instead of eol-type (#1605)
Paul Ramsey [Mon, 27 Feb 2012 22:08:12 +0000 (22:08 +0000)]
Try again with line endings, this time using eol-style instead of eol-type (#1605)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9324 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSet appropriate mime types and text file types on all files. (#1605)
Paul Ramsey [Mon, 27 Feb 2012 20:58:36 +0000 (20:58 +0000)]
Set appropriate mime types and text file types on all files. (#1605)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9323 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoLoad the "right" legacy.sql file (warning: hard coding 00-regress-install into a...
Paul Ramsey [Mon, 27 Feb 2012 18:19:54 +0000 (18:19 +0000)]
Load the "right" legacy.sql file (warning: hard coding 00-regress-install into a sql file).

git-svn-id: http://svn.osgeo.org/postgis/trunk@9322 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoQuiet compile warning.
Paul Ramsey [Mon, 27 Feb 2012 18:13:49 +0000 (18:13 +0000)]
Quiet compile warning.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9321 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoUse rounder numbers in tests (fixes a regression on 32bit system)
Sandro Santilli [Mon, 27 Feb 2012 18:07:38 +0000 (18:07 +0000)]
Use rounder numbers in tests (fixes a regression on 32bit system)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9320 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoIgnore LF/CRLF differences when differencing sql output files in raster tests.
Paul Ramsey [Mon, 27 Feb 2012 17:48:46 +0000 (17:48 +0000)]
Ignore LF/CRLF differences when differencing sql output files in raster tests.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9319 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd regression test for legacy.sql and uninstall_legacy.sql (#915)
Sandro Santilli [Mon, 27 Feb 2012 17:36:45 +0000 (17:36 +0000)]
Add regression test for legacy.sql and uninstall_legacy.sql (#915)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9318 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoProperly cleanup spatial_ref_sys after loader tests
Sandro Santilli [Mon, 27 Feb 2012 17:36:36 +0000 (17:36 +0000)]
Properly cleanup spatial_ref_sys after loader tests

git-svn-id: http://svn.osgeo.org/postgis/trunk@9317 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoProperly cleanup spatial_ref_sys
Sandro Santilli [Mon, 27 Feb 2012 17:36:27 +0000 (17:36 +0000)]
Properly cleanup spatial_ref_sys

git-svn-id: http://svn.osgeo.org/postgis/trunk@9316 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDefine the legacy 'within' as a proxy to ST_Within as the C entry point was dropped
Sandro Santilli [Mon, 27 Feb 2012 16:55:46 +0000 (16:55 +0000)]
Define the legacy 'within' as a proxy to ST_Within as the C entry point was dropped

git-svn-id: http://svn.osgeo.org/postgis/trunk@9315 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoGenerate uninstall_legacy.sql from legacy.sql (#949)
Sandro Santilli [Mon, 27 Feb 2012 16:52:47 +0000 (16:52 +0000)]
Generate uninstall_legacy.sql from legacy.sql (#949)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9314 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoCorrect handling of 8BSI pixel types when converting a raster to a GDAL MEM dataset...
Bborie Park [Mon, 27 Feb 2012 16:42:03 +0000 (16:42 +0000)]
Correct handling of 8BSI pixel types when converting a raster to a GDAL MEM dataset.  This should resolve the failures in #1617.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9313 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix "make clean" to drop all generated files
Sandro Santilli [Mon, 27 Feb 2012 16:26:53 +0000 (16:26 +0000)]
Fix "make clean" to drop all generated files

git-svn-id: http://svn.osgeo.org/postgis/trunk@9312 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoEncode dependency of topology script on sqldefines (for version)
Sandro Santilli [Mon, 27 Feb 2012 16:06:24 +0000 (16:06 +0000)]
Encode dependency of topology script on sqldefines (for version)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9311 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoHave postgis_full_version() check versions of all objects (#1608)
Sandro Santilli [Mon, 27 Feb 2012 15:55:07 +0000 (15:55 +0000)]
Have postgis_full_version() check versions of all objects (#1608)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9310 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoHave postgis_raster_lib_version() include SVN revision (#1608)
Sandro Santilli [Mon, 27 Feb 2012 15:39:11 +0000 (15:39 +0000)]
Have postgis_raster_lib_version() include SVN revision (#1608)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9309 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agost_clip signature changed (#1620)
Sandro Santilli [Mon, 27 Feb 2012 15:26:48 +0000 (15:26 +0000)]
st_clip signature changed (#1620)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9308 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd postgis_raster_scripts_installed() function (#1608)
Sandro Santilli [Mon, 27 Feb 2012 15:03:06 +0000 (15:03 +0000)]
Add postgis_raster_scripts_installed() function (#1608)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9307 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd postgis_topology_scripts_installed() function (#1608)
Sandro Santilli [Mon, 27 Feb 2012 15:02:58 +0000 (15:02 +0000)]
Add postgis_topology_scripts_installed() function (#1608)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9306 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoupdate to March. Seems likely we'll miss the February boat. Maybe shoot for March.
Regina Obe [Mon, 27 Feb 2012 14:08:35 +0000 (14:08 +0000)]
update to March.  Seems likely we'll miss the February boat.  Maybe shoot for March.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9305 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSet script version to master version + svn revision (#1608)
Sandro Santilli [Mon, 27 Feb 2012 11:22:12 +0000 (11:22 +0000)]
Set script version to master version + svn revision (#1608)

Affects postgis_scripts_released() and posgis_scripts_installed().
Needs some wider testing of upgrade scripts and then will attach
the same version to raster and topology.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9304 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdditional test of rt_raster_to_gdal().
Bborie Park [Sun, 26 Feb 2012 18:31:38 +0000 (18:31 +0000)]
Additional test of rt_raster_to_gdal().

git-svn-id: http://svn.osgeo.org/postgis/trunk@9303 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMinor update to comments.
Paul Ramsey [Sat, 25 Feb 2012 20:35:26 +0000 (20:35 +0000)]
Minor update to comments.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9302 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSimplify table/schema copying, hopefully fix windows.
Paul Ramsey [Sat, 25 Feb 2012 20:30:42 +0000 (20:30 +0000)]
Simplify table/schema copying, hopefully fix windows.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9301 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoCompress sed calls into one to make life better for MSYS
Paul Ramsey [Sat, 25 Feb 2012 19:46:00 +0000 (19:46 +0000)]
Compress sed calls into one to make life better for MSYS

git-svn-id: http://svn.osgeo.org/postgis/trunk@9300 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoCorrect fix for win32 crasher, it was proj returning a null error string.
Paul Ramsey [Sat, 25 Feb 2012 17:10:23 +0000 (17:10 +0000)]
Correct fix for win32 crasher, it was proj returning a null error string.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9299 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSPI_finish before dropping out on NULL proj4text
Paul Ramsey [Sat, 25 Feb 2012 05:53:11 +0000 (05:53 +0000)]
SPI_finish before dropping out on NULL proj4text

git-svn-id: http://svn.osgeo.org/postgis/trunk@9298 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMatch to new behavior on null proj4text
Paul Ramsey [Sat, 25 Feb 2012 05:49:34 +0000 (05:49 +0000)]
Match to new behavior on null proj4text

git-svn-id: http://svn.osgeo.org/postgis/trunk@9297 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRemove Win32 crasher on NULL proj4 string
Paul Ramsey [Sat, 25 Feb 2012 03:12:30 +0000 (03:12 +0000)]
Remove Win32 crasher on NULL proj4 string

git-svn-id: http://svn.osgeo.org/postgis/trunk@9296 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoQuote out the svn and git commands for windoze
Paul Ramsey [Fri, 24 Feb 2012 23:58:16 +0000 (23:58 +0000)]
Quote out the svn and git commands for windoze

git-svn-id: http://svn.osgeo.org/postgis/trunk@9295 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoForgot to update regression tests for changes made in r9293
Bborie Park [Fri, 24 Feb 2012 23:42:58 +0000 (23:42 +0000)]
Forgot to update regression tests for changes made in r9293

git-svn-id: http://svn.osgeo.org/postgis/trunk@9294 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFixed conversion of pixel types between PostGIS raster and GDAL. Essentially PostGIS...
Bborie Park [Fri, 24 Feb 2012 22:54:10 +0000 (22:54 +0000)]
Fixed conversion of pixel types between PostGIS raster and GDAL.  Essentially PostGIS raster 8BSI is now a GDT_Int16.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9293 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMinor corrections.
Pierre Racine [Fri, 24 Feb 2012 22:46:30 +0000 (22:46 +0000)]
Minor corrections.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9292 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix up the revision info in the usage lines
Paul Ramsey [Fri, 24 Feb 2012 22:41:09 +0000 (22:41 +0000)]
Fix up the revision info in the usage lines

git-svn-id: http://svn.osgeo.org/postgis/trunk@9291 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMake sure the created backend temp directory is world writeable
Sandro Santilli [Fri, 24 Feb 2012 20:17:38 +0000 (20:17 +0000)]
Make sure the created backend temp directory is world writeable

git-svn-id: http://svn.osgeo.org/postgis/trunk@9290 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdditional fixups to not increase extent if an alignment is to take place in rt_raste...
Bborie Park [Fri, 24 Feb 2012 19:24:02 +0000 (19:24 +0000)]
Additional fixups to not increase extent if an alignment is to take place in rt_raster_gdal_rasterize().

git-svn-id: http://svn.osgeo.org/postgis/trunk@9289 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoBe immune from topology sequence advancements
Sandro Santilli [Fri, 24 Feb 2012 19:11:55 +0000 (19:11 +0000)]
Be immune from topology sequence advancements

git-svn-id: http://svn.osgeo.org/postgis/trunk@9288 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMake sure the regress tmp directory exists before trying to write to it.
Paul Ramsey [Fri, 24 Feb 2012 18:49:09 +0000 (18:49 +0000)]
Make sure the regress tmp directory exists before trying to write to it.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9287 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdded additional conditions for rt_raster_gdal_rasterize() determining when to expand...
Bborie Park [Fri, 24 Feb 2012 17:33:48 +0000 (17:33 +0000)]
Added additional conditions for rt_raster_gdal_rasterize() determining when to expand the extent.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9286 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDo not report "face without edges" error for universal face (#1612)
Sandro Santilli [Fri, 24 Feb 2012 15:23:35 +0000 (15:23 +0000)]
Do not report "face without edges" error for universal face (#1612)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9285 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRename the backend temp dir and drop with brute force
Sandro Santilli [Fri, 24 Feb 2012 15:23:13 +0000 (15:23 +0000)]
Rename the backend temp dir and drop with brute force

Avoids errors when no test writes anything in there (so no dir)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9284 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoProperly drop the temporary directory setup for backend output
Sandro Santilli [Fri, 24 Feb 2012 10:21:17 +0000 (10:21 +0000)]
Properly drop the temporary directory setup for backend output

This prevents errors when running "make check" against backends
owned by different users.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9283 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSet all raster CASTs to be ASSIGNMENT not IMPLICIT. Related ticket is #490. Knowing...
Bborie Park [Fri, 24 Feb 2012 05:05:25 +0000 (05:05 +0000)]
Set all raster CASTs to be ASSIGNMENT not IMPLICIT.  Related ticket is #490.  Knowing my luck, I'll be reverting this due to some showstopper.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9282 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdded correct handling of negative scale-x and positive scale-y in rt_raster_gdal_warp().
Bborie Park [Thu, 23 Feb 2012 22:25:54 +0000 (22:25 +0000)]
Added correct handling of negative scale-x and positive scale-y in rt_raster_gdal_warp().

git-svn-id: http://svn.osgeo.org/postgis/trunk@9281 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRenamed rt_raster_dump_as_wktpolygons() to rt_raster_gdal_polygonize(). Refactored...
Bborie Park [Thu, 23 Feb 2012 21:49:51 +0000 (21:49 +0000)]
Renamed rt_raster_dump_as_wktpolygons() to rt_raster_gdal_polygonize().  Refactored rt_raster_gdal_polygonize() to use LWPOLY objects instead of WKT strings.  Also added cleanup code to make invalid dumped geometries valid.  Associated tickets are #1586 and #637.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9280 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDon't deep clone POINTARRAY in GML input routine.
Sandro Santilli [Thu, 23 Feb 2012 16:07:05 +0000 (16:07 +0000)]
Don't deep clone POINTARRAY in GML input routine.

Let's see if doing so exposes more memory errors (#1591).
Does run valgrind clean here.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9279 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRewrote most of ST_AsRaster. Grouped similar variants to make everything a bit more...
Pierre Racine [Thu, 23 Feb 2012 15:42:16 +0000 (15:42 +0000)]
Rewrote most of ST_AsRaster. Grouped similar variants to make everything a bit more readable.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9278 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSet the default regression temp dir to /tmp/pgis_reg (#1607)
Sandro Santilli [Thu, 23 Feb 2012 13:28:16 +0000 (13:28 +0000)]
Set the default regression temp dir to /tmp/pgis_reg (#1607)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9277 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoHave ST_GetFaceGeometry check face existance, regress-test
Sandro Santilli [Thu, 23 Feb 2012 12:54:48 +0000 (12:54 +0000)]
Have ST_GetFaceGeometry check face existance, regress-test

git-svn-id: http://svn.osgeo.org/postgis/trunk@9276 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDrop the UpdateGeometrySRID version with old param name (#1606)
Sandro Santilli [Thu, 23 Feb 2012 11:24:28 +0000 (11:24 +0000)]
Drop the UpdateGeometrySRID version with old param name (#1606)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9275 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoCorrectly handle the new lexer/parser output files
Paul Ramsey [Wed, 22 Feb 2012 23:13:20 +0000 (23:13 +0000)]
Correctly handle the new lexer/parser output files

git-svn-id: http://svn.osgeo.org/postgis/trunk@9272 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRewrote chunks of rt_raster_gdal_warp() and rt_raster_gdal_rasterize() to correctly...
Bborie Park [Wed, 22 Feb 2012 23:06:26 +0000 (23:06 +0000)]
Rewrote chunks of rt_raster_gdal_warp() and rt_raster_gdal_rasterize() to correctly generate skewed rasters.  Related ticket is #1395.  This should also resolve #1586.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9271 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSet svn:eol-style native (#1598)
Paul Ramsey [Wed, 22 Feb 2012 20:38:25 +0000 (20:38 +0000)]
Set svn:eol-style native (#1598)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9270 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoUpdate numbers for alpha6
Paul Ramsey [Wed, 22 Feb 2012 19:40:43 +0000 (19:40 +0000)]
Update numbers for alpha6

git-svn-id: http://svn.osgeo.org/postgis/trunk@9267 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoput in LF instruction to prevent my windows from putting in windows offensive line...
Regina Obe [Wed, 22 Feb 2012 19:31:17 +0000 (19:31 +0000)]
put in LF instruction to prevent my windows from putting in windows offensive line breaks

git-svn-id: http://svn.osgeo.org/postgis/trunk@9266 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoChange dos to unix lineends. (#1598)
Paul Ramsey [Wed, 22 Feb 2012 19:29:59 +0000 (19:29 +0000)]
Change dos to unix lineends. (#1598)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9265 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoIgnore makefile
Paul Ramsey [Wed, 22 Feb 2012 19:20:37 +0000 (19:20 +0000)]
Ignore makefile

git-svn-id: http://svn.osgeo.org/postgis/trunk@9264 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoReally remove the dos linefeeds this time (#1598)
Paul Ramsey [Wed, 22 Feb 2012 19:18:21 +0000 (19:18 +0000)]
Really remove the dos linefeeds this time (#1598)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9263 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRevert dos lineending commit that blew away those files...
Paul Ramsey [Wed, 22 Feb 2012 19:08:00 +0000 (19:08 +0000)]
Revert dos lineending commit that blew away those files...

git-svn-id: http://svn.osgeo.org/postgis/trunk@9262 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoUse consistent UNIX line endings (#1598) fix up those files that pass through the...
Paul Ramsey [Wed, 22 Feb 2012 19:01:46 +0000 (19:01 +0000)]
Use consistent UNIX line endings (#1598) fix up those files that pass through the C preprocessor at least.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9261 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSwitch to evaluating tests using psql with verbosity=terse
Paul Ramsey [Wed, 22 Feb 2012 18:59:09 +0000 (18:59 +0000)]
Switch to evaluating tests using psql with verbosity=terse

git-svn-id: http://svn.osgeo.org/postgis/trunk@9260 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix ST_Polygonize aggregate to retain Z (#1602)
Sandro Santilli [Wed, 22 Feb 2012 17:19:42 +0000 (17:19 +0000)]
Fix ST_Polygonize aggregate to retain Z (#1602)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9258 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoStay within 80 cols
Sandro Santilli [Wed, 22 Feb 2012 15:52:57 +0000 (15:52 +0000)]
Stay within 80 cols

git-svn-id: http://svn.osgeo.org/postgis/trunk@9257 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoParametrize max user SRID in the SQL file too
Sandro Santilli [Wed, 22 Feb 2012 15:33:24 +0000 (15:33 +0000)]
Parametrize max user SRID in the SQL file too

git-svn-id: http://svn.osgeo.org/postgis/trunk@9256 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoCheck SRID passed to UpdateGeometrySRID, patch by Mike Toews (#1596)
Sandro Santilli [Wed, 22 Feb 2012 12:49:08 +0000 (12:49 +0000)]
Check SRID passed to UpdateGeometrySRID, patch by Mike Toews (#1596)

Adds regression testing

git-svn-id: http://svn.osgeo.org/postgis/trunk@9253 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoForward port fix to #1595, although there's no way to expose in 2.0
Sandro Santilli [Wed, 22 Feb 2012 12:48:58 +0000 (12:48 +0000)]
Forward port fix to #1595, although there's no way to expose in 2.0

git-svn-id: http://svn.osgeo.org/postgis/trunk@9252 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agocorrect st_clip raster so eimage matches the code. the behavior changed butthe code...
Regina Obe [Wed, 22 Feb 2012 03:09:12 +0000 (03:09 +0000)]
correct st_clip raster so eimage matches the code.  the behavior changed butthe code was wrong (showing old behavior).  Also put back the multiband case using new syntax which is probably more common usaage.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9251 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdded single quote around 8BUI since the XSL now escape them. See #1588.
Pierre Racine [Tue, 21 Feb 2012 15:51:16 +0000 (15:51 +0000)]
Added single quote around 8BUI since the XSL now escape them. See #1588.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9249 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdded one missign default value for the value parameter of ST_AsRaster and added...
Pierre Racine [Tue, 21 Feb 2012 15:47:38 +0000 (15:47 +0000)]
Added one missign default value for the value parameter of ST_AsRaster and added one missing variant.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9248 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd a ptarray_transform function in liblwgeom API
Sandro Santilli [Tue, 21 Feb 2012 14:32:59 +0000 (14:32 +0000)]
Add a ptarray_transform function in liblwgeom API

git-svn-id: http://svn.osgeo.org/postgis/trunk@9247 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDraft an lwgeom_from_gml function (#1591)
Sandro Santilli [Tue, 21 Feb 2012 13:54:55 +0000 (13:54 +0000)]
Draft an lwgeom_from_gml function (#1591)

Can't be moved all to liblwgeom due to use of spatial_ref_sys

git-svn-id: http://svn.osgeo.org/postgis/trunk@9246 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoPrint SRID in decimal form, not hex (#1593)
Sandro Santilli [Tue, 21 Feb 2012 11:07:44 +0000 (11:07 +0000)]
Print SRID in decimal form, not hex (#1593)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9245 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoUpdate documentation about shp2pgsql -s/-g flag (#1524)
Sandro Santilli [Tue, 21 Feb 2012 10:57:24 +0000 (10:57 +0000)]
Update documentation about shp2pgsql -s/-g flag (#1524)

git-svn-id: http://svn.osgeo.org/postgis/trunk@9244 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd an --extensions switch to run_test (#964)
Sandro Santilli [Tue, 21 Feb 2012 09:43:22 +0000 (09:43 +0000)]
Add an --extensions switch to run_test (#964)

When passing that switch the install and uninstall of spatial db
happens using the EXTENSION model. It's currently not run as part
of "make check" because some tests fail due to use of ambiguos
calls when both core and raster modules are installed (there's no
way to separate them in the EXTENSION model).

git-svn-id: http://svn.osgeo.org/postgis/trunk@9243 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoPut prepare/upgrade/uninstall operations in their own functions
Sandro Santilli [Tue, 21 Feb 2012 09:07:59 +0000 (09:07 +0000)]
Put prepare/upgrade/uninstall operations in their own functions

git-svn-id: http://svn.osgeo.org/postgis/trunk@9242 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMore work on ST_Resample and ST_Intersection
Pierre Racine [Mon, 20 Feb 2012 20:09:52 +0000 (20:09 +0000)]
More work on ST_Resample and ST_Intersection

git-svn-id: http://svn.osgeo.org/postgis/trunk@9241 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoIgnore generated extensions and java files
Sandro Santilli [Mon, 20 Feb 2012 14:32:38 +0000 (14:32 +0000)]
Ignore generated extensions and java files

git-svn-id: http://svn.osgeo.org/postgis/trunk@9240 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDo not printf from potgis library. Possibly fixes #1570
Sandro Santilli [Mon, 20 Feb 2012 13:28:17 +0000 (13:28 +0000)]
Do not printf from potgis library. Possibly fixes #1570

git-svn-id: http://svn.osgeo.org/postgis/trunk@9239 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoIgnore generated java/jdbc/Makefile
Sandro Santilli [Mon, 20 Feb 2012 13:18:09 +0000 (13:18 +0000)]
Ignore generated java/jdbc/Makefile

git-svn-id: http://svn.osgeo.org/postgis/trunk@9238 b70326c6-7e19-0410-871a-916f4a2858ee