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

12 years agoAdded SRID check of geometry for ST_World2RasterCoord variants
Bborie Park [Mon, 29 Oct 2012 22:23:05 +0000 (22:23 +0000)]
Added SRID check of geometry for ST_World2RasterCoord variants

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

12 years agoAdded check for SRID match in ST_Value(raster) geometry variant
Bborie Park [Mon, 29 Oct 2012 22:22:57 +0000 (22:22 +0000)]
Added check for SRID match in ST_Value(raster) geometry variant

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

12 years agoSet defaults for parameters of ST_Slope(raster). Ticket #1655
Bborie Park [Mon, 29 Oct 2012 20:14:37 +0000 (20:14 +0000)]
Set defaults for parameters of ST_Slope(raster). Ticket #1655

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

12 years agoAdded UpdateRasterSRID() as per ticket #739
Bborie Park [Mon, 29 Oct 2012 18:56:41 +0000 (18:56 +0000)]
Added UpdateRasterSRID() as per ticket #739

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

12 years agomore ids and descriptive titles
Regina Obe [Sat, 27 Oct 2012 05:53:31 +0000 (05:53 +0000)]
more ids and descriptive titles

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

12 years agorevise script hallie uses so strips out tags such as ulink, xref, command leaving...
Regina Obe [Sat, 27 Oct 2012 05:31:55 +0000 (05:31 +0000)]
revise script hallie uses so strips out tags such as ulink, xref, command leaving just textual representation (these were getting cut out before)

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

12 years agotry to put in some ids
Regina Obe [Sat, 27 Oct 2012 04:18:27 +0000 (04:18 +0000)]
try to put in some ids

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

12 years agoAdded news regarding ST_Clip(raster, ...) in C and update docs
Bborie Park [Fri, 26 Oct 2012 00:28:15 +0000 (00:28 +0000)]
Added news regarding ST_Clip(raster, ...) in C and update docs

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

12 years agoRewrite of ST_Clip(raster) to be C-based and updated regression test.
Bborie Park [Fri, 26 Oct 2012 00:28:10 +0000 (00:28 +0000)]
Rewrite of ST_Clip(raster) to be C-based and updated regression test.
Ticket is #2065

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

12 years agoFixed default Y-scale to -1 from 1
Bborie Park [Thu, 25 Oct 2012 23:06:42 +0000 (23:06 +0000)]
Fixed default Y-scale to -1 from 1

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

12 years agoExpose some geodetic functions a little higher
Paul Ramsey [Thu, 25 Oct 2012 22:17:39 +0000 (22:17 +0000)]
Expose some geodetic functions a little higher

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

12 years agoFix error in ptarray traversal.
Paul Ramsey [Thu, 25 Oct 2012 20:36:00 +0000 (20:36 +0000)]
Fix error in ptarray traversal.

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

12 years agoReorganize some pointarray loops and functions. Use direct aligned access more.
Paul Ramsey [Thu, 25 Oct 2012 19:29:34 +0000 (19:29 +0000)]
Reorganize some pointarray loops and functions. Use direct aligned access more.

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

12 years agoRemove old signature for serialized_form function
Paul Ramsey [Thu, 25 Oct 2012 18:57:32 +0000 (18:57 +0000)]
Remove old signature for serialized_form function

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

12 years agoAllow WKB generation to do direct memcpy of coordinates in specific cases.
Paul Ramsey [Thu, 25 Oct 2012 18:54:27 +0000 (18:54 +0000)]
Allow WKB generation to do direct memcpy of coordinates in specific cases.

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

12 years agoUse double alignment property to remove memcpy from wkb generation
Paul Ramsey [Thu, 25 Oct 2012 18:42:16 +0000 (18:42 +0000)]
Use double alignment property to remove memcpy from wkb generation

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

12 years agoRemove TODO note: the storage is now double aligned
Paul Ramsey [Thu, 25 Oct 2012 18:29:55 +0000 (18:29 +0000)]
Remove TODO note: the storage is now double aligned

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

12 years agoChange the gbox calculation for geodetic edges to use 3-space geometry instead of...
Paul Ramsey [Thu, 25 Oct 2012 17:47:24 +0000 (17:47 +0000)]
Change the gbox calculation for geodetic edges to use 3-space geometry instead of lots of transcendental functions. Much faster, much simpler, all regression tests pass.

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

