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

12 years ago#2090, gserialized_read_gbox_p sets Z dimension instead of M dimension for two-point...
Paul Ramsey [Tue, 13 Nov 2012 22:48:31 +0000 (22:48 +0000)]
#2090, gserialized_read_gbox_p sets Z dimension instead of M dimension for two-point lines

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

12 years ago#2044, lw_arc_length: warning: variable 'a2' set but not used
Paul Ramsey [Tue, 13 Nov 2012 22:30:27 +0000 (22:30 +0000)]
#2044, lw_arc_length: warning: variable 'a2' set but not used

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

12 years ago#1895, New node splitting algorithm for GiST
Paul Ramsey [Tue, 13 Nov 2012 22:10:35 +0000 (22:10 +0000)]
#1895, New node splitting algorithm for GiST
Set the KOROTKOV_SPLIT define to 1 to use the new approach,
to 0 to use the old approach. After testing is complete,
we can set the new split as the default.

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

12 years agoRemove <inlineequation> element
Paul Ramsey [Tue, 13 Nov 2012 18:58:52 +0000 (18:58 +0000)]
Remove <inlineequation> element

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

12 years agoRemove MathML from documentation. It's not really being used for any math.
Paul Ramsey [Tue, 13 Nov 2012 18:57:00 +0000 (18:57 +0000)]
Remove MathML from documentation. It's not really being used for any math.

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

12 years agoRemove module magic from here, #1162
Paul Ramsey [Fri, 9 Nov 2012 21:54:39 +0000 (21:54 +0000)]
Remove module magic from here, #1162

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

12 years agoRemove many warnings from -pedantic build, and clean up parser globals a little more...
Paul Ramsey [Fri, 9 Nov 2012 00:09:35 +0000 (00:09 +0000)]
Remove many warnings from -pedantic build, and clean up parser globals a little more thoroughly.

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

