]> granicus.if.org Git - postgis/log
postgis
13 years agomake compatible with postgresql 8.4, more speed improvements
Regina Obe [Thu, 1 Dec 2011 19:06:41 +0000 (19:06 +0000)]
make compatible with postgresql 8.4, more speed improvements

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

13 years agomissed a spot about occasions where point distance is not same as <->
Regina Obe [Thu, 1 Dec 2011 17:52:15 +0000 (17:52 +0000)]
missed a spot about occasions where point distance is not same as <->

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

13 years agotry to clarify accuracy etc. of <#> and <->
Regina Obe [Thu, 1 Dec 2011 17:38:08 +0000 (17:38 +0000)]
try to clarify accuracy etc. of <#> and <->

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

13 years agoTicket 1342. Integrate ST_PixelAsPolygons into rtpostgis.sql
Pierre Racine [Thu, 1 Dec 2011 16:14:16 +0000 (16:14 +0000)]
Ticket 1342. Integrate ST_PixelAsPolygons into rtpostgis.sql

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

13 years agoReturn null when band number does not exist.
Pierre Racine [Thu, 1 Dec 2011 16:07:24 +0000 (16:07 +0000)]
Return null when band number does not exist.

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

13 years agoRemoved ST_MinPossibleVal defined in another script
Pierre Racine [Thu, 1 Dec 2011 16:06:40 +0000 (16:06 +0000)]
Removed ST_MinPossibleVal defined in another script

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

13 years agoAdded doc, more test and return null when band number does not exist.
Pierre Racine [Thu, 1 Dec 2011 16:05:42 +0000 (16:05 +0000)]
Added doc, more test and return null when band number does not exist.

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

13 years agoTicket 1342. Integrate ST_Clip script into rtpostgis.sql
Pierre Racine [Thu, 1 Dec 2011 15:52:39 +0000 (15:52 +0000)]
Ticket 1342. Integrate ST_Clip script into rtpostgis.sql

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

13 years agoTicket #1340. Integrate ST_Union into rtpostgis.sql
Pierre Racine [Thu, 1 Dec 2011 15:15:34 +0000 (15:15 +0000)]
Ticket #1340. Integrate ST_Union into rtpostgis.sql

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

13 years agoReplaced AsBinary with ST_AsBinary in the test section
Pierre Racine [Thu, 1 Dec 2011 15:11:15 +0000 (15:11 +0000)]
Replaced AsBinary with ST_AsBinary in the test section

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

13 years ago#1337 clarify what sql is good for and get rid of some other obsolete syntax (this...
Regina Obe [Thu, 1 Dec 2011 13:32:10 +0000 (13:32 +0000)]
#1337 clarify what sql is good for and get rid of some other obsolete syntax   (this really needs to be read with a fine-tooth comb).  The amount of obsolete info in this chapter is mesmerizing

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

13 years ago#1333 geocode_intersections: would help to actually include the function to.
Regina Obe [Thu, 1 Dec 2011 08:36:30 +0000 (08:36 +0000)]
#1333 geocode_intersections: would help to actually include the function to.

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

13 years ago#1333 geocode intersections
Regina Obe [Thu, 1 Dec 2011 08:28:22 +0000 (08:28 +0000)]
#1333 geocode intersections

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

13 years agoAdded neighborhood hillshade on top of ST_MapAlgebraFctNgb. Part of #1318
David Zwarg [Thu, 1 Dec 2011 04:29:24 +0000 (04:29 +0000)]
Added neighborhood hillshade on top of ST_MapAlgebraFctNgb. Part of #1318

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

13 years agoTweaked ST_BandMetadata so that calling the function with an empty array returns...
Bborie Park [Thu, 1 Dec 2011 02:23:46 +0000 (02:23 +0000)]
Tweaked ST_BandMetadata so that calling the function with an empty array returns all metadata of all bands.  Example: ST_BandMetadata(rast, VARIADIC ARRAY[]::int[])

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

13 years agoCopied from ST_MapAlgebra.sql
Pierre Racine [Thu, 1 Dec 2011 01:11:28 +0000 (01:11 +0000)]
Copied from ST_MapAlgebra.sql

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

13 years agoCopied from ST_Union
Pierre Racine [Thu, 1 Dec 2011 01:10:24 +0000 (01:10 +0000)]
Copied from ST_Union

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