12 years agorevert release note changes see if it fixes doc build issue
Regina Obe [Thu, 25 Oct 2012 06:00:07 +0000 (06:00 +0000)]
revert release note changes see if it fixes doc build issue

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

12 years agofix id again (maybe old conflicted with another id)
Regina Obe [Thu, 25 Oct 2012 05:18:27 +0000 (05:18 +0000)]
fix id again (maybe old conflicted with another id)

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

12 years agofix chapter id doesn't follow our convention
Regina Obe [Thu, 25 Oct 2012 04:12:20 +0000 (04:12 +0000)]
fix chapter id doesn't follow our convention

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

12 years agogive release sections ids for easier reference
Regina Obe [Thu, 25 Oct 2012 04:07:24 +0000 (04:07 +0000)]
give release sections ids for easier reference

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

12 years agoPreprocess input geometry for clipping raster by using the intersection
Bborie Park [Wed, 24 Oct 2012 22:22:04 +0000 (22:22 +0000)]
Preprocess input geometry for clipping raster by using the intersection
of the input geometry and the convex hull of the raster. Ticket #1989

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

12 years agoAdded checks to rt_raster_gdal_rasterize() and RASTER_asRaster() where
Bborie Park [Wed, 24 Oct 2012 22:21:56 +0000 (22:21 +0000)]
Added checks to rt_raster_gdal_rasterize() and RASTER_asRaster() where
if input geometry is empty, return empty raster.

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

12 years agoBroke string for iowa hex into three parts so that doxygen doesn't choke
Bborie Park [Wed, 24 Oct 2012 21:14:47 +0000 (21:14 +0000)]
Broke string for iowa hex into three parts so that doxygen doesn't choke

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

12 years agoHave ST_Tile() generate out-of-db tile bands if input raster's band is
Bborie Park [Wed, 24 Oct 2012 19:22:46 +0000 (19:22 +0000)]
Have ST_Tile() generate out-of-db tile bands if input raster's band is
out-of-db.

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

12 years agoWhoops make sure the test macros match the library ones
Paul Ramsey [Wed, 24 Oct 2012 18:54:23 +0000 (18:54 +0000)]
Whoops make sure the test macros match the library ones

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

12 years agoAdd some debugging info to find failure in debbie
Paul Ramsey [Wed, 24 Oct 2012 18:44:08 +0000 (18:44 +0000)]
Add some debugging info to find failure in debbie

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

12 years agoAdd explicit tests for edge_intersects()
Paul Ramsey [Wed, 24 Oct 2012 18:28:10 +0000 (18:28 +0000)]
Add explicit tests for edge_intersects()

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

12 years agoMove the distance calculation to also use the edge_intersects() function instead...
Paul Ramsey [Wed, 24 Oct 2012 17:26:17 +0000 (17:26 +0000)]
Move the distance calculation to also use the edge_intersects() function instead of edge_intersection()

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

12 years agoAdded "auto" option to -t switch where raster2pgsql can compute a usable
Bborie Park [Wed, 24 Oct 2012 16:31:39 +0000 (16:31 +0000)]
Added "auto" option to -t switch where raster2pgsql can compute a usable
tile size. Added warning message if generated tiles may cause memory
issues.

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

12 years agominor adjustments to terminology to improve searchin
Regina Obe [Wed, 24 Oct 2012 03:41:56 +0000 (03:41 +0000)]
minor adjustments to terminology to improve searchin

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

12 years agoRearranged function arguments for ST_Tile(raster)
Bborie Park [Tue, 23 Oct 2012 23:59:02 +0000 (23:59 +0000)]
Rearranged function arguments for ST_Tile(raster)

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

12 years agoAdded news and docs for ST_Tile(raster). Additional regression tests for
Bborie Park [Tue, 23 Oct 2012 22:44:52 +0000 (22:44 +0000)]
Added news and docs for ST_Tile(raster). Additional regression tests for
one additional variant of ST_Tile(raster)

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

12 years agoAdded ST_Tile() and regression tests. The circle is complete.
Bborie Park [Tue, 23 Oct 2012 22:44:42 +0000 (22:44 +0000)]
Added ST_Tile() and regression tests. The circle is complete.

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