Commit graph

8816 commits

Author SHA1 Message Date
Bborie Park 10162a38a8 Updated raster2pgsql help and docs to reflect changes to
regular_blocking.

git-svn-id: http://svn.osgeo.org/postgis/trunk@10842 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-14 20:27:54 +00:00
Bborie Park 4c1f9a321c regular_blocking constraint removed. regular_blocking column of
raster_columns now looks for spatially_unique and coverage_tile
constraints. Ticket #2150

git-svn-id: http://svn.osgeo.org/postgis/trunk@10841 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-14 20:27:46 +00:00
Bborie Park 29c95b58be Added regression tests for ST_IsCoverageTile().
git-svn-id: http://svn.osgeo.org/postgis/trunk@10840 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-14 20:27:38 +00:00
Bborie Park bc906c6c6d Added support for padded edge tiles to ST_IsCoverageTile()
git-svn-id: http://svn.osgeo.org/postgis/trunk@10839 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-14 20:27:30 +00:00
Bborie Park ed72bde7d3 Added support for no-band rasters to ST_Tile(raster)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10838 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-14 20:27:21 +00:00
Bborie Park b336b4b201 Added missing tickets and reorg of ticket list
git-svn-id: http://svn.osgeo.org/postgis/trunk@10837 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-14 20:27:14 +00:00
Bborie Park 25b8f66978 Added parameters to ST_Tile(raster) to control padding of generated tiles.
ST_Tile(raster) no longer defaults to padding tiles. Ticket #2069

git-svn-id: http://svn.osgeo.org/postgis/trunk@10836 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-14 20:27:06 +00:00
Bborie Park d13a3a5175 Addition of coverage_tile constraint for raster. Ticket #2148
git-svn-id: http://svn.osgeo.org/postgis/trunk@10835 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-14 20:26:56 +00:00
Bborie Park 5cc34a67e5 Addition of ST_IsCoverageTile() to tell if tile is part of a coverage
git-svn-id: http://svn.osgeo.org/postgis/trunk@10834 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-14 20:26:49 +00:00
Bborie Park 094543e095 Added raster's spatially_unique constraint. Ticket #2149. Still needs
regression tests but won't happen until regular_blocking is finished.

git-svn-id: http://svn.osgeo.org/postgis/trunk@10833 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-14 20:26:41 +00:00
Bborie Park 00fd6a924c Tweaked the extent computed for the extent constraint
git-svn-id: http://svn.osgeo.org/postgis/trunk@10832 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-14 20:26:30 +00:00
Bborie Park 702c0ea4d4 Changed blocksize constraint to permit multiple possible values. Ticket
is #2143. We just need a coverage constraint and a spatially unique
constraint to determine regularly blocked.

git-svn-id: http://svn.osgeo.org/postgis/trunk@10831 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-14 20:26:20 +00:00
Bborie Park aaa5d07aef Fixed incorrect return type in docs
git-svn-id: http://svn.osgeo.org/postgis/trunk@10830 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-14 20:26:12 +00:00
Bborie Park d83f052c5e raster2pgsql no longer pads tiles by default based upon tile position and tile
size. This is part of the refactoring to remove padded tiles. Flag -P
added so that users can indicate that tiles should be padded.
Ticket #826.

git-svn-id: http://svn.osgeo.org/postgis/trunk@10829 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-14 20:26:05 +00:00
Bborie Park e772b29f4a Removed hardcoded flags for raster2pgsql from run_test
git-svn-id: http://svn.osgeo.org/postgis/trunk@10828 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-14 20:25:54 +00:00
Bborie Park dc568e069e Quiet down ST_SameAlignment(raster, raster) as it was way too talkative
git-svn-id: http://svn.osgeo.org/postgis/trunk@10827 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-14 20:25:45 +00:00
Bborie Park 3fd546c380 Updated regression tests for raster2pgsql
git-svn-id: http://svn.osgeo.org/postgis/trunk@10826 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-14 20:25:33 +00:00
Sandro Santilli dee57bfb5f Revert "Return NULL when simplifying a line results in a line with < 2 vertices"
The correct behavior is still being discussed here:
http://trac.osgeo.org/postgis/ticket/1987
Better reduce the noise...