13 years agoSome cleaning before inclusion in rtpostgis.sql
Pierre Racine [Thu, 1 Dec 2011 01:09:22 +0000 (01:09 +0000)]
Some cleaning before inclusion in rtpostgis.sql
Removed ST_MultiBandMapAlgebra and ST_HasNoBand

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

13 years agoReturn the last band when the provided band number does not exist.
Pierre Racine [Thu, 1 Dec 2011 01:07:58 +0000 (01:07 +0000)]
Return the last band when the provided band number does not exist.

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

13 years agoAdded some variants and tests
Pierre Racine [Thu, 1 Dec 2011 01:07:10 +0000 (01:07 +0000)]
Added some variants and tests

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

13 years agoplpgsql implementation for st_clip.sql(raster, geom)
Pierre Racine [Wed, 30 Nov 2011 22:42:13 +0000 (22:42 +0000)]
plpgsql implementation for st_clip.sql(raster, geom)

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

13 years agoAdded the id of the polygon in the example
Pierre Racine [Wed, 30 Nov 2011 22:41:39 +0000 (22:41 +0000)]
Added the id of the polygon in the example

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

13 years agoAdded ST_Aspect map algebra neighborhood shortcut function. #1318
David Zwarg [Wed, 30 Nov 2011 22:34:29 +0000 (22:34 +0000)]
Added ST_Aspect map algebra neighborhood shortcut function. #1318

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

13 years agoAdded ST_Slope map algebra neighborhood shortcut function.
David Zwarg [Wed, 30 Nov 2011 21:44:36 +0000 (21:44 +0000)]
Added ST_Slope map algebra neighborhood shortcut function.

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

13 years agoFixed ST_AsRaster to duplicate exactly the attributes of a reference raster.
Bborie Park [Wed, 30 Nov 2011 20:35:57 +0000 (20:35 +0000)]
Fixed ST_AsRaster to duplicate exactly the attributes of a reference raster.

Associated ticket is #1336.

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

13 years agoAdded helper user functions for common MapAlgebra operations: Min, Max, Mean, Range...
David Zwarg [Wed, 30 Nov 2011 19:26:34 +0000 (19:26 +0000)]
Added helper user functions for common MapAlgebra operations: Min, Max, Mean, Range. #1318

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

13 years agoUpdated tests for 'dog-ate-my-homework' test. Expanded comments and elaborated on...
David Zwarg [Wed, 30 Nov 2011 16:45:54 +0000 (16:45 +0000)]
Updated tests for 'dog-ate-my-homework' test. Expanded comments and elaborated on complex conditionals in ST_MapAlgebraFctNgb

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

13 years agoAdded additional tests for ST_MapAlgebraFctNgb, changed string compare on nodatamode...
David Zwarg [Wed, 30 Nov 2011 14:51:33 +0000 (14:51 +0000)]
Added additional tests for ST_MapAlgebraFctNgb, changed string compare on nodatamode to !=

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

13 years agoIn preparation of turning the table raster_columns into a view, refactored ST_BandMet...
Bborie Park [Tue, 29 Nov 2011 23:25:49 +0000 (23:25 +0000)]
In preparation of turning the table raster_columns into a view, refactored ST_BandMetadata to have the bandnum parameter be variadic.  Fleshed out regression tests for ST_BandMetadata.

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

13 years agoIgnore more generated files
Sandro Santilli [Tue, 29 Nov 2011 20:30:36 +0000 (20:30 +0000)]
Ignore more generated files

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

