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

12 years ago#1869 take care of ST_AsBinary(unknown/text), ST_AsText(unknown/text) is not unique...
Regina Obe [Sun, 25 Nov 2012 22:36:15 +0000 (22:36 +0000)]
#1869 take care of ST_AsBinary(unknown/text), ST_AsText(unknown/text) is not unique errors

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

12 years agoWhere appropriate, functions in rt_core now use standardized function
Bborie Park [Sun, 25 Nov 2012 21:55:42 +0000 (21:55 +0000)]
Where appropriate, functions in rt_core now use standardized function
return states.

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

12 years agoFix ST_{Mod,New}EdgeHeal joining edges sharing both endpoints
Sandro Santilli [Fri, 23 Nov 2012 22:15:38 +0000 (22:15 +0000)]
Fix ST_{Mod,New}EdgeHeal joining edges sharing both endpoints

Closes #1998. Include testcases.
Also simplifies the code and avoids a GEOS call.

[RT-SIGTA] C.I.G.: 0494241492

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

12 years agoTry to stomp out -180 (#2066)
Paul Ramsey [Fri, 23 Nov 2012 15:57:14 +0000 (15:57 +0000)]
Try to stomp out -180 (#2066)

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

12 years ago#1828, geography stats are really sensitive to narrow dimensionality issues,
Paul Ramsey [Fri, 23 Nov 2012 06:13:40 +0000 (06:13 +0000)]
#1828, geography stats are really sensitive to narrow dimensionality issues,
so geodetic bounds have to be exactly calculated for things like points

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

12 years ago#1828, fix mistake to geography calculation routine
Paul Ramsey [Thu, 22 Nov 2012 17:39:21 +0000 (17:39 +0000)]
#1828, fix mistake to geography calculation routine

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

12 years agoOf course we're going to do real joinsel...
Paul Ramsey [Wed, 21 Nov 2012 23:26:44 +0000 (23:26 +0000)]
Of course we're going to do real joinsel...

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

12 years agoExplain "selectivity" a little more explicitly
Paul Ramsey [Wed, 21 Nov 2012 19:52:41 +0000 (19:52 +0000)]
Explain "selectivity" a little more explicitly

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

12 years agoBetter/different error messages in stats interogator
Paul Ramsey [Tue, 20 Nov 2012 23:47:23 +0000 (23:47 +0000)]
Better/different error messages in stats interogator

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

12 years ago#2101, sql functions for selectivity inspection
Paul Ramsey [Tue, 20 Nov 2012 23:28:41 +0000 (23:28 +0000)]
#2101, sql functions for selectivity inspection

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

12 years agoMake default joinsel message more obvious
Paul Ramsey [Tue, 20 Nov 2012 21:34:36 +0000 (21:34 +0000)]
Make default joinsel message more obvious

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

12 years agoMake error message minimally more helpful
Paul Ramsey [Tue, 20 Nov 2012 21:31:12 +0000 (21:31 +0000)]
Make error message minimally more helpful

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

12 years agoBe more explicit about the types we're passing around
Paul Ramsey [Tue, 20 Nov 2012 21:29:44 +0000 (21:29 +0000)]
Be more explicit about the types we're passing around

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

12 years agoConvert SearchSysCache calls to SearchSysCache# calls, per the guidance in the Postgr...
Paul Ramsey [Tue, 20 Nov 2012 20:57:48 +0000 (20:57 +0000)]
Convert SearchSysCache calls to SearchSysCache# calls, per the guidance in the PostgreSQL syscache.h file

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

12 years ago#2102, SQL hooks for calling selectivity functions
Paul Ramsey [Tue, 20 Nov 2012 20:51:42 +0000 (20:51 +0000)]
#2102, SQL hooks for calling selectivity functions

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

12 years ago#1828, Poor selectivity estimate on ST_DWithin
Paul Ramsey [Tue, 20 Nov 2012 19:07:50 +0000 (19:07 +0000)]
#1828, Poor selectivity estimate on ST_DWithin

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

12 years agoRemove conditional use of USE_STANDARD_DEVIATION, it's been working for years, that...
Paul Ramsey [Tue, 20 Nov 2012 17:50:17 +0000 (17:50 +0000)]
Remove conditional use of USE_STANDARD_DEVIATION, it's been working for years, that's what we use.

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

12 years agominor formatting fix
Regina Obe [Tue, 20 Nov 2012 09:51:43 +0000 (09:51 +0000)]
minor formatting fix

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

12 years ago#1287: legacy script to reinstall old PostGIS gist op. Added to FAQ when you need...
Regina Obe [Tue, 20 Nov 2012 09:49:30 +0000 (09:49 +0000)]
#1287: legacy script to reinstall old PostGIS gist op.  Added to FAQ when you need to use it and stress to try not to use it and reindex if you do.

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

12 years agoFixed issue where ST_AsRaster() may not return raster with specified
Bborie Park [Mon, 19 Nov 2012 23:18:59 +0000 (23:18 +0000)]
Fixed issue where ST_AsRaster() may not return raster with specified
pixel types. Ticket #2100

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

12 years agoCode cleanup of rt_raster_gdal_rasterize()
Bborie Park [Mon, 19 Nov 2012 23:18:53 +0000 (23:18 +0000)]
Code cleanup of rt_raster_gdal_rasterize()

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

12 years agoRefactored internal use variables and functions for rt_raster_iterator()
Bborie Park [Mon, 19 Nov 2012 23:18:48 +0000 (23:18 +0000)]
Refactored internal use variables and functions for rt_raster_iterator()

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

12 years agoMove box-reading code in geography stats to use serialized box.
Paul Ramsey [Mon, 19 Nov 2012 23:04:21 +0000 (23:04 +0000)]
Move box-reading code in geography stats to use serialized box.

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

12 years agoFix double free on ST_OffsetCurve exception (#2099)
Sandro Santilli [Mon, 19 Nov 2012 15:47:10 +0000 (15:47 +0000)]
Fix double free on ST_OffsetCurve exception (#2099)

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

12 years agoRestore 1.5.x behaviour of ST_Simplify (#1987)
Sandro Santilli [Mon, 19 Nov 2012 10:20:09 +0000 (10:20 +0000)]
Restore 1.5.x behaviour of ST_Simplify (#1987)

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

12 years agoAdded RANGE uniontype option for ST_Union(raster) Ticket #2097
Bborie Park [Fri, 16 Nov 2012 22:59:46 +0000 (22:59 +0000)]
Added RANGE uniontype option for ST_Union(raster) Ticket #2097

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

12 years agogeos new is 3.4
Regina Obe [Fri, 16 Nov 2012 12:35:23 +0000 (12:35 +0000)]
geos new is 3.4

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

12 years agoupdate tto reflect 2.1
Regina Obe [Fri, 16 Nov 2012 06:46:17 +0000 (06:46 +0000)]
update tto reflect 2.1

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

12 years agoFixed SQL error in regression test
Bborie Park [Fri, 16 Nov 2012 03:39:42 +0000 (03:39 +0000)]
Fixed SQL error in regression test

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

12 years agoAdded docs and regression test for extent parameter variants of
Bborie Park [Fri, 16 Nov 2012 01:32:10 +0000 (01:32 +0000)]
Added docs and regression test for extent parameter variants of
ST_Slope, ST_Aspect and ST_Hillshade

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

12 years agoIf hillshade < 0, hillshade = 0 for ST_HillShade()
Bborie Park [Fri, 16 Nov 2012 01:32:02 +0000 (01:32 +0000)]
If hillshade < 0, hillshade = 0 for ST_HillShade()

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

12 years agoAdded variants of ST_Slope, ST_Aspect and ST_Hillshade to provide
Bborie Park [Fri, 16 Nov 2012 01:31:55 +0000 (01:31 +0000)]
Added variants of ST_Slope, ST_Aspect and ST_Hillshade to provide
support for tiles in a coverage. Ticket is #2078

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

12 years agoComment on the dump_toupper function
Paul Ramsey [Thu, 15 Nov 2012 00:15:24 +0000 (00:15 +0000)]
Comment on the dump_toupper function

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

12 years agoUse a locale-independent braindead upper implementation
Paul Ramsey [Thu, 15 Nov 2012 00:08:53 +0000 (00:08 +0000)]
Use a locale-independent braindead upper implementation

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

12 years ago#2035, Strange behavior when using left (<<) and right (>>) operators
Paul Ramsey [Wed, 14 Nov 2012 23:01:32 +0000 (23:01 +0000)]
#2035, Strange behavior when using left (<<) and right (>>) operators

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

12 years ago#2028, ST_Multi(<triangle>) does not make a TIN
Paul Ramsey [Wed, 14 Nov 2012 22:29:23 +0000 (22:29 +0000)]
#2028, ST_Multi(<triangle>) does not make a TIN

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

12 years ago#2042, measures.c: 'pt_in_arc_A' may be used uninitialized
Paul Ramsey [Wed, 14 Nov 2012 21:31:10 +0000 (21:31 +0000)]
#2042, measures.c: 'pt_in_arc_A' may be used uninitialized

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

12 years ago#2001, ST_CurveToLine has no effect if the geometry doesn't actually contain an arc
Paul Ramsey [Wed, 14 Nov 2012 21:25:52 +0000 (21:25 +0000)]
#2001, ST_CurveToLine has no effect if the geometry doesn't actually contain an arc

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

12 years ago#799, make geographic coordinates in range
Paul Ramsey [Wed, 14 Nov 2012 20:45:16 +0000 (20:45 +0000)]
#799, make geographic coordinates in range

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

12 years agoMake Korotkov split the default
Paul Ramsey [Wed, 14 Nov 2012 17:21:28 +0000 (17:21 +0000)]
Make Korotkov split the default

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