]> granicus.if.org Git - postgis/log
postgis
13 years agoFix for #1589 and #1633.
Pierre Racine [Thu, 1 Mar 2012 21:05:09 +0000 (21:05 +0000)]
Fix for #1589 and #1633.

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

13 years agopostgis_drop_before.sql.in.c => postgis_drop_before.sql
Sandro Santilli [Thu, 1 Mar 2012 20:32:41 +0000 (20:32 +0000)]
postgis_drop_before.sql.in.c => postgis_drop_before.sql

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

13 years agoMake --prefix note a warning rather than a failure. (#1628)
Paul Ramsey [Thu, 1 Mar 2012 19:46:45 +0000 (19:46 +0000)]
Make --prefix note a warning rather than a failure. (#1628)

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

13 years agoAdd an internal topology._st_mintolerance funtion
Sandro Santilli [Thu, 1 Mar 2012 19:09:50 +0000 (19:09 +0000)]
Add an internal topology._st_mintolerance funtion

This function computes the minimum tolerance for a given geometry.
It works by computing the smallest floating point difference that
could be expressed on any vertex of the geometry.

Currently it's only used to workaround the ST_DWithin/ST_Within
inconsistency (#1625) but could probably be used everytime 0 is
passed as a tolerance, possibly fixing #1641 as well.

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

13 years agoUpdate regression tests for 1-raster ST_MapAlgebraExpr due to commit r9371
Bborie Park [Thu, 1 Mar 2012 16:47:20 +0000 (16:47 +0000)]
Update regression tests for 1-raster ST_MapAlgebraExpr due to commit r9371

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

13 years agoFix for ticket #1635. Added explicit ~ and && operators on raster and geometry.
Pierre Racine [Thu, 1 Mar 2012 16:47:18 +0000 (16:47 +0000)]
Fix for ticket #1635. Added explicit ~ and && operators on raster and geometry.

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

13 years agoForced casting of output from 1-raster ST_MapAlgebraExpr. Ticket is #1639.
Bborie Park [Thu, 1 Mar 2012 15:59:39 +0000 (15:59 +0000)]
Forced casting of output from 1-raster ST_MapAlgebraExpr.  Ticket is #1639.

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

13 years agoMathML DTDs are also needed for the HTML
Sandro Santilli [Thu, 1 Mar 2012 15:51:43 +0000 (15:51 +0000)]
MathML DTDs are also needed for the HTML

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

13 years agoadded MathML 3 DTD to requirements in doc
Sandro Santilli [Thu, 1 Mar 2012 15:51:35 +0000 (15:51 +0000)]
added MathML 3 DTD to requirements in doc

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

13 years agoAdd a test for #1641 using a tolerance (1e-16 is good enough)
Sandro Santilli [Thu, 1 Mar 2012 15:14:27 +0000 (15:14 +0000)]
Add a test for #1641 using a tolerance (1e-16 is good enough)

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

13 years agoAdd test for #1641 (disabled as it would fail)
Sandro Santilli [Thu, 1 Mar 2012 15:07:58 +0000 (15:07 +0000)]
Add test for #1641 (disabled as it would fail)

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

13 years agoCleanup the face table as well (you just can't drop the universe)
Sandro Santilli [Thu, 1 Mar 2012 15:07:49 +0000 (15:07 +0000)]
Cleanup the face table as well (you just can't drop the universe)

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

13 years agoAdd more items in the skip list (#1640)
Sandro Santilli [Thu, 1 Mar 2012 12:50:19 +0000 (12:50 +0000)]
Add more items in the skip list (#1640)

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

13 years agoAdd tests for ptarray_insert_point (see #1640)
Sandro Santilli [Thu, 1 Mar 2012 12:25:58 +0000 (12:25 +0000)]
Add tests for ptarray_insert_point (see #1640)

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

13 years agoCheck args passed to ptarray_set_point4d
Sandro Santilli [Thu, 1 Mar 2012 12:25:50 +0000 (12:25 +0000)]
Check args passed to ptarray_set_point4d

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

13 years agoDrop reference to postgis_uses_stats (#1632)
Sandro Santilli [Thu, 1 Mar 2012 11:58:43 +0000 (11:58 +0000)]
Drop reference to postgis_uses_stats (#1632)

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

13 years agoProperly exit the loop parsing spatial_ref_sys population (#1640)
Sandro Santilli [Thu, 1 Mar 2012 09:16:15 +0000 (09:16 +0000)]
Properly exit the loop parsing spatial_ref_sys population (#1640)

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

13 years agoDrop postgis_uses_stats (#1632)
Sandro Santilli [Thu, 1 Mar 2012 08:54:38 +0000 (08:54 +0000)]
Drop postgis_uses_stats (#1632)

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

13 years agoRename drop files to be hopefully clearer, add copyright headers
Sandro Santilli [Thu, 1 Mar 2012 08:26:34 +0000 (08:26 +0000)]
Rename drop files to be hopefully clearer, add copyright headers

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

13 years agoStop including drop calls from main postgis.sql file
Sandro Santilli [Thu, 1 Mar 2012 08:26:25 +0000 (08:26 +0000)]
Stop including drop calls from main postgis.sql file

Upgrade file is still generated with the drop file included

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

13 years agomake parse location error test a little more lenient
Paul Ramsey [Wed, 29 Feb 2012 18:58:06 +0000 (18:58 +0000)]
make parse location error test a little more lenient

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

13 years agoUpdate for post-Beta1
Paul Ramsey [Wed, 29 Feb 2012 18:19:24 +0000 (18:19 +0000)]
Update for post-Beta1

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

13 years agoUpdate for beta1
Paul Ramsey [Wed, 29 Feb 2012 18:18:42 +0000 (18:18 +0000)]
Update for beta1

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

13 years agoCheck first point after snapping an edge to a new point (#1631)
Sandro Santilli [Wed, 29 Feb 2012 15:59:14 +0000 (15:59 +0000)]
Check first point after snapping an edge to a new point (#1631)

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

13 years agoGet the deprecated function right (fixes previous commit)
Sandro Santilli [Wed, 29 Feb 2012 14:20:41 +0000 (14:20 +0000)]
Get the deprecated function right (fixes previous commit)

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

13 years agoDrop removed st_clip function (#1630)
Sandro Santilli [Wed, 29 Feb 2012 14:14:19 +0000 (14:14 +0000)]
Drop removed st_clip function (#1630)

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

13 years agoDo not install intermediary files (#1621)
Sandro Santilli [Wed, 29 Feb 2012 13:52:38 +0000 (13:52 +0000)]
Do not install intermediary files (#1621)

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

13 years agoDon't override postgis_svn_revision.h with a fake revision (#1634)
Sandro Santilli [Wed, 29 Feb 2012 13:35:20 +0000 (13:35 +0000)]
Don't override postgis_svn_revision.h with a fake revision (#1634)

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

13 years agoStop using postgis_uses_stats() from postgis_full_version() (#1632)
Sandro Santilli [Wed, 29 Feb 2012 10:55:02 +0000 (10:55 +0000)]
Stop using postgis_uses_stats() from postgis_full_version() (#1632)

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

13 years agoIntegrate upgrade tips in postgis_full_version reference
Sandro Santilli [Wed, 29 Feb 2012 10:48:03 +0000 (10:48 +0000)]
Integrate upgrade tips in postgis_full_version reference

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

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