13 years agoST_AddPoint returns incorrect result on Linux (#1335) from roualt
Paul Ramsey [Tue, 29 Nov 2011 20:22:40 +0000 (20:22 +0000)]
ST_AddPoint returns incorrect result on Linux (#1335) from roualt

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

13 years agoReplaced the summarystatsstate type with the summarystats type to avoid defining...
Pierre Racine [Tue, 29 Nov 2011 16:57:52 +0000 (16:57 +0000)]
Replaced the summarystatsstate type with the summarystats type to avoid defining a new type.

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

13 years agoChanged the note at the beginning of the file when the function is now implemented...
Pierre Racine [Tue, 29 Nov 2011 16:34:48 +0000 (16:34 +0000)]
Changed the note at the beginning of the file when the function is now implemented in C.

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

13 years agoSome more useful functions
Pierre Racine [Tue, 29 Nov 2011 16:20:06 +0000 (16:20 +0000)]
Some more useful functions

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

13 years agoAdded some plpgsql functions
Pierre Racine [Tue, 29 Nov 2011 16:15:25 +0000 (16:15 +0000)]
Added some plpgsql functions

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

13 years agoFix for #1310
Regina Obe [Tue, 29 Nov 2011 08:49:06 +0000 (08:49 +0000)]
Fix for #1310

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

13 years agoNote: libxml2 dependency of ST_Geom*ML functions and ref back to configuration sectio...
Regina Obe [Mon, 28 Nov 2011 13:36:52 +0000 (13:36 +0000)]
Note: libxml2 dependency of ST_Geom*ML functions and ref back to configuration section.  Also put in missing  --with-xml2config flag in installion_configuration section

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

13 years agoput a firmer sorta date in the sand
Regina Obe [Sat, 26 Nov 2011 21:17:59 +0000 (21:17 +0000)]
put a firmer sorta date in the sand

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

13 years agomore credit cleanup -- add people I missed, fix some minor typos
Regina Obe [Sat, 26 Nov 2011 21:16:12 +0000 (21:16 +0000)]
more credit cleanup -- add people I missed, fix some minor typos

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

13 years agoST_AsSVG kills whole postgres server when fails (#1028)
Paul Ramsey [Sat, 26 Nov 2011 06:07:16 +0000 (06:07 +0000)]
ST_AsSVG kills whole postgres server when fails (#1028)

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

13 years agoupdate credits to include hard-core testers
Regina Obe [Sat, 26 Nov 2011 05:25:41 +0000 (05:25 +0000)]
update credits to include hard-core testers

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

13 years agoRevert per #1246
Paul Ramsey [Sat, 26 Nov 2011 05:04:27 +0000 (05:04 +0000)]
Revert per #1246

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

13 years agoremove more obsolete protos in docs and up extension alpha version numbers
Regina Obe [Fri, 25 Nov 2011 11:54:34 +0000 (11:54 +0000)]
remove more obsolete protos in docs and up extension alpha version numbers

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

13 years agoremove more protos that have been removed and replaced with default args
Regina Obe [Fri, 25 Nov 2011 11:49:07 +0000 (11:49 +0000)]
remove more protos that have been removed and replaced with default args

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

13 years agoMove the 'CREATE SCHEMA' query out of first column anchorage (#1325)
Sandro Santilli [Thu, 24 Nov 2011 21:13:22 +0000 (21:13 +0000)]
Move the 'CREATE SCHEMA' query out of first column anchorage (#1325)

Makes the upgrade script generator less confused...

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

13 years agoFix operator mis-referencing nd function for 2d op.
Paul Ramsey [Thu, 24 Nov 2011 19:17:16 +0000 (19:17 +0000)]
Fix operator mis-referencing nd function for 2d op.

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

13 years agoOverride GeometryType and ST_GeometryType for TopoGeometry (#1289)
Sandro Santilli [Thu, 24 Nov 2011 16:01:29 +0000 (16:01 +0000)]
Override GeometryType and ST_GeometryType for TopoGeometry (#1289)

Includes regression testing.
NOTE: we'll always advertise MULTI as a safest bet

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

13 years agoShake legacy testcase a bit to avoid to mix population with queries
Sandro Santilli [Thu, 24 Nov 2011 16:01:14 +0000 (16:01 +0000)]
Shake legacy testcase a bit to avoid to mix population with queries

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

13 years agoprovide examples for ST_GeomFromGeoJSON now that I can compile it :)
Regina Obe [Thu, 24 Nov 2011 03:44:16 +0000 (03:44 +0000)]
provide examples for ST_GeomFromGeoJSON now that I can compile it :)

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

13 years agoupdate to include links to wiki for extra compilation help and pre-built binaries.
Regina Obe [Thu, 24 Nov 2011 03:23:10 +0000 (03:23 +0000)]
update to include links to wiki for extra compilation help and pre-built binaries.

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

13 years agoAmend installation instructions to include json-dir configure option
Regina Obe [Thu, 24 Nov 2011 03:14:49 +0000 (03:14 +0000)]
Amend installation instructions to include json-dir configure option

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

13 years agominor updates to bios
Regina Obe [Thu, 24 Nov 2011 02:05:06 +0000 (02:05 +0000)]
minor updates to bios

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

13 years agoupdate news / credits for ST_GeomFromGeoJSON
Regina Obe [Thu, 24 Nov 2011 01:58:25 +0000 (01:58 +0000)]
update news / credits for ST_GeomFromGeoJSON

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

13 years agoConst-correct GML signatures
Sandro Santilli [Wed, 23 Nov 2011 17:28:48 +0000 (17:28 +0000)]
Const-correct GML signatures

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

13 years agochange + to | to make strk happy
Regina Obe [Wed, 23 Nov 2011 17:26:50 +0000 (17:26 +0000)]
change + to | to make strk happy

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

13 years agoupdate ST_AsGML with examples and include envelope bits option
Regina Obe [Wed, 23 Nov 2011 17:24:02 +0000 (17:24 +0000)]
update ST_AsGML with examples and include envelope bits option

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

13 years agofix typo in GML description noted by strk
Regina Obe [Wed, 23 Nov 2011 15:27:59 +0000 (15:27 +0000)]
fix typo in GML description noted by strk

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

13 years agocorrect signatures of some functions changed to use more default args
Regina Obe [Wed, 23 Nov 2011 02:17:27 +0000 (02:17 +0000)]
correct signatures of some functions changed to use more default args

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

13 years agoPrefixed internal C utility functions with rtpg_. This keeps the coding style inline...
Bborie Park [Tue, 22 Nov 2011 19:01:26 +0000 (19:01 +0000)]
Prefixed internal C utility functions with rtpg_.  This keeps the coding style inline with that for postgis.

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

13 years agoCorrected incorrect drop function statement.
Bborie Park [Tue, 22 Nov 2011 18:10:07 +0000 (18:10 +0000)]
Corrected incorrect drop function statement.

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

13 years agoMore SQL function cleanup with use of default parameter values.
Bborie Park [Tue, 22 Nov 2011 17:58:35 +0000 (17:58 +0000)]
More SQL function cleanup with use of default parameter values.

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

13 years agoup the alpha numbers
Regina Obe [Tue, 22 Nov 2011 09:26:56 +0000 (09:26 +0000)]
up the alpha numbers

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

13 years agomissed a spot
Regina Obe [Tue, 22 Nov 2011 09:21:14 +0000 (09:21 +0000)]
missed a spot

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

13 years agocorrect documentation to get rid of protos eradicated in r8218 (so extensions installs)
Regina Obe [Tue, 22 Nov 2011 09:05:36 +0000 (09:05 +0000)]
correct documentation to get rid of protos eradicated in r8218 (so extensions installs)

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

13 years agoAdditional function cleanup by making use of DEFAULT parameter values
Bborie Park [Tue, 22 Nov 2011 01:06:50 +0000 (01:06 +0000)]
Additional function cleanup by making use of DEFAULT parameter values

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

13 years agoFixed expression parsing in RASTER_mapAlgebra2. Evidently, the count parameter of...
Bborie Park [Mon, 21 Nov 2011 20:09:10 +0000 (20:09 +0000)]
Fixed expression parsing in RASTER_mapAlgebra2.  Evidently, the count parameter of replace() is an input/output parameter.

Associated ticket is #1317.

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

13 years agoFixed behavior of one raster not having specified band and being sampled.
Bborie Park [Mon, 21 Nov 2011 19:55:54 +0000 (19:55 +0000)]
Fixed behavior of one raster not having specified band and being sampled.

Associated ticket is #1316.

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

13 years agoFixed extent bug for UNION in rt_raster_from_two_rasters
Bborie Park [Mon, 21 Nov 2011 19:18:37 +0000 (19:18 +0000)]
Fixed extent bug for UNION in rt_raster_from_two_rasters

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

13 years agodescription corrections to ST_MapAlgebraNgbFct based on input from dzwarg
Regina Obe [Mon, 21 Nov 2011 19:18:34 +0000 (19:18 +0000)]
description corrections to ST_MapAlgebraNgbFct based on input from dzwarg

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

13 years agoMany fix following the C implementation of the two raster version of ST_MapAlgebra.
Pierre Racine [Mon, 21 Nov 2011 17:37:06 +0000 (17:37 +0000)]
Many fix following the C implementation of the two raster version of ST_MapAlgebra.

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

13 years agoAdd a vertex-snap-tolerance parameter to ptarray_substring
Sandro Santilli [Mon, 21 Nov 2011 16:32:27 +0000 (16:32 +0000)]
Add a vertex-snap-tolerance parameter to ptarray_substring

This is aimed at improving robustness for ST_Split, which now
uses an hard-coded tolerance of 1e-14 (see #1311)

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

13 years agorevise explanation based on trying to read the code to figure out what nodatamode...
Regina Obe [Mon, 21 Nov 2011 16:15:46 +0000 (16:15 +0000)]
revise explanation based on trying to read the code to figure out what nodatamode in theory should be doing

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

13 years agoNumerate tests for line_substring
Sandro Santilli [Mon, 21 Nov 2011 16:03:25 +0000 (16:03 +0000)]
Numerate tests for line_substring

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

13 years ago-Fix cut and paste error
Pierre Racine [Mon, 21 Nov 2011 15:59:54 +0000 (15:59 +0000)]
-Fix cut and paste error

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

13 years agoget rid of extra para tag
Regina Obe [Mon, 21 Nov 2011 15:37:12 +0000 (15:37 +0000)]
get rid of extra para tag

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

13 years agoST_MapAlgebraFctNgb:add in the nodatamode to ST_ (forgot it last time). I still...
Regina Obe [Mon, 21 Nov 2011 15:32:12 +0000 (15:32 +0000)]
ST_MapAlgebraFctNgb:add in the nodatamode to ST_ (forgot it last time).  I still have no clue what this parameter does -- doesn't seem to do anything for me like get rid of the border. Add in links to where to get example raster used. fix some typos

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

13 years agoAdd testcase for #1311 (lwgeom_split).
Sandro Santilli [Mon, 21 Nov 2011 14:59:36 +0000 (14:59 +0000)]
Add testcase for #1311 (lwgeom_split).

Also fix existing testcase (wasn't really testing it).

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

13 years agoFix memory leak in lwgeom_split
Sandro Santilli [Mon, 21 Nov 2011 14:59:30 +0000 (14:59 +0000)]
Fix memory leak in lwgeom_split

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

13 years agoHush warning about missing prototype.
Sandro Santilli [Mon, 21 Nov 2011 12:10:25 +0000 (12:10 +0000)]
Hush warning about missing prototype.

This is really a commit intended to amend the previous for the sake
of pointing to the correct bug being closed by it: #1273 (not #1023
which is more complex)

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

13 years agoHave gserialized_get_gbox_p always return a round-to-float box
Sandro Santilli [Mon, 21 Nov 2011 12:03:48 +0000 (12:03 +0000)]
Have gserialized_get_gbox_p always return a round-to-float box

That is, even when computing the box from scratch.
This makes the box always float-oriented,
consistently between cached and computed boxes.
Closes (hopefully forever) bug #1023.
Includes testcase otherwise failing.

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

13 years agoAdd testcase for ticket #1302 (now passes)
Sandro Santilli [Mon, 21 Nov 2011 09:33:51 +0000 (09:33 +0000)]
Add testcase for ticket #1302 (now passes)

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

13 years agoUpdate expected error messages not to include the "topology" namespace (now that...
Sandro Santilli [Mon, 21 Nov 2011 08:33:43 +0000 (08:33 +0000)]
Update expected error messages not to include the "topology" namespace (now that it's part of the search_path).

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

13 years agoRename "LibGeom Suite" to simply "libgeom", for easy of use
Sandro Santilli [Mon, 21 Nov 2011 08:23:31 +0000 (08:23 +0000)]
Rename "LibGeom Suite" to simply "libgeom", for easy of use

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

13 years agoSurrender to evidence of the narrow ring tested being clockwise
Sandro Santilli [Mon, 21 Nov 2011 08:21:41 +0000 (08:21 +0000)]
Surrender to evidence of the narrow ring tested being clockwise

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

13 years agoImprove robustness of ptarray_isccw (see #1302)
Sandro Santilli [Mon, 21 Nov 2011 08:08:18 +0000 (08:08 +0000)]
Improve robustness of ptarray_isccw (see #1302)

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

13 years agoLogic to add topology to database search path on install or upgrade
Regina Obe [Mon, 21 Nov 2011 07:48:23 +0000 (07:48 +0000)]
Logic to add topology to database search path on install or upgrade

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

13 years agoFIX upgrade script - complement to r8186 - drop all mapalgebra functions before upgra...
Regina Obe [Mon, 21 Nov 2011 04:02:24 +0000 (04:02 +0000)]
FIX upgrade script - complement to r8186 - drop all mapalgebra functions before upgrade because for pg9.0+ CREATE OR REPLACE FUNCTION fails if argument names have changed.  Also update docs to reflect new naming of userfunction to onerasteruderfunc,tworasteruserfunc,onerasternguserfunc

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

13 years agofix some ST_MapAlgebra userfunc arg names to agree with code. Still ng ones to go...
Regina Obe [Sun, 20 Nov 2011 21:37:44 +0000 (21:37 +0000)]
fix some ST_MapAlgebra userfunc arg names to agree with code. Still ng ones to go and drop fix.

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

13 years agoAdd another test for ptarray_isccw, which incredibly seems to disagree with the same...
Sandro Santilli [Sun, 20 Nov 2011 21:35:18 +0000 (21:35 +0000)]
Add another test for ptarray_isccw, which incredibly seems to disagree with the same check done when the same ring occurs in a polygon

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

13 years agoDo not memcpy to self in ptarray_reverse (see #1302)
Sandro Santilli [Sun, 20 Nov 2011 21:19:12 +0000 (21:19 +0000)]
Do not memcpy to self in ptarray_reverse (see #1302)

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

13 years agoBetter indent for comparing obtained/expected
Sandro Santilli [Sun, 20 Nov 2011 21:19:07 +0000 (21:19 +0000)]
Better indent for comparing obtained/expected

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

13 years agoFix 'clean' rule under loader to drop stuff under .libs
Sandro Santilli [Sun, 20 Nov 2011 20:51:27 +0000 (20:51 +0000)]
Fix 'clean' rule under loader to drop stuff under .libs

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

13 years agoAdd test for lwgeom_force_clockwise (see #1302)
Sandro Santilli [Sun, 20 Nov 2011 20:51:22 +0000 (20:51 +0000)]
Add test for lwgeom_force_clockwise (see #1302)

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

13 years agoAdd test for ptarray_isccw (see #1302)
Sandro Santilli [Sat, 19 Nov 2011 17:28:33 +0000 (17:28 +0000)]
Add test for ptarray_isccw (see #1302)

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

13 years agoAddition of function rt_util_gdal_datatype_to_pixtype to complement rt_util_pixtype_t...
Bborie Park [Fri, 18 Nov 2011 23:47:35 +0000 (23:47 +0000)]
Addition of function rt_util_gdal_datatype_to_pixtype to complement rt_util_pixtype_to_gdal_datatype.

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

13 years agoDocumented ST_Rotation and ST_SetRotation.
David Zwarg [Fri, 18 Nov 2011 22:38:34 +0000 (22:38 +0000)]
Documented ST_Rotation and ST_SetRotation.

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

13 years agoUpdate parameter names for regprocedure data types
Bborie Park [Fri, 18 Nov 2011 21:41:55 +0000 (21:41 +0000)]
Update parameter names for regprocedure data types

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

13 years agoNodata mode defaults to 'ignore' if it is NULL. Added tests for out of range neighbor...
David Zwarg [Fri, 18 Nov 2011 21:28:04 +0000 (21:28 +0000)]
Nodata mode defaults to 'ignore' if it is NULL. Added tests for out of range neighborhoods.

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

13 years agoNon-functional change. Updated author email address for dzwarg.
David Zwarg [Fri, 18 Nov 2011 20:56:57 +0000 (20:56 +0000)]
Non-functional change. Updated author email address for dzwarg.

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

13 years agoRefactored ST_MapAlgebraFctNgb to cache userfunction lookup, and accept NULL input...
David Zwarg [Fri, 18 Nov 2011 20:53:46 +0000 (20:53 +0000)]
Refactored ST_MapAlgebraFctNgb to cache userfunction lookup, and accept NULL input and output values.

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