Commit graph

7606 commits

Author SHA1 Message Date
Regina Obe 148bed9a94 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
2012-02-14 22:21:48 +00:00
Sandro Santilli 2936722b2a 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
2012-02-14 17:57:45 +00:00
Regina Obe 35e2d0f1e0 #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
2012-02-14 17:54:13 +00:00
Regina Obe 6a0e9867e2 #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
2012-02-14 17:53:40 +00:00
Bborie Park add85641d3 Readded rt_clip regression test.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9188 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-14 17:47:12 +00:00
Bborie Park ce290556e6 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
2012-02-14 17:29:45 +00:00
Sandro Santilli 54d3fb99d4 We don't use a profiler anymore
git-svn-id: http://svn.osgeo.org/postgis/trunk@9186 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-14 17:15:42 +00:00
David Zwarg 7db166f084 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
2012-02-14 17:00:00 +00:00
Sandro Santilli f9662411e8 Make one-point lines convertible to GEOS, see #1543
git-svn-id: http://svn.osgeo.org/postgis/trunk@9184 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-14 13:31:22 +00:00
Pierre Racine ee19eb5332 Temporarily remove st_clip regress...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9183 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 22:46:36 +00:00
Paul Ramsey 75eea67e6e 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
2012-02-13 22:02:55 +00:00
Pierre Racine 8d55a8d413 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
2012-02-13 21:58:53 +00:00
Sandro Santilli 3f982339ff 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
2012-02-13 21:25:11 +00:00
Sandro Santilli 51a73afa4b Fix documentation of GetRingEdges
git-svn-id: http://svn.osgeo.org/postgis/trunk@9179 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 20:44:48 +00:00
Sandro Santilli 3a01a0b486 Install topology comments too, when regressing topology
git-svn-id: http://svn.osgeo.org/postgis/trunk@9178 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 20:44:40 +00:00
Sandro Santilli 6e181c1ce1 Install topology_comments.sql as well
git-svn-id: http://svn.osgeo.org/postgis/trunk@9177 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 20:44:33 +00:00
Pierre Racine 2799a2ed80 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
2012-02-13 18:28:45 +00:00
Sandro Santilli 8b316be887 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
2012-02-13 18:06:53 +00:00
Sandro Santilli 5f9e334845 Fix regexp renaming srid enforcement check
git-svn-id: http://svn.osgeo.org/postgis/trunk@9174 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 17:47:34 +00:00
Sandro Santilli 080b10cf15 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
2012-02-13 17:01:25 +00:00
Sandro Santilli e9817355e9 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
2012-02-13 16:29:30 +00:00
Sandro Santilli 2192c713e7 More VOLATILE -> STRICT (#955). Let's call it completed.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9171 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 16:11:48 +00:00
Sandro Santilli 5fa68cfc62 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
2012-02-13 16:04:30 +00:00
Pierre Racine d4590827ad 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
2012-02-13 15:43:16 +00:00
Regina Obe 6a830cdd57 #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
2012-02-13 15:12:09 +00:00
Sandro Santilli 13839e6dfb 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
2012-02-13 14:48:17 +00:00
Sandro Santilli 0d992710ce Refine user feedback about SRID conversion and reserved zones
git-svn-id: http://svn.osgeo.org/postgis/trunk@9166 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 14:17:24 +00:00
Sandro Santilli 9c1782c75c Drop (SRF()).* constructs (#956)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9165 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 11:25:41 +00:00
Sandro Santilli 0c5e19d99e 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
2012-02-13 10:58:35 +00:00
Sandro Santilli 9ebead2ba3 Have staged-install install comments when possible (#1532)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9163 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 10:58:28 +00:00
Sandro Santilli 09f2037a16 Report svn revision
git-svn-id: http://svn.osgeo.org/postgis/trunk@9162 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 10:16:39 +00:00
Sandro Santilli dc3544b9fc Encode postgis_svn_revision dependency
git-svn-id: http://svn.osgeo.org/postgis/trunk@9161 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 10:16:32 +00:00
Sandro Santilli 2413245fd3 Cleanup postgis_svn_revision.h makefile rule (PHONY)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9160 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 10:00:00 +00:00
Sandro Santilli 7ae7a609b2 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
2012-02-13 09:58:13 +00:00
Sandro Santilli 2492588faf 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
2012-02-13 09:15:23 +00:00
Sandro Santilli 46661069d3 It's "svn", not "svnn". And a TODO item...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9157 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-11 21:17:12 +00:00
Paul Ramsey 17215f5474 Fix regression in OSX (-0 vs 0)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9156 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-11 16:08:26 +00:00
Paul Ramsey 7d7ee7ac97 Report SVN revision in PostGIS_Full_Version (#1518)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9155 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-11 05:14:39 +00:00
Bborie Park 9369f89557 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
2012-02-10 23:33:37 +00:00
Pierre Racine 485baef1fe 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
2012-02-10 22:42:38 +00:00
Pierre Racine d6e3ca4dd2 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
2012-02-10 22:36:14 +00:00
Paul Ramsey c8cd388daf Back out SVN generation stuff.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9151 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-10 20:21:51 +00:00
Paul Ramsey 73104a1d76 Try to fail better on SVN snatching...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9150 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-10 19:55:36 +00:00
Paul Ramsey 4ff8a6d0f0 Report SVN revision in PostGIS_Full_Version (#1518)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9149 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-10 19:49:53 +00:00
Pierre Racine e31905a418 ST_PixelAsPolygon() does not have a band parameter anymore.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9148 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-10 18:46:48 +00:00
Regina Obe 1463287789 #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
2012-02-10 18:38:06 +00:00
Pierre Racine f92b129006 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
2012-02-10 17:05:25 +00:00
Sandro Santilli 16e500b650 Clamp SRID valuesu > SRID_MAXIMUM to fall in the reserved range (#1505)
The reserved range is SRID_USER_MAXIMUM+1 to SRID_MAXIMUM.
Core takes care of typmod clamping, postgis_restore.pl takes care
of clamping table definition and spatial_ref_sys entries.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9145 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-10 16:53:15 +00:00
Sandro Santilli 3e3feaa9dd Add SRID_USER_MXIMUM define
git-svn-id: http://svn.osgeo.org/postgis/trunk@9144 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-10 16:53:07 +00:00
Paul Ramsey 34cb9271c2 Fix syntax error in MS example
git-svn-id: http://svn.osgeo.org/postgis/trunk@9143 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-10 16:18:05 +00:00