12 years agoRewrite topology.GetRingEdges using a recursive CTE (#2087)
Sandro Santilli [Thu, 8 Nov 2012 08:40:56 +0000 (08:40 +0000)]
Rewrite topology.GetRingEdges using a recursive CTE (#2087)

Walking around a ring of ~22k edges takes 1/7 of the time

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

12 years agoShare some code between ST_RemEdgeModFace and ST_RemEdgeNewFaces
Sandro Santilli [Thu, 8 Nov 2012 08:40:42 +0000 (08:40 +0000)]
Share some code between ST_RemEdgeModFace and ST_RemEdgeNewFaces

Also check TopoGeometry existance as first thing, to reduce the
time it takes for failing calls.

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

12 years agoupdate install to note that we now support loading tiger 2012 data and it is the...
Regina Obe [Thu, 8 Nov 2012 05:48:47 +0000 (05:48 +0000)]
update install to note that we now support loading tiger 2012 data and it is the default and upgrade instructions to get the new loader behavior

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

12 years agochange this to use 2012 loader, but remark it out so it doesn't overwrite people...
Regina Obe [Thu, 8 Nov 2012 05:46:48 +0000 (05:46 +0000)]
change this to use 2012 loader, but remark it out so it doesn't overwrite people's custom settings.

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

12 years ago#2048, add regression test
Paul Ramsey [Tue, 6 Nov 2012 00:27:16 +0000 (00:27 +0000)]
#2048, add regression test

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

12 years agoCreate indices on start_node and end_node of edge_data (#2082)
Sandro Santilli [Mon, 5 Nov 2012 10:27:08 +0000 (10:27 +0000)]
Create indices on start_node and end_node of edge_data  (#2082)

Those indices speed up nodes deletion by a factor of x1000 !
I didn't profile, but I suspect those indices would also speed up
ring walking (whereas you have to find a match between endnodes).

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

12 years ago#2020: stop penalizing windows 9.2 32-bit when it gives a stupid answer to an ill...
Regina Obe [Mon, 5 Nov 2012 00:47:26 +0000 (00:47 +0000)]
#2020: stop penalizing windows 9.2 32-bit when it gives a stupid answer to an ill-defined question.  Change to be a well-defined question.

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

12 years ago#2081: extension files being installed twice causes errors on Ubuntu (9.3)
Regina Obe [Sun, 4 Nov 2012 20:03:49 +0000 (20:03 +0000)]
#2081: extension files being installed twice causes errors on Ubuntu (9.3)

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

12 years agoFix order of TopoGeometry property names
Sandro Santilli [Sun, 4 Nov 2012 14:40:11 +0000 (14:40 +0000)]
Fix order of TopoGeometry property names

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

12 years ago#1980: define new configure arg --with-mathmldtd to allow overriding path to mathmldtd
Regina Obe [Sun, 4 Nov 2012 10:45:09 +0000 (10:45 +0000)]
#1980: define new configure arg --with-mathmldtd to allow overriding path to mathmldtd

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

12 years agoOops, revert the revert...
Sandro Santilli [Sun, 4 Nov 2012 00:44:09 +0000 (00:44 +0000)]
Oops, revert the revert...

Note to self: never commit between 1:00am and 8:00am

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

12 years agoAdd note about lwgeom_make_valid being only available with GEOS-3.3+
Sandro Santilli [Sun, 4 Nov 2012 00:30:18 +0000 (00:30 +0000)]
Add note about lwgeom_make_valid being only available with GEOS-3.3+

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

12 years agoRevert "#1970 - 9.2rc1 regress failure change layer_id_seq from select * to explicitl...
Sandro Santilli [Sun, 4 Nov 2012 00:30:08 +0000 (00:30 +0000)]
Revert "#1970 - 9.2rc1 regress failure change layer_id_seq from select * to explicitly select fields. log_cnt now returns 0 for 9.2rc1 so fails regress otherwise"

This reverts commit c272b5ed6dec2cc415c9bccd305e81394f1bde83.

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

12 years agochange default new install to use tiger_loader_2012.sql file instead
Regina Obe [Sat, 3 Nov 2012 18:12:57 +0000 (18:12 +0000)]
change default new install to use tiger_loader_2012.sql file instead

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

12 years ago#2076: support for loading tiger 2012 data. revise loader_load_staged_data to leave...
Regina Obe [Sat, 3 Nov 2012 17:54:51 +0000 (17:54 +0000)]
#2076: support for loading tiger 2012 data. revise loader_load_staged_data to leave out pumace10, estatefp, ugace.  This fixes the faces not loading issue for 2012 data (tested with MA, DC)

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

12 years ago#2015, ST_IsEmpty('POLYGON EMPTY') returns False
Paul Ramsey [Fri, 2 Nov 2012 21:14:44 +0000 (21:14 +0000)]
#2015, ST_IsEmpty('POLYGON EMPTY') returns False

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

12 years agoRemoved code that is no longer used and updated docs with default
Bborie Park [Fri, 2 Nov 2012 20:40:25 +0000 (20:40 +0000)]
Removed code that is no longer used and updated docs with default
parameters

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

12 years ago#1996, ST_AsGeoJSON('POINT EMPTY') produces invalid JSON
Paul Ramsey [Fri, 2 Nov 2012 19:15:05 +0000 (19:15 +0000)]
#1996, ST_AsGeoJSON('POINT EMPTY') produces invalid JSON

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

12 years agoBe a bit more explicit about what we're returning from point-in-ring tests.
Paul Ramsey [Fri, 2 Nov 2012 19:08:52 +0000 (19:08 +0000)]
Be a bit more explicit about what we're returning from point-in-ring tests.

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

12 years agoUpdated reference links to "How Hillshade works" for ST_Slope, ST_Aspect
Bborie Park [Fri, 2 Nov 2012 18:12:22 +0000 (18:12 +0000)]
Updated reference links to "How Hillshade works" for ST_Slope, ST_Aspect
and ST_HillShade

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

12 years agoRemove double call of flip test.
Paul Ramsey [Fri, 2 Nov 2012 18:02:19 +0000 (18:02 +0000)]
Remove double call of flip test.

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

12 years ago#2019, ST_FlipCoordinates does not update bbox
Paul Ramsey [Fri, 2 Nov 2012 17:52:45 +0000 (17:52 +0000)]
#2019, ST_FlipCoordinates does not update bbox

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

12 years agoRefactored ST_Slope, ST_Aspect and ST_Hillshade() (also their
Bborie Park [Fri, 2 Nov 2012 17:22:29 +0000 (17:22 +0000)]
Refactored ST_Slope, ST_Aspect and ST_Hillshade() (also their
_st_XXX4ma() functions). Detailed docs for all three functions. Outputs
now in sync with return from ArcGIS. Ticket is #2077

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

12 years agosome wording changes, add tutorial faq
Regina Obe [Wed, 31 Oct 2012 19:33:35 +0000 (19:33 +0000)]
some wording changes, add tutorial faq

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

12 years agoAdded missing DROP FUNCTION statements. Ticket #2073
Bborie Park [Wed, 31 Oct 2012 14:31:00 +0000 (14:31 +0000)]
Added missing DROP FUNCTION statements. Ticket #2073

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

12 years agoAdd instruction for upgrading between SVN revisions using extensions
Sandro Santilli [Wed, 31 Oct 2012 09:46:22 +0000 (09:46 +0000)]
Add instruction for upgrading between SVN revisions using extensions

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

12 years agoChanged when the isnodata check takes place for out-db raster tiles
Bborie Park [Wed, 31 Oct 2012 00:42:00 +0000 (00:42 +0000)]
Changed when the isnodata check takes place for out-db raster tiles

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

12 years ago#1940, epsg:2065 projection is incorrect
Paul Ramsey [Tue, 30 Oct 2012 23:25:06 +0000 (23:25 +0000)]
#1940, epsg:2065 projection is incorrect

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

12 years agoAdd Nathan Wagner to credits
Regina Obe [Tue, 30 Oct 2012 21:38:48 +0000 (21:38 +0000)]
Add Nathan Wagner to credits

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

12 years agoPut in Enhanced note about ST_DumpPoints -- should in theory be faster. Revise expert...
Regina Obe [Tue, 30 Oct 2012 21:16:49 +0000 (21:16 +0000)]
Put in Enhanced note about ST_DumpPoints -- should in theory be faster. Revise expertbot xsl script (prevent url from abutting the title)

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

12 years ago(#310) ST_DumpPoints as C function
Paul Ramsey [Tue, 30 Oct 2012 20:32:10 +0000 (20:32 +0000)]
(#310) ST_DumpPoints as C function

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

12 years agoFix gdal binaries link
Regina Obe [Mon, 29 Oct 2012 22:24:20 +0000 (22:24 +0000)]
Fix gdal binaries link

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

12 years agoAdded SRID check to ST_Neighborhood(raster, geometry)
Bborie Park [Mon, 29 Oct 2012 22:23:23 +0000 (22:23 +0000)]
Added SRID check to ST_Neighborhood(raster, geometry)

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

12 years agoAdded SRID check for ST_Intersects(geometry, raster)
Bborie Park [Mon, 29 Oct 2012 22:23:16 +0000 (22:23 +0000)]
Added SRID check for ST_Intersects(geometry, raster)

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