Commit graph

6717 commits

Author SHA1 Message Date
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
Regina Obe bc5702ba49 fix typo in GML description noted by strk
git-svn-id: http://svn.osgeo.org/postgis/trunk@8226 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-23 15:27:59 +00:00
Regina Obe ed2cb05cb0 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
2011-11-23 02:17:27 +00:00
Bborie Park d767a15afc 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
2011-11-22 19:01:26 +00:00
Bborie Park b445468c1e Corrected incorrect drop function statement.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8223 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-22 18:10:07 +00:00
Bborie Park 25c6a5f32b 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
2011-11-22 17:58:35 +00:00
Regina Obe 5057823985 up the alpha numbers
git-svn-id: http://svn.osgeo.org/postgis/trunk@8221 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-22 09:26:56 +00:00
Regina Obe e7069aef95 missed a spot
git-svn-id: http://svn.osgeo.org/postgis/trunk@8220 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-22 09:21:14 +00:00
Regina Obe cbf60fa231 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
2011-11-22 09:05:36 +00:00
Bborie Park 7922deeea7 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
2011-11-22 01:06:50 +00:00
Bborie Park ba24e9ce08 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
2011-11-21 20:09:10 +00:00
Bborie Park f77975da4f 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
2011-11-21 19:55:54 +00:00
Bborie Park e7ba644265 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
2011-11-21 19:18:37 +00:00
Regina Obe 30ee26ae97 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
2011-11-21 19:18:34 +00:00
Pierre Racine d5b4f07523 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
2011-11-21 17:37:06 +00:00
Sandro Santilli 80aca4236e 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
2011-11-21 16:32:27 +00:00
Regina Obe 34d9f2c17a 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
2011-11-21 16:15:46 +00:00
Sandro Santilli abbbc690ef Numerate tests for line_substring
git-svn-id: http://svn.osgeo.org/postgis/trunk@8210 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 16:03:25 +00:00
Pierre Racine bdcdc1c62c -Fix cut and paste error
git-svn-id: http://svn.osgeo.org/postgis/trunk@8209 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 15:59:54 +00:00