Commit graph

6785 commits

Author SHA1 Message Date
Pierre Racine 7d101938d1 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
2011-12-01 16:05:42 +00:00
Pierre Racine 37b702b7a7 Ticket 1342. Integrate ST_Clip script into rtpostgis.sql
git-svn-id: http://svn.osgeo.org/postgis/trunk@8283 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-01 15:52:39 +00:00
Pierre Racine 3631b192df Ticket #1340. Integrate ST_Union into rtpostgis.sql
git-svn-id: http://svn.osgeo.org/postgis/trunk@8282 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-01 15:15:34 +00:00
Pierre Racine 8e47d93d39 Replaced AsBinary with ST_AsBinary in the test section
git-svn-id: http://svn.osgeo.org/postgis/trunk@8281 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-01 15:11:15 +00:00
Regina Obe 2aa8c6e733 #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
2011-12-01 13:32:10 +00:00
Regina Obe 5070e0112a #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
2011-12-01 08:36:30 +00:00
Regina Obe d50e3f770b #1333 geocode intersections
git-svn-id: http://svn.osgeo.org/postgis/trunk@8275 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-01 08:28:22 +00:00
David Zwarg bc11c03245 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
2011-12-01 04:29:24 +00:00
Bborie Park 9ad8d2bdc6 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
2011-12-01 02:23:46 +00:00
Pierre Racine 299f6ec35b Copied from ST_MapAlgebra.sql
git-svn-id: http://svn.osgeo.org/postgis/trunk@8272 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-01 01:11:28 +00:00
Pierre Racine 9cd7a3972d Copied from ST_Union
git-svn-id: http://svn.osgeo.org/postgis/trunk@8271 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-01 01:10:24 +00:00
Pierre Racine 8146bd4b7e 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
2011-12-01 01:09:22 +00:00
Pierre Racine 029834ee69 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
2011-12-01 01:07:58 +00:00
Pierre Racine 4f6c2800f7 Added some variants and tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@8268 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-01 01:07:10 +00:00
Pierre Racine a90bc98922 plpgsql implementation for st_clip.sql(raster, geom)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8267 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-30 22:42:13 +00:00
Pierre Racine dab1e5887f Added the id of the polygon in the example
git-svn-id: http://svn.osgeo.org/postgis/trunk@8266 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-30 22:41:39 +00:00
David Zwarg 070d5b4702 Added ST_Aspect map algebra neighborhood shortcut function. #1318
git-svn-id: http://svn.osgeo.org/postgis/trunk@8265 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-30 22:34:29 +00:00
David Zwarg c46934ade1 Added ST_Slope map algebra neighborhood shortcut function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8264 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-30 21:44:36 +00:00
Bborie Park 1897194dd0 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
2011-11-30 20:35:57 +00:00
David Zwarg 8fee101ce1 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
2011-11-30 19:26:34 +00:00
David Zwarg 3b770bde14 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
2011-11-30 16:45:54 +00:00
David Zwarg 6582cf9f06 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
2011-11-30 14:51:33 +00:00
Bborie Park 28c81a8579 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
2011-11-29 23:25:49 +00:00
Sandro Santilli 40180c912e Ignore more generated files
git-svn-id: http://svn.osgeo.org/postgis/trunk@8258 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-29 20:30:36 +00:00
Paul Ramsey 22c50e8e1b 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
2011-11-29 20:22:40 +00:00
Pierre Racine 65aab4a7c9 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
2011-11-29 16:57:52 +00:00
Pierre Racine d62d4df2e7 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
2011-11-29 16:34:48 +00:00
Pierre Racine 80e03d0295 Some more useful functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@8254 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-29 16:20:06 +00:00
Pierre Racine fc659b26bb Added some plpgsql functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@8253 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-29 16:15:25 +00:00
Regina Obe 576b575b13 Fix for #1310
git-svn-id: http://svn.osgeo.org/postgis/trunk@8252 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-29 08:49:06 +00:00
Regina Obe 35d7d7f0c7 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
2011-11-28 13:36:52 +00:00
Regina Obe 466f6e8b6d put a firmer sorta date in the sand
git-svn-id: http://svn.osgeo.org/postgis/trunk@8250 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-26 21:17:59 +00:00
Regina Obe 278a386276 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
2011-11-26 21:16:12 +00:00
Paul Ramsey 7dfa77b7cd ST_AsSVG kills whole postgres server when fails (#1028)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8246 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-26 06:07:16 +00:00
Regina Obe b3e07d8ba7 update credits to include hard-core testers
git-svn-id: http://svn.osgeo.org/postgis/trunk@8244 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-26 05:25:41 +00:00
Paul Ramsey 9ac7c6da23 Revert per #1246
git-svn-id: http://svn.osgeo.org/postgis/trunk@8243 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-26 05:04:27 +00:00
Regina Obe 82f97f55c9 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
2011-11-25 11:54:34 +00:00
Regina Obe dc6b1d364f 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
2011-11-25 11:49:07 +00:00
Sandro Santilli a71b7fa8bd 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
2011-11-24 21:13:22 +00:00
Paul Ramsey 4b5ff1f844 Fix operator mis-referencing nd function for 2d op.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8238 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-24 19:17:16 +00:00
Sandro Santilli 543e61df5d 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
2011-11-24 16:01:29 +00:00
Sandro Santilli 01ad3d3b53 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
2011-11-24 16:01:14 +00:00
Regina Obe 9bc1a87bc1 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
2011-11-24 03:44:16 +00:00
Regina Obe 8959bb82f5 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
2011-11-24 03:23:10 +00:00
Regina Obe e7b660caa1 Amend installation instructions to include json-dir configure option
git-svn-id: http://svn.osgeo.org/postgis/trunk@8233 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-24 03:14:49 +00:00
Regina Obe 821ca3f242 minor updates to bios
git-svn-id: http://svn.osgeo.org/postgis/trunk@8232 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-24 02:05:06 +00:00
Regina Obe cb9328b74e update news / credits for ST_GeomFromGeoJSON
git-svn-id: http://svn.osgeo.org/postgis/trunk@8231 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-24 01:58:25 +00:00
Sandro Santilli 9b6698d0bf Const-correct GML signatures
git-svn-id: http://svn.osgeo.org/postgis/trunk@8229 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-23 17:28:48 +00:00
Regina Obe a780bda39f change + to | to make strk happy
git-svn-id: http://svn.osgeo.org/postgis/trunk@8228 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-23 17:26:50 +00:00
Regina Obe dc2325d64b 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
2011-11-23 17:24:02 +00:00