]> granicus.if.org Git - postgis/log
postgis
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

13 years agoEscape single quotes in param list when generating raster comments
Sandro Santilli [Mon, 20 Feb 2012 13:16:05 +0000 (13:16 +0000)]
Escape single quotes in param list when generating raster comments

Closes ticket #1588

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

13 years agoAnt rules to excecute maven by Maria Arias de Reyna (#1437)
Sandro Santilli [Mon, 20 Feb 2012 12:52:58 +0000 (12:52 +0000)]
Ant rules to excecute maven by Maria Arias de Reyna  (#1437)

Also simplify java Makefile to be simple proxies of ant

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

13 years agoUpdate face MBR on edge change (#1587)
Sandro Santilli [Mon, 20 Feb 2012 10:52:31 +0000 (10:52 +0000)]
Update face MBR on edge change (#1587)

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

13 years agoEnhance documentation for ST_ChangeEdgeGeom
Sandro Santilli [Mon, 20 Feb 2012 10:19:10 +0000 (10:19 +0000)]
Enhance documentation for ST_ChangeEdgeGeom

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

13 years agoLink to my office base article on how to display postgis rasters in base reports.
Regina Obe [Fri, 17 Feb 2012 23:41:58 +0000 (23:41 +0000)]
Link to my office base article on how to display postgis rasters in base reports.

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

13 years agoRewrote the ST_Rescale documentation.
Pierre Racine [Fri, 17 Feb 2012 22:23:19 +0000 (22:23 +0000)]
Rewrote the ST_Rescale documentation.

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

13 years agoThis works but it makes estimated extent case sensitive both ways (no weaseling out...
Paul Ramsey [Fri, 17 Feb 2012 22:00:39 +0000 (22:00 +0000)]
This works but it makes estimated extent case sensitive both ways (no weaseling out and giving upper case versions of lower case tables) (#1585)

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

13 years agoTicket #1536. First revision of st_intersection(). Removal of the extent parameter...
Pierre Racine [Fri, 17 Feb 2012 20:52:41 +0000 (20:52 +0000)]
Ticket #1536. First revision of st_intersection(). Removal of the extent parameter and first documentation.

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

13 years agoCheck edge disposition around endnodes (#1571)
Sandro Santilli [Fri, 17 Feb 2012 18:29:50 +0000 (18:29 +0000)]
Check edge disposition around endnodes (#1571)

Includes a couple new testcases, for closed and non-closed edges
changing disposition around their end nodes.

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

13 years agoMany more small typo fixes...
Pierre Racine [Fri, 17 Feb 2012 18:28:03 +0000 (18:28 +0000)]
Many more small typo fixes...

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

13 years agoRework edge motion range construction (#1571)
Sandro Santilli [Fri, 17 Feb 2012 15:11:36 +0000 (15:11 +0000)]
Rework edge motion range construction (#1571)

Includes a new testcase which was failing before this change

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

13 years agoAdd another test for ST_ChangeEdgeGeom
Sandro Santilli [Fri, 17 Feb 2012 14:03:28 +0000 (14:03 +0000)]
Add another test for ST_ChangeEdgeGeom

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

13 years agoHandle some (not all) cases of non-isomorphic edge changes (#1571)
Sandro Santilli [Fri, 17 Feb 2012 13:46:33 +0000 (13:46 +0000)]
Handle some (not all) cases of non-isomorphic edge changes (#1571)

The problem is much harder than it looks ...

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

13 years agoAdd test numbers to ST_ChangeEdgeGeom regression cases
Sandro Santilli [Fri, 17 Feb 2012 08:39:55 +0000 (08:39 +0000)]
Add test numbers to ST_ChangeEdgeGeom regression cases

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

13 years agoIgnore utils/postgis_restore.pl (now generated)
Sandro Santilli [Fri, 17 Feb 2012 08:39:45 +0000 (08:39 +0000)]
Ignore utils/postgis_restore.pl (now generated)

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

13 years agoUpdate comment, hopefully clearer now
Sandro Santilli [Thu, 16 Feb 2012 17:45:53 +0000 (17:45 +0000)]
Update comment, hopefully clearer now

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

13 years agoFixed a number of small problem. Capitalized x and y.
Pierre Racine [Thu, 16 Feb 2012 15:49:15 +0000 (15:49 +0000)]
Fixed a number of small problem. Capitalized x and y.

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

13 years agoAdd a topology.GetNodeEdges function
Sandro Santilli [Thu, 16 Feb 2012 10:25:50 +0000 (10:25 +0000)]
Add a topology.GetNodeEdges function

This function is a fundamental topological primitive to do things
like SQL-based poligonization.

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

13 years agoIgnore postgis_svn_revision.h
Sandro Santilli [Thu, 16 Feb 2012 08:49:38 +0000 (08:49 +0000)]
Ignore postgis_svn_revision.h

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

13 years agoSet availability of ST_ChangeEdgeGeom
Sandro Santilli [Thu, 16 Feb 2012 08:08:17 +0000 (08:08 +0000)]
Set availability of ST_ChangeEdgeGeom

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

13 years agoFix cross reference
Sandro Santilli [Thu, 16 Feb 2012 08:08:02 +0000 (08:08 +0000)]
Fix cross reference

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

13 years agoRemove now-obsolete TODO comment
Paul Ramsey [Thu, 16 Feb 2012 00:28:04 +0000 (00:28 +0000)]
Remove now-obsolete TODO comment

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

13 years agoPrepare for Proj4.8 with spheroid info handling
Paul Ramsey [Thu, 16 Feb 2012 00:25:48 +0000 (00:25 +0000)]
Prepare for Proj4.8 with spheroid info handling

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

13 years agoAdd generated files to svn:ignore
Paul Ramsey [Wed, 15 Feb 2012 23:25:51 +0000 (23:25 +0000)]
Add generated files to svn:ignore

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

13 years agojdbc: org.postgis.Point.equals() is not reflexive (#1313)
Paul Ramsey [Wed, 15 Feb 2012 22:45:29 +0000 (22:45 +0000)]
jdbc: org.postgis.Point.equals() is not reflexive (#1313)

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

13 years agoFix XML typo
Paul Ramsey [Wed, 15 Feb 2012 22:34:39 +0000 (22:34 +0000)]
Fix XML typo

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

13 years agoNegative distance argument to ST_Buffer not documented (#1535)
Paul Ramsey [Wed, 15 Feb 2012 22:27:36 +0000 (22:27 +0000)]
Negative distance argument to ST_Buffer not documented (#1535)

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

13 years agoshp2pgsql: a switch to drop M from 4d imports (#900)
Paul Ramsey [Wed, 15 Feb 2012 21:56:50 +0000 (21:56 +0000)]
shp2pgsql: a switch to drop M from 4d imports (#900)

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

13 years agoshp2pgsql: a switch to drop M from 4d imports (#900)
Paul Ramsey [Wed, 15 Feb 2012 21:37:41 +0000 (21:37 +0000)]
shp2pgsql: a switch to drop M from 4d imports (#900)

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

13 years agoUpdated the version returned by the PostGIS_Raster_Lib_Version() example.
Pierre Racine [Wed, 15 Feb 2012 21:23:35 +0000 (21:23 +0000)]
Updated the version returned by the PostGIS_Raster_Lib_Version() example.

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

13 years agoRemoved some garbage.
Pierre Racine [Wed, 15 Feb 2012 21:18:38 +0000 (21:18 +0000)]
Removed some garbage.

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

13 years agoRemove fugitive EOL white space
Paul Ramsey [Wed, 15 Feb 2012 21:12:35 +0000 (21:12 +0000)]
Remove fugitive EOL white space

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

13 years agoAdd minor version upgradeable
Paul Ramsey [Wed, 15 Feb 2012 20:58:56 +0000 (20:58 +0000)]
Add minor version upgradeable

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

13 years agoPush trunk version forward
Paul Ramsey [Wed, 15 Feb 2012 20:57:47 +0000 (20:57 +0000)]
Push trunk version forward

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

13 years agoUpdate meta for alpha5
Paul Ramsey [Wed, 15 Feb 2012 20:55:53 +0000 (20:55 +0000)]
Update meta for alpha5

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

13 years agoFix for #1576 & #1569. ST_Clip now works on multiband rasters and accept an array...
Pierre Racine [Wed, 15 Feb 2012 19:28:31 +0000 (19:28 +0000)]
Fix for #1576 & #1569. ST_Clip now works on multiband rasters and accept an array of nodata values.

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

13 years agoDo not take PROJ4 errno value as a sign of error (#1580)
Sandro Santilli [Wed, 15 Feb 2012 15:59:52 +0000 (15:59 +0000)]
Do not take PROJ4 errno value as a sign of error (#1580)

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

13 years agodd support for fetching SVN revision from pure-git clones (#1579)
Sandro Santilli [Wed, 15 Feb 2012 11:00:11 +0000 (11:00 +0000)]
dd support for fetching SVN revision from pure-git clones (#1579)

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

13 years agoExample of how to use only psql to output a raster image.
Regina Obe [Tue, 14 Feb 2012 22:21:48 +0000 (22:21 +0000)]
Example of how to use only psql to output a raster image.

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

13 years agoFix crash with empty polygons in P-I-P tests (#1578)
Sandro Santilli [Tue, 14 Feb 2012 17:57:45 +0000 (17:57 +0000)]
Fix crash with empty polygons in P-I-P tests (#1578)

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

13 years ago#1494: documentation of new census tract loader and get_tract functions.
Regina Obe [Tue, 14 Feb 2012 17:54:13 +0000 (17:54 +0000)]
#1494: documentation of new census tract loader and get_tract functions.

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

13 years ago#1494: done with programming need to finish documenting and regress test.
Regina Obe [Tue, 14 Feb 2012 17:53:40 +0000 (17:53 +0000)]
#1494: done with programming need to finish documenting and regress test.

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

13 years agoReadded rt_clip regression test.
Bborie Park [Tue, 14 Feb 2012 17:47:12 +0000 (17:47 +0000)]
Readded rt_clip regression test.

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

13 years agoFixed handling of negative X-scale or positive Y-scale in rt_raster_gdal_rasterize...
Bborie Park [Tue, 14 Feb 2012 17:29:45 +0000 (17:29 +0000)]
Fixed handling of negative X-scale or positive Y-scale in rt_raster_gdal_rasterize().  Ticket is #1574.

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

13 years agoWe don't use a profiler anymore
Sandro Santilli [Tue, 14 Feb 2012 17:15:42 +0000 (17:15 +0000)]
We don't use a profiler anymore

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

13 years agoReverting changes that optimize ST_MapAlgebraExpr. Re-advertise x and y parameters...
David Zwarg [Tue, 14 Feb 2012 17:00:00 +0000 (17:00 +0000)]
Reverting changes that optimize ST_MapAlgebraExpr. Re-advertise x and y parameters as int32. Reverts changes from r9137, closes #1557.

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

13 years agoMake one-point lines convertible to GEOS, see #1543
Sandro Santilli [Tue, 14 Feb 2012 13:31:22 +0000 (13:31 +0000)]
Make one-point lines convertible to GEOS, see #1543

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

13 years agoTemporarily remove st_clip regress...
Pierre Racine [Mon, 13 Feb 2012 22:46:36 +0000 (22:46 +0000)]
Temporarily remove st_clip regress...

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

13 years agoConfigured without raster still tries to make raster/rt_pg/rtpostgis.sql (#1575)...
Paul Ramsey [Mon, 13 Feb 2012 22:02:55 +0000 (22:02 +0000)]
Configured without raster still tries to make raster/rt_pg/rtpostgis.sql (#1575) only try to build extensions if we have both raster and topology as well as pgsql 9.1

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

13 years agoClosing ticket #597. Added regression tests for ST_Clip. More tests to come when...
Pierre Racine [Mon, 13 Feb 2012 21:58:53 +0000 (21:58 +0000)]
Closing ticket #597. Added regression tests for ST_Clip. More tests to come when fixing #1576.

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

13 years agoEncode dependency of topology comments and cheatsheet
Sandro Santilli [Mon, 13 Feb 2012 21:25:11 +0000 (21:25 +0000)]
Encode dependency of topology comments and cheatsheet

Same should be done for raster and tiger...

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

13 years agoFix documentation of GetRingEdges
Sandro Santilli [Mon, 13 Feb 2012 20:44:48 +0000 (20:44 +0000)]
Fix documentation of GetRingEdges

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

13 years agoInstall topology comments too, when regressing topology
Sandro Santilli [Mon, 13 Feb 2012 20:44:40 +0000 (20:44 +0000)]
Install topology comments too, when regressing topology

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

13 years agoInstall topology_comments.sql as well
Sandro Santilli [Mon, 13 Feb 2012 20:44:33 +0000 (20:44 +0000)]
Install topology_comments.sql as well

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

13 years agoFix for ticket #1572. ST_PixelAsPolygons() return NULL values when the requested...
Pierre Racine [Mon, 13 Feb 2012 18:28:45 +0000 (18:28 +0000)]
Fix for ticket #1572. ST_PixelAsPolygons() return NULL values when the requested band or no band exist.

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

13 years agoAllow retaining all custom spatial_ref_sys entries, even clashing
Sandro Santilli [Mon, 13 Feb 2012 18:06:53 +0000 (18:06 +0000)]
Allow retaining all custom spatial_ref_sys entries, even clashing

Update manual accordingly (hard upgrade procedure)

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

13 years agoFix regexp renaming srid enforcement check
Sandro Santilli [Mon, 13 Feb 2012 17:47:34 +0000 (17:47 +0000)]
Fix regexp renaming srid enforcement check

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

13 years agoAdd a note about handling of out-of-range SRIDs on hard upgrade
Sandro Santilli [Mon, 13 Feb 2012 17:01:25 +0000 (17:01 +0000)]
Add a note about handling of out-of-range SRIDs on hard upgrade

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

13 years agoAccept more feature type names from AddTopoGeometryColumn (#1470)
Sandro Santilli [Mon, 13 Feb 2012 16:29:30 +0000 (16:29 +0000)]
Accept more feature type names from AddTopoGeometryColumn (#1470)

With this commit you can pass return of ST_GeometryType or
return GeometryType as input to the function.

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

13 years agoMore VOLATILE -> STRICT (#955). Let's call it completed.
Sandro Santilli [Mon, 13 Feb 2012 16:11:48 +0000 (16:11 +0000)]
More VOLATILE -> STRICT (#955). Let's call it completed.

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

13 years agoSome VOLATILE functions turned to STABLE (#955)
Sandro Santilli [Mon, 13 Feb 2012 16:04:30 +0000 (16:04 +0000)]
Some VOLATILE functions turned to STABLE (#955)

A noticeable exception is the Geometry(TopoGeometry) cast which
triggers a regression when made STABLE.

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

13 years agoFix regression broken by the limit imposed to SRID < 999999. Anyway the srid provided...
Pierre Racine [Mon, 13 Feb 2012 15:43:16 +0000 (15:43 +0000)]
Fix regression broken by the limit imposed to SRID < 999999. Anyway the srid provided was not the right one. Changed from 4269 to 26919.

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

13 years ago#1494 - ability to load census tract, block group, tabblock - boy did I screw this...
Regina Obe [Mon, 13 Feb 2012 15:12:09 +0000 (15:12 +0000)]
#1494 - ability to load census tract, block group, tabblock - boy did I screw this one.  Should be all fixed now and tested (loading part), still need to write the function, but that's the easy part

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

13 years agoMove SRID max and user-max definitions to configure.ac
Sandro Santilli [Mon, 13 Feb 2012 14:48:17 +0000 (14:48 +0000)]
Move SRID max and user-max definitions to configure.ac

This should help keeping postgis_restore.pl and core in sync
wrt SRID ranges.

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

13 years agoRefine user feedback about SRID conversion and reserved zones
Sandro Santilli [Mon, 13 Feb 2012 14:17:24 +0000 (14:17 +0000)]
Refine user feedback about SRID conversion and reserved zones

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

13 years agoDrop (SRF()).* constructs (#956)
Sandro Santilli [Mon, 13 Feb 2012 11:25:41 +0000 (11:25 +0000)]
Drop (SRF()).* constructs (#956)

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

13 years agoHave regress install comments adn throw an error on failure (#1532)
Sandro Santilli [Mon, 13 Feb 2012 10:58:35 +0000 (10:58 +0000)]
Have regress install comments adn throw an error on failure (#1532)

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

13 years agoHave staged-install install comments when possible (#1532)
Sandro Santilli [Mon, 13 Feb 2012 10:58:28 +0000 (10:58 +0000)]
Have staged-install install comments when possible (#1532)

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

13 years agoReport svn revision
Sandro Santilli [Mon, 13 Feb 2012 10:16:39 +0000 (10:16 +0000)]
Report svn revision

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

13 years agoEncode postgis_svn_revision dependency
Sandro Santilli [Mon, 13 Feb 2012 10:16:32 +0000 (10:16 +0000)]
Encode postgis_svn_revision dependency

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

13 years agoCleanup postgis_svn_revision.h makefile rule (PHONY)
Sandro Santilli [Mon, 13 Feb 2012 10:00:00 +0000 (10:00 +0000)]
Cleanup postgis_svn_revision.h makefile rule (PHONY)

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

13 years agoDo not override postgis_svn_revision.h if revision didn't change
Sandro Santilli [Mon, 13 Feb 2012 09:58:13 +0000 (09:58 +0000)]
Do not override postgis_svn_revision.h if revision didn't change

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

13 years agoAdd support for fetching SVN revision from local git-svn repository
Sandro Santilli [Mon, 13 Feb 2012 09:15:23 +0000 (09:15 +0000)]
Add support for fetching SVN revision from local git-svn repository

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

13 years agoIt's "svn", not "svnn". And a TODO item...
Sandro Santilli [Sat, 11 Feb 2012 21:17:12 +0000 (21:17 +0000)]
It's "svn", not "svnn". And a TODO item...

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

13 years agoFix regression in OSX (-0 vs 0)
Paul Ramsey [Sat, 11 Feb 2012 16:08:26 +0000 (16:08 +0000)]
Fix regression in OSX (-0 vs 0)

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

13 years agoReport SVN revision in PostGIS_Full_Version (#1518)
Paul Ramsey [Sat, 11 Feb 2012 05:14:39 +0000 (05:14 +0000)]
Report SVN revision in PostGIS_Full_Version (#1518)

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

13 years agoAdded checks of SRID to make sure that SRIDs are within the permitted range. Ticket...
Bborie Park [Fri, 10 Feb 2012 23:33:37 +0000 (23:33 +0000)]
Added checks of SRID to make sure that SRIDs are within the permitted range.  Ticket is #1568.

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

13 years agoST_Clip returns all bands when no band is specified.
Pierre Racine [Fri, 10 Feb 2012 22:42:38 +0000 (22:42 +0000)]
ST_Clip returns all bands when no band is specified.

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

13 years agoFix for ticket #1569. ST_Clip variants defaulting to band 1 should default to NULL...
Pierre Racine [Fri, 10 Feb 2012 22:36:14 +0000 (22:36 +0000)]
Fix for ticket #1569. ST_Clip variants defaulting to band 1 should default to NULL so that they return all bands.

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

13 years agoBack out SVN generation stuff.
Paul Ramsey [Fri, 10 Feb 2012 20:21:51 +0000 (20:21 +0000)]
Back out SVN generation stuff.

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

13 years agoTry to fail better on SVN snatching...
Paul Ramsey [Fri, 10 Feb 2012 19:55:36 +0000 (19:55 +0000)]
Try to fail better on SVN snatching...

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

13 years agoReport SVN revision in PostGIS_Full_Version (#1518)
Paul Ramsey [Fri, 10 Feb 2012 19:49:53 +0000 (19:49 +0000)]
Report SVN revision in PostGIS_Full_Version (#1518)

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

13 years agoST_PixelAsPolygon() does not have a band parameter anymore.
Pierre Racine [Fri, 10 Feb 2012 18:46:48 +0000 (18:46 +0000)]
ST_PixelAsPolygon() does not have a band parameter anymore.

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

13 years ago#1494: move parent table creation to a function so logic is in single place, add...
Regina Obe [Fri, 10 Feb 2012 18:38:06 +0000 (18:38 +0000)]
#1494: move parent table creation to a function so logic is in single place, add a new census_loader.sql script with census specific load logic, revise create and update scripts to load the new census logic and create tables if not present. Still need to test and write a function to return census info given a point before can mark this as done.

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

13 years agoHave perl to backup the file before editing. 'make check' is failing on Windows 7...
Pierre Racine [Fri, 10 Feb 2012 17:05:25 +0000 (17:05 +0000)]
Have perl to backup the file before editing. 'make check' is failing on Windows 7 without that.

See http://postgis.refractions.net/pipermail/postgis-devel/2012-February/018482.html

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