]> granicus.if.org Git - postgis/log
postgis
12 years agoCode cleanup of rt_raster_serialize(). Basically make sure to free
Bborie Park [Fri, 21 Dec 2012 22:18:43 +0000 (22:18 +0000)]
Code cleanup of rt_raster_serialize().  Basically make sure to free
allocated memory if function has error

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

12 years agoFix memory leak in lwcollection_homogenize
Sandro Santilli [Fri, 21 Dec 2012 10:53:12 +0000 (10:53 +0000)]
Fix memory leak in lwcollection_homogenize

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

12 years agoUpdate ignores
Sandro Santilli [Fri, 21 Dec 2012 10:01:48 +0000 (10:01 +0000)]
Update ignores

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

12 years agoFix compiler warnings
Sandro Santilli [Fri, 21 Dec 2012 10:01:39 +0000 (10:01 +0000)]
Fix compiler warnings

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

12 years agoPostgreSQL 9.3 changed where heap_form_tuple() is declared. Fixed in
Bborie Park [Thu, 20 Dec 2012 20:47:23 +0000 (20:47 +0000)]
PostgreSQL 9.3 changed where heap_form_tuple() is declared. Fixed in
raster and postgis. Ticket #2013.

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

12 years agoQuiet compile warnings.
Paul Ramsey [Thu, 20 Dec 2012 18:40:37 +0000 (18:40 +0000)]
Quiet compile warnings.

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

12 years agoFix leak in cu_stringbuffer test
Sandro Santilli [Thu, 20 Dec 2012 18:26:48 +0000 (18:26 +0000)]
Fix leak in cu_stringbuffer test

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

12 years agoFix memory leak in lwmline_locate_along
Sandro Santilli [Thu, 20 Dec 2012 18:07:13 +0000 (18:07 +0000)]
Fix memory leak in lwmline_locate_along

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

12 years agoFix memory leak in geometry cleaner
Sandro Santilli [Thu, 20 Dec 2012 17:51:38 +0000 (17:51 +0000)]
Fix memory leak in geometry cleaner

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

12 years agoDrop unused "libtgeom.h" include
Sandro Santilli [Thu, 20 Dec 2012 17:20:15 +0000 (17:20 +0000)]
Drop unused "libtgeom.h" include

This is to make libtgeom memory errors less scary  :)
See #1553

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

12 years agoFix memory leaks in lwsegmentize and cu_ptarray
Sandro Santilli [Thu, 20 Dec 2012 17:19:13 +0000 (17:19 +0000)]
Fix memory leaks in lwsegmentize and cu_ptarray

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

12 years agoadd topology so extension now installs cleanly. still need to add set path and cleanu...
Regina Obe [Thu, 20 Dec 2012 16:02:35 +0000 (16:02 +0000)]
add topology so extension now installs cleanly. still need to add set path and cleanup the make clean

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

12 years agoStomp out memory leaks in CUnit tests
Bborie Park [Wed, 19 Dec 2012 23:26:45 +0000 (23:26 +0000)]
Stomp out memory leaks in CUnit tests

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

12 years agoMake sure to free OGR geometry when the geometry is empty
Bborie Park [Wed, 19 Dec 2012 23:26:39 +0000 (23:26 +0000)]
Make sure to free OGR geometry when the geometry is empty

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

12 years agoChanged memory handling of offline band path. Now explicitly owned
Bborie Park [Wed, 19 Dec 2012 23:26:33 +0000 (23:26 +0000)]
Changed memory handling of offline band path. Now explicitly owned
internally

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

12 years agoFix memory leak in circ_tree_new
Sandro Santilli [Wed, 19 Dec 2012 20:52:22 +0000 (20:52 +0000)]
Fix memory leak in circ_tree_new

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

12 years agoFix leak in cu_geodetic test
Sandro Santilli [Wed, 19 Dec 2012 20:52:13 +0000 (20:52 +0000)]
Fix leak in cu_geodetic test

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