git-svn-id: http://svn.osgeo.org/postgis/trunk@10822 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-13 09:34:48 +00:00
Sandro Santilli 8f391a1bac Return NULL when simplifying a line results in a line with < 2 vertices
Also return NULL from ST_Simplify when the input is an empty
(null is a simpler form than EMPTY...)

Yes, both break backward compatibility, but seem more consistent
to me. I'm still interested in allowing collapses avoidance but
I think consistency is also important.

git-svn-id: http://svn.osgeo.org/postgis/trunk@10821 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-12 15:52:51 +00:00
Paul Ramsey 4fee20abd3 #2145, ST_Segmentize(geography, dist) fails with redundant coordinates
git-svn-id: http://svn.osgeo.org/postgis/trunk@10820 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-09 19:59:42 +00:00
Bborie Park b6117968e6 More verbose output when constraints fail to be added to a raster
column. Ticket #2141

git-svn-id: http://svn.osgeo.org/postgis/trunk@10819 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-07 22:07:18 +00:00
Sandro Santilli 8d2a72ad13 Add an id to the toTopoGeom proxy entry
git-svn-id: http://svn.osgeo.org/postgis/trunk@10816 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-07 09:27:53 +00:00
Sandro Santilli 9efede50be Element xref can't have content (was declared EMPTY)
I'm surprised postgis_aggs_mm.xml.xsl contains all that XML,
shouldn't it just transform source XML ?

git-svn-id: http://svn.osgeo.org/postgis/trunk@10815 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-07 09:24:31 +00:00
Sandro Santilli 5e6ea428d2 Add a "TopoGeometry Editors" section
I've added a toTopoGeom entry in this section for the sole purpose
of redirecting to the one in "TopoGeometry Constructors".
It's two overloaded functions, documented togheter in the latter
section. If there's any better way to deal with this I'm looking
forward for enhancements.

git-svn-id: http://svn.osgeo.org/postgis/trunk@10814 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-07 09:24:20 +00:00
Sandro Santilli cd35bba08b Element xref can't have content (was declared EMPTY)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10813 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-07 08:36:30 +00:00
Sandro Santilli ef1a42484d Fix links to legacy faq
git-svn-id: http://svn.osgeo.org/postgis/trunk@10812 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-07 08:31:13 +00:00
Sandro Santilli 0d15f43645 Document new toTopoGeom override and clearTopoGeom
git-svn-id: http://svn.osgeo.org/postgis/trunk@10811 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-07 08:31:04 +00:00
Bborie Park cebb5c8923 Fixed behavior of ST_ConvexHull() for empty rasters. Ticket #2126
git-svn-id: http://svn.osgeo.org/postgis/trunk@10810 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-07 01:08:21 +00:00
Sandro Santilli 354cf42088 Provide a version of toTopoGeom taking a TopoGeometry object
Such version would _add_ the space taken by the input geometry
to an existing TopoGeometry.

git-svn-id: http://svn.osgeo.org/postgis/trunk@10809 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-06 23:23:57 +00:00
Sandro Santilli 0caa3c0b89 Add topology.clearTopoGeom(TopoGeometry) function
git-svn-id: http://svn.osgeo.org/postgis/trunk@10808 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-06 23:02:23 +00:00
Sandro Santilli a9f17555c1 Do not hardcode version to rule to build topology_upgrade_X_minor
git-svn-id: http://svn.osgeo.org/postgis/trunk@10807 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-06 18:45:40 +00:00
Paul Ramsey 9d107d92e0 #2101, add some doco in the .sql.in.c file on the _postgis_* stats info functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@10806 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-06 17:56:37 +00:00
Mateusz Loskot d9eb8fd557 Added RasterReader.copy_to() utility based on SQL command COPY TO and PostGIS Raster functions ST_As<FORMAT> and outputs rasters to hex-encoded plain text or binary raster file.
git-svn-id: http://svn.osgeo.org/postgis/trunk@10805 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-06 17:39:04 +00:00
Mateusz Loskot 46d65ae839 Typo
git-svn-id: http://svn.osgeo.org/postgis/trunk@10804 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-06 10:49:20 +00:00
Bborie Park 658209cda6 Fixed handling of SRS strings as they are passed to GDAL functions.
Ticket #2134

