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