12 years agoCUnit is not only needed for liblwgeom
Sandro Santilli [Wed, 19 Dec 2012 20:08:22 +0000 (20:08 +0000)]
CUnit is not only needed for liblwgeom

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

12 years agoPut JSON input test where it belongs (#2156)
Sandro Santilli [Wed, 19 Dec 2012 18:18:57 +0000 (18:18 +0000)]
Put JSON input test where it belongs (#2156)

This time do not include other unrelated changes...

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

12 years agoRevert "Move JSON input test where it belons (#2156)"
Sandro Santilli [Wed, 19 Dec 2012 18:06:17 +0000 (18:06 +0000)]
Revert "Move JSON input test where it belons (#2156)"

Accidentally committed an unrelated patch..

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

12 years agoMove JSON input test where it belons (#2156)
Sandro Santilli [Wed, 19 Dec 2012 18:01:19 +0000 (18:01 +0000)]
Move JSON input test where it belons (#2156)

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

12 years ago#2153: fix typo in file path
Regina Obe [Wed, 19 Dec 2012 00:32:13 +0000 (00:32 +0000)]
#2153: fix typo in file path

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

12 years agoTweaked UpdateRasterSRID() to drop/add coverage tile as needed
Bborie Park [Tue, 18 Dec 2012 20:42:05 +0000 (20:42 +0000)]
Tweaked UpdateRasterSRID() to drop/add coverage tile as needed

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

12 years ago#1959 remove sql_bits/mark_editable_objects.sql.in from upgrade script. It is the...
Regina Obe [Tue, 18 Dec 2012 05:06:17 +0000 (05:06 +0000)]
#1959 remove sql_bits/mark_editable_objects.sql.in  from upgrade script.  It is the one causing pg_extension table to bloat and in theory not needed for upgrade since we don't change spatial_ref_sys during upgrade.

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

12 years agoadd 2.0.2 as upgrade from path
Regina Obe [Sat, 15 Dec 2012 20:27:21 +0000 (20:27 +0000)]
add 2.0.2 as upgrade from path

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

12 years ago#2147 upgrade topology doesn't work on Mac BSD sed doesn't default to extended. ...
Regina Obe [Sat, 15 Dec 2012 08:09:07 +0000 (08:09 +0000)]
#2147 upgrade topology doesn't work on Mac BSD sed doesn't default to extended.  Use already perl built topology upgrade script instead as template for extension upgrade

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

12 years agoFixed handling of identifiers with single quote (') such as in O'Reilly.
Bborie Park [Sat, 15 Dec 2012 00:55:51 +0000 (00:55 +0000)]
Fixed handling of identifiers with single quote (') such as in O'Reilly.

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

12 years agoChanged testing of extent geometry
Bborie Park [Fri, 14 Dec 2012 20:28:03 +0000 (20:28 +0000)]
Changed testing of extent geometry

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

12 years agoUpdated raster2pgsql help and docs to reflect changes to
Bborie Park [Fri, 14 Dec 2012 20:27:54 +0000 (20:27 +0000)]
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

12 years agoregular_blocking constraint removed. regular_blocking column of
Bborie Park [Fri, 14 Dec 2012 20:27:46 +0000 (20:27 +0000)]
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

12 years agoAdded regression tests for ST_IsCoverageTile().
Bborie Park [Fri, 14 Dec 2012 20:27:38 +0000 (20:27 +0000)]
Added regression tests for ST_IsCoverageTile().

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

12 years agoAdded support for padded edge tiles to ST_IsCoverageTile()
Bborie Park [Fri, 14 Dec 2012 20:27:30 +0000 (20:27 +0000)]
Added support for padded edge tiles to ST_IsCoverageTile()

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

12 years agoAdded support for no-band rasters to ST_Tile(raster)
Bborie Park [Fri, 14 Dec 2012 20:27:21 +0000 (20:27 +0000)]
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

12 years agoAdded missing tickets and reorg of ticket list
Bborie Park [Fri, 14 Dec 2012 20:27:14 +0000 (20:27 +0000)]
Added missing tickets and reorg of ticket list

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

12 years agoAdded parameters to ST_Tile(raster) to control padding of generated tiles.
Bborie Park [Fri, 14 Dec 2012 20:27:06 +0000 (20:27 +0000)]
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

12 years agoAddition of coverage_tile constraint for raster. Ticket #2148
Bborie Park [Fri, 14 Dec 2012 20:26:56 +0000 (20:26 +0000)]
Addition of coverage_tile constraint for raster.  Ticket #2148

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

12 years agoAddition of ST_IsCoverageTile() to tell if tile is part of a coverage
Bborie Park [Fri, 14 Dec 2012 20:26:49 +0000 (20:26 +0000)]
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

12 years agoAdded raster's spatially_unique constraint. Ticket #2149. Still needs
Bborie Park [Fri, 14 Dec 2012 20:26:41 +0000 (20:26 +0000)]
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

12 years agoTweaked the extent computed for the extent constraint
Bborie Park [Fri, 14 Dec 2012 20:26:30 +0000 (20:26 +0000)]
Tweaked the extent computed for the extent constraint

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

12 years agoChanged blocksize constraint to permit multiple possible values. Ticket
Bborie Park [Fri, 14 Dec 2012 20:26:20 +0000 (20:26 +0000)]
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

12 years agoFixed incorrect return type in docs
Bborie Park [Fri, 14 Dec 2012 20:26:12 +0000 (20:26 +0000)]
Fixed incorrect return type in docs

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

12 years agoraster2pgsql no longer pads tiles by default based upon tile position and tile
Bborie Park [Fri, 14 Dec 2012 20:26:05 +0000 (20:26 +0000)]
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

12 years agoRemoved hardcoded flags for raster2pgsql from run_test
Bborie Park [Fri, 14 Dec 2012 20:25:54 +0000 (20:25 +0000)]
Removed hardcoded flags for raster2pgsql from run_test

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

12 years agoQuiet down ST_SameAlignment(raster, raster) as it was way too talkative
Bborie Park [Fri, 14 Dec 2012 20:25:45 +0000 (20:25 +0000)]
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

12 years agoUpdated regression tests for raster2pgsql
Bborie Park [Fri, 14 Dec 2012 20:25:33 +0000 (20:25 +0000)]
Updated regression tests for raster2pgsql

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

12 years agoRevert "Return NULL when simplifying a line results in a line with < 2 vertices"
Sandro Santilli [Thu, 13 Dec 2012 09:34:48 +0000 (09:34 +0000)]
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

12 years agoReturn NULL when simplifying a line results in a line with < 2 vertices
Sandro Santilli [Wed, 12 Dec 2012 15:52:51 +0000 (15:52 +0000)]
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

12 years ago#2145, ST_Segmentize(geography, dist) fails with redundant coordinates
Paul Ramsey [Sun, 9 Dec 2012 19:59:42 +0000 (19:59 +0000)]
#2145, ST_Segmentize(geography, dist) fails with redundant coordinates

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

12 years agoMore verbose output when constraints fail to be added to a raster
Bborie Park [Fri, 7 Dec 2012 22:07:18 +0000 (22:07 +0000)]
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

12 years agoAdd an id to the toTopoGeom proxy entry
Sandro Santilli [Fri, 7 Dec 2012 09:27:53 +0000 (09:27 +0000)]
Add an id to the toTopoGeom proxy entry

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

12 years agoElement xref can't have content (was declared EMPTY)
Sandro Santilli [Fri, 7 Dec 2012 09:24:31 +0000 (09:24 +0000)]
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

12 years agoAdd a "TopoGeometry Editors" section
Sandro Santilli [Fri, 7 Dec 2012 09:24:20 +0000 (09:24 +0000)]
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

12 years agoElement xref can't have content (was declared EMPTY)
Sandro Santilli [Fri, 7 Dec 2012 08:36:30 +0000 (08:36 +0000)]
Element xref can't have content (was declared EMPTY)

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

12 years agoFix links to legacy faq
Sandro Santilli [Fri, 7 Dec 2012 08:31:13 +0000 (08:31 +0000)]
Fix links to legacy faq

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

12 years agoDocument new toTopoGeom override and clearTopoGeom
Sandro Santilli [Fri, 7 Dec 2012 08:31:04 +0000 (08:31 +0000)]
Document new toTopoGeom override and clearTopoGeom

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

12 years agoFixed behavior of ST_ConvexHull() for empty rasters. Ticket #2126
Bborie Park [Fri, 7 Dec 2012 01:08:21 +0000 (01:08 +0000)]
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

12 years agoProvide a version of toTopoGeom taking a TopoGeometry object
Sandro Santilli [Thu, 6 Dec 2012 23:23:57 +0000 (23:23 +0000)]
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

12 years agoAdd topology.clearTopoGeom(TopoGeometry) function
Sandro Santilli [Thu, 6 Dec 2012 23:02:23 +0000 (23:02 +0000)]
Add topology.clearTopoGeom(TopoGeometry) function

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

12 years agoDo not hardcode version to rule to build topology_upgrade_X_minor
Sandro Santilli [Thu, 6 Dec 2012 18:45:40 +0000 (18:45 +0000)]
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

12 years ago#2101, add some doco in the .sql.in.c file on the _postgis_* stats info functions.
Paul Ramsey [Thu, 6 Dec 2012 17:56:37 +0000 (17:56 +0000)]
#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

12 years agoAdded RasterReader.copy_to() utility based on SQL command COPY TO and PostGIS Raster...
Mateusz Loskot [Thu, 6 Dec 2012 17:39:04 +0000 (17:39 +0000)]
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

12 years agoTypo
Mateusz Loskot [Thu, 6 Dec 2012 10:49:20 +0000 (10:49 +0000)]
Typo

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

12 years agoFixed handling of SRS strings as they are passed to GDAL functions.
Bborie Park [Thu, 6 Dec 2012 05:43:59 +0000 (05:43 +0000)]
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

12 years ago#2132, _postgis_stats crashes backend on missing stats
Paul Ramsey [Wed, 5 Dec 2012 18:50:42 +0000 (18:50 +0000)]
#2132, _postgis_stats crashes backend on missing stats

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

12 years agoFix broken shp2pgsql help string suggesting -r to reproject
Sandro Santilli [Wed, 5 Dec 2012 10:28:43 +0000 (10:28 +0000)]
Fix broken shp2pgsql help string suggesting -r to reproject

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

12 years ago#945, expose and add selectivity to the 3d/4d index (&&&) bindings
Paul Ramsey [Tue, 4 Dec 2012 19:54:29 +0000 (19:54 +0000)]
#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

12 years agoupport 2.0.2 release notes
Regina Obe [Tue, 4 Dec 2012 13:24:21 +0000 (13:24 +0000)]
upport 2.0.2 release notes

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

12 years agoFixed incorrect return type for ST_BandIsNoData(raster) in docs
Bborie Park [Mon, 3 Dec 2012 22:17:53 +0000 (22:17 +0000)]
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

12 years agoFix memory error in MultiPolygon GeoJson parsing (#2130)
Sandro Santilli [Mon, 3 Dec 2012 16:19:04 +0000 (16:19 +0000)]
Fix memory error in MultiPolygon GeoJson parsing (#2130)

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

12 years agoFix SRID in ST_Homogenize output with collection input (#2129)
Sandro Santilli [Mon, 3 Dec 2012 14:10:18 +0000 (14:10 +0000)]
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

12 years agoMake ST_RemEdge* tests 30% faster by reducing service costs
Sandro Santilli [Mon, 3 Dec 2012 10:09:54 +0000 (10:09 +0000)]
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

12 years agoRemoved PICFLAGS from CFLAGS when compiling CUnit suites. Ticket #2125
Bborie Park [Sun, 2 Dec 2012 22:36:16 +0000 (22:36 +0000)]
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

12 years agofix return type
Regina Obe [Sat, 1 Dec 2012 22:56:55 +0000 (22:56 +0000)]
fix return  type

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

12 years agoTopoGeo_AddPolygon says aline instead of apoly
Regina Obe [Sat, 1 Dec 2012 20:32:53 +0000 (20:32 +0000)]
TopoGeo_AddPolygon says aline instead of apoly

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

12 years agodon't dtd validate when making comments and cheatsheets
Regina Obe [Sat, 1 Dec 2012 08:34:41 +0000 (08:34 +0000)]
don't dtd validate when making comments and cheatsheets

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

12 years agoAdded ST_Resize(raster) to resize a raster using desired width/height.
Bborie Park [Sat, 1 Dec 2012 01:19:53 +0000 (01:19 +0000)]
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

12 years agoRemoved requirements of SRID for calling GDAL Warp API
Bborie Park [Sat, 1 Dec 2012 01:19:45 +0000 (01:19 +0000)]
Removed requirements of SRID for calling GDAL Warp API

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

12 years agoRemoved use of pi html code. Using "pi" instead.
Bborie Park [Fri, 30 Nov 2012 15:18:28 +0000 (15:18 +0000)]
Removed use of pi html code. Using "pi" instead.

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

12 years agoAdditional cleanup and validation regarding ticket #1653
Bborie Park [Fri, 30 Nov 2012 01:13:10 +0000 (01:13 +0000)]
Additional cleanup and validation regarding ticket #1653

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

12 years agoAdded NEWS item and doc updates for changes related to ticket #2119
Bborie Park [Fri, 30 Nov 2012 01:13:04 +0000 (01:13 +0000)]
Added NEWS item and doc updates for changes related to ticket #2119

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

12 years agoAdded a special case to RASTER_GDALWarp() where if the input raster has
Bborie Park [Fri, 30 Nov 2012 01:12:58 +0000 (01:12 +0000)]
Added a special case to RASTER_GDALWarp() where if the input raster has
no SRID (SRID_UNKNOWN) AND the operation does not involve a
reprojection, then use a catchall/substitute SRID (in this case 4326).
Ticket #2119

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

12 years agoFix #2092 for trunk branch
Olivier Courtin [Thu, 29 Nov 2012 22:33:21 +0000 (22:33 +0000)]
Fix #2092 for trunk branch

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

12 years agoEnhance error message on unsupported geometry type (#1899)
Sandro Santilli [Thu, 29 Nov 2012 19:29:22 +0000 (19:29 +0000)]
Enhance error message on unsupported geometry type (#1899)

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

12 years agoFixed incorrect ticket #. From #2026 to #2062
Bborie Park [Thu, 29 Nov 2012 19:11:22 +0000 (19:11 +0000)]
Fixed incorrect ticket #. From #2026 to #2062

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

12 years agoRemoved confusion between ST_Resample(raster) and ST_Transform(raster)
Bborie Park [Thu, 29 Nov 2012 18:59:22 +0000 (18:59 +0000)]
Removed confusion between ST_Resample(raster) and ST_Transform(raster)
by removing srid parameter for ST_Resample(). Ticket #1653

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

12 years agoRenamed RASTER_resample() to RASTER_GDALWarp() and adjusted SQL
Bborie Park [Thu, 29 Nov 2012 18:59:13 +0000 (18:59 +0000)]
Renamed RASTER_resample() to RASTER_GDALWarp() and adjusted SQL
functions as needed. Next is to audit and possibly refactor those
functions that make use of RASTER_resample().

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

12 years agoEnsure ST_Line_Interpolate_Point always returns POINT (#2108)
Sandro Santilli [Thu, 29 Nov 2012 18:30:48 +0000 (18:30 +0000)]
Ensure ST_Line_Interpolate_Point always returns POINT (#2108)

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

12 years agoEnsure ST_PointOnSurface always returns POINT (#2117)
Sandro Santilli [Thu, 29 Nov 2012 18:13:47 +0000 (18:13 +0000)]
Ensure ST_PointOnSurface always returns POINT (#2117)

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

12 years agoEarly release lwgeom memory
Sandro Santilli [Thu, 29 Nov 2012 18:01:49 +0000 (18:01 +0000)]
Early release lwgeom memory

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

12 years agoEnsure ST_Centroid always returns POINT (#2109)
Sandro Santilli [Thu, 29 Nov 2012 17:49:27 +0000 (17:49 +0000)]
Ensure ST_Centroid always returns POINT (#2109)

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

12 years ago#1795 make raster_views, raster_columns, geometry_columns, geometry_views, spatial_re...
Regina Obe [Thu, 29 Nov 2012 02:12:06 +0000 (02:12 +0000)]
#1795 make raster_views, raster_columns, geometry_columns, geometry_views, spatial_ref_sys public viewable -- none issue since they are views that only list user viewable tables and aspatial_ref_sys is harmless public info.

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

12 years agoAdded CUnit test suites for raster core. Old raster core regression
Bborie Park [Thu, 29 Nov 2012 01:21:33 +0000 (01:21 +0000)]
Added CUnit test suites for raster core. Old raster core regression
tests can still be found in raster/test/core but are no longer run.
Probably should delete before 2.1 is released.
Ticket #173

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

12 years ago#2112
Nicklas Avén [Wed, 28 Nov 2012 22:35:56 +0000 (22:35 +0000)]
#2112

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

12 years agoRefactored return and parameters of rt_raster_iterator()
Bborie Park [Wed, 28 Nov 2012 20:16:45 +0000 (20:16 +0000)]
Refactored return and parameters of rt_raster_iterator()

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

12 years agoRefactored return and parameters of rt_raster_from_two_rasters()
Bborie Park [Wed, 28 Nov 2012 19:31:59 +0000 (19:31 +0000)]
Refactored return and parameters of rt_raster_from_two_rasters()

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

12 years agoRefactored return and parameters of rt_raster_surface()
Bborie Park [Wed, 28 Nov 2012 15:27:47 +0000 (15:27 +0000)]
Refactored return and parameters of rt_raster_surface()

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

12 years agoAdded ST_NotSameAlignmentReason(raster, raster). Ticket #1709
Bborie Park [Tue, 27 Nov 2012 00:58:36 +0000 (00:58 +0000)]
Added ST_NotSameAlignmentReason(raster, raster). Ticket #1709

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

12 years agoAdded ST_Transform(raster) variant that allows of aligning output
Bborie Park [Mon, 26 Nov 2012 21:09:02 +0000 (21:09 +0000)]
Added ST_Transform(raster) variant that allows of aligning output
rasters to a reference raster. Ticket #2105

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

12 years agoRenamed variants of ST_World2RasterCoord() and ST_Raster2WorldCoord() to
Bborie Park [Mon, 26 Nov 2012 19:13:04 +0000 (19:13 +0000)]
Renamed variants of ST_World2RasterCoord() and ST_Raster2WorldCoord() to
ST_WorldToRasterCoord() and ST_RasterToWorldCoord() as names are
inconsistent with other PostGIS function names. Ticket #2104

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

12 years agoSkip st_area(geography) and st_length(geography)
Sandro Santilli [Mon, 26 Nov 2012 12:07:07 +0000 (12:07 +0000)]
Skip st_area(geography) and st_length(geography)

See http://lists.osgeo.org/pipermail/postgis-users/2012-November/035854.html

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