git-svn-id: http://svn.osgeo.org/postgis/trunk@10803 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-06 05:43:59 +00:00
Paul Ramsey fab6c1d1aa #2132, _postgis_stats crashes backend on missing stats
git-svn-id: http://svn.osgeo.org/postgis/trunk@10800 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-05 18:50:42 +00:00
Sandro Santilli 4e5f296562 Fix broken shp2pgsql help string suggesting -r to reproject
git-svn-id: http://svn.osgeo.org/postgis/trunk@10798 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-05 10:28:43 +00:00
Paul Ramsey 651570c723 #945, expose and add selectivity to the 3d/4d index (&&&) bindings
git-svn-id: http://svn.osgeo.org/postgis/trunk@10796 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-04 19:54:29 +00:00
Regina Obe e31140d2c5 upport 2.0.2 release notes
git-svn-id: http://svn.osgeo.org/postgis/trunk@10795 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-04 13:24:21 +00:00
Bborie Park 063fd0389c Fixed incorrect return type for ST_BandIsNoData(raster) in docs
git-svn-id: http://svn.osgeo.org/postgis/trunk@10792 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-03 22:17:53 +00:00
Sandro Santilli 3d5b47b4c4 Fix memory error in MultiPolygon GeoJson parsing (#2130)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10786 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-03 16:19:04 +00:00
Sandro Santilli dfbbb65b5e Fix SRID in ST_Homogenize output with collection input (#2129)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10783 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-03 14:10:18 +00:00
Sandro Santilli 9a222413d7 Make ST_RemEdge* tests 30% faster by reducing service costs
git-svn-id: http://svn.osgeo.org/postgis/trunk@10781 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-03 10:09:54 +00:00
Bborie Park 1d1dadd509 Removed PICFLAGS from CFLAGS when compiling CUnit suites. Ticket #2125
git-svn-id: http://svn.osgeo.org/postgis/trunk@10779 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-02 22:36:16 +00:00
Regina Obe 31803a0a41 fix return type
git-svn-id: http://svn.osgeo.org/postgis/trunk@10778 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-01 22:56:55 +00:00
Regina Obe ee9b0247f1 TopoGeo_AddPolygon says aline instead of apoly
git-svn-id: http://svn.osgeo.org/postgis/trunk@10777 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-01 20:32:53 +00:00
Regina Obe d0c195aa2e don't dtd validate when making comments and cheatsheets
git-svn-id: http://svn.osgeo.org/postgis/trunk@10775 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-01 08:34:41 +00:00
Bborie Park 249b501069 Added ST_Resize(raster) to resize a raster using desired width/height.
Ticket #1293.

git-svn-id: http://svn.osgeo.org/postgis/trunk@10774 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-01 01:19:53 +00:00
Bborie Park 58e564f82b Removed requirements of SRID for calling GDAL Warp API
git-svn-id: http://svn.osgeo.org/postgis/trunk@10773 b70326c6-7e19-0410-871a-916f4a2858ee
2012-12-01 01:19:45 +00:00
Bborie Park 2a54948164 Removed use of pi html code. Using "pi" instead.
git-svn-id: http://svn.osgeo.org/postgis/trunk@10772 b70326c6-7e19-0410-871a-916f4a2858ee
2012-11-30 15:18:28 +00:00