Commit graph

6970 commits

Author SHA1 Message Date
Bborie Park 6ee58dd0ec Added missing Makefile.in for raster/scripts
git-svn-id: http://svn.osgeo.org/postgis/trunk@8374 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 05:11:53 +00:00
Bborie Park fd89c8dc75 Set svn:keywords for "$Id$"
git-svn-id: http://svn.osgeo.org/postgis/trunk@8373 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 05:06:40 +00:00
Bborie Park 3802f3def4 Added version information.
Associated ticket is #1369.


git-svn-id: http://svn.osgeo.org/postgis/trunk@8372 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 05:03:20 +00:00
Bborie Park ad529be679 With commit of C-based raster2pgsql in r8369, removed dependency checks on Python, NumPy and GDAL with Python bindings. You will want to run autogen.sh with this commit. With this commit, the python-based raster2pgsql.py is now retired and unsupported.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8371 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 03:00:12 +00:00
Bborie Park 77a9cd97c1 Additional check with warnings if PostgreSQL identifiers exceed the standard maximum length of 63 characters (64 counting NULL)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8370 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 01:58:50 +00:00
Bborie Park 8b8ce38f5d Addition of C-based raster2pgsql in raster/loader. No changes have been made to remove the existing python-based raster2pgsql.py nor remove the python dependency in configure. Users will need to run autogen.sh after this revision.
Associated ticket is #1297.


git-svn-id: http://svn.osgeo.org/postgis/trunk@8369 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-12 23:12:46 +00:00
Sandro Santilli b5665989f7 Skip constraints on raster_columns and raster_overviews
git-svn-id: http://svn.osgeo.org/postgis/trunk@8368 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-12 22:42:36 +00:00
Regina Obe adc73b04ce fix title
git-svn-id: http://svn.osgeo.org/postgis/trunk@8367 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-12 22:38:41 +00:00
Sandro Santilli 4af70020b7 Rewrite spatial table constraints to add st_ prefix and use 0 rather than -1 for unknown
git-svn-id: http://svn.osgeo.org/postgis/trunk@8366 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-12 22:22:57 +00:00
Sandro Santilli c6db7b5748 Filter OPERATOR at the ASCII dump phase to have finer control over which operators are really skipped (#1368)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8365 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-12 21:45:49 +00:00
Regina Obe 363522fb4f another example of ST_Union
git-svn-id: http://svn.osgeo.org/postgis/trunk@8364 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-12 20:32:52 +00:00
Regina Obe a8fef1ac4e example of ST_Union
git-svn-id: http://svn.osgeo.org/postgis/trunk@8363 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-12 20:23:57 +00:00
Sandro Santilli 718c5b739f Drop lwgeom_gist and dependent items, including from dumps (#1362)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8362 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-12 16:10:11 +00:00
Sandro Santilli c113799c5f Do not restore metadata tables which now became views
git-svn-id: http://svn.osgeo.org/postgis/trunk@8361 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-12 15:45:47 +00:00
Sandro Santilli b40400b1a8 Cleanup item list: drop duplicates, add some missings
git-svn-id: http://svn.osgeo.org/postgis/trunk@8360 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-12 15:28:30 +00:00
Sandro Santilli 600a60e7f8 Remove duplicated entries, add some missing ones
git-svn-id: http://svn.osgeo.org/postgis/trunk@8359 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-12 15:28:25 +00:00
Regina Obe 31e11e6961 reduce ST_MakeEnvelope down to one function but make srid default to 0 (would be nice if we defined an @SRID_UNKNOWN in the sqldefine.h.in so I don't have to hard code this). Get rid of other variant. changing to use default parameters doesn't seem to require dropping the function so only had to drop one of them
git-svn-id: http://svn.osgeo.org/postgis/trunk@8358 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-12 12:17:21 +00:00
Regina Obe 7062cf8ec2 oops took out a tag by accident
git-svn-id: http://svn.osgeo.org/postgis/trunk@8357 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-12 12:09:06 +00:00
Regina Obe a51c1f3081 document the new ST_MakeEnvelope variant (pretend like its used default paramters already), will fix the code later
git-svn-id: http://svn.osgeo.org/postgis/trunk@8356 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-12 12:03:40 +00:00
Regina Obe 5eb64abbaf #1366 -- don't rely on state field being capitalized.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8355 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-12 02:20:04 +00:00
Regina Obe 02448a2244 forgot about max /min
git-svn-id: http://svn.osgeo.org/postgis/trunk@8354 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-11 20:23:41 +00:00
Regina Obe 563f1074d4 change generateor to display name for aggregates instead of id. For raster ids are different from name
git-svn-id: http://svn.osgeo.org/postgis/trunk@8353 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-11 20:21:11 +00:00
Regina Obe 7822734e6d preliminary documentation for raster version of ST_Union aggregate function
git-svn-id: http://svn.osgeo.org/postgis/trunk@8352 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-11 19:29:58 +00:00
Regina Obe e887b76b2e Revisions to ST_Union for raster: get rid of dependency on rastexpr (and get rid of type), put in regress tests, get rid of many ST_Union permutations and limit to st_union(rast), st_union(rast,p_expression), st_union(rast,band_num), st_union(rast,band_num,p_expression). Note for drop I'm not dropping those other versions in case people have installed them from scripts folder or are currently using them. just dropping the ones I'm replacing.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8351 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-11 15:45:07 +00:00
Regina Obe be216ec941 fix function name typo in geocode_intersection
git-svn-id: http://svn.osgeo.org/postgis/trunk@8350 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-11 02:42:57 +00:00
Regina Obe 97c483c194 minor edit
git-svn-id: http://svn.osgeo.org/postgis/trunk@8349 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-10 18:08:44 +00:00
Regina Obe 1ca56d24e1 fix error in logic
git-svn-id: http://svn.osgeo.org/postgis/trunk@8348 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-10 18:03:02 +00:00
Regina Obe 9bfab18123 missed a spot
git-svn-id: http://svn.osgeo.org/postgis/trunk@8347 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-10 16:56:18 +00:00
Regina Obe 7cb9653c8b describe the example a bit better for ST_AddBand multi-band example
git-svn-id: http://svn.osgeo.org/postgis/trunk@8346 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-10 16:55:38 +00:00
Regina Obe 22bc1e2512 #1361: fill in some more cases where hard/soft
git-svn-id: http://svn.osgeo.org/postgis/trunk@8345 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-10 11:09:39 +00:00
Regina Obe 98ef674d30 #1361: make it clearer that a hard upgrade is required of everyone.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8344 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-10 11:04:49 +00:00
Regina Obe b53ce2c834 ST_AddBand version that takes an array of rasters
git-svn-id: http://svn.osgeo.org/postgis/trunk@8343 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-10 03:12:06 +00:00
Bborie Park 3ab3a63f3a Fixed calls to the wrong memory allocation function in rtpg_XXX utility functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8342 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-10 01:20:40 +00:00
Bborie Park d68c6424ea Code refactoring in rtpg_ utility functions for better memory usage and syntax cleanup in rt_api.*
git-svn-id: http://svn.osgeo.org/postgis/trunk@8341 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-10 01:01:37 +00:00
Bborie Park e4ca83f343 Fixed missing $ in AddOverviewConstraint() which was setting 7 as the overview factor instead of the value at $7.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8340 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-10 01:00:25 +00:00
Sandro Santilli a81a930347 Add all signatures found in a newly created PostGIS 2.0 database
See #1360

git-svn-id: http://svn.osgeo.org/postgis/trunk@8339 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-09 18:59:39 +00:00
Sandro Santilli 8e403eceff Add box3d related objects to skip in the _restore scripts (#1359)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8338 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-09 17:17:29 +00:00
Sandro Santilli f622087235 Restrict disabled code to the one really hurting
See ticket #665 for more informations.
The commit also renames the test suite to "surface".

git-svn-id: http://svn.osgeo.org/postgis/trunk@8337 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-09 16:27:35 +00:00
Sandro Santilli f4d0271104 gbox_float_round: don't roundup Z value if the box doesn't have one
Fixes #1309

git-svn-id: http://svn.osgeo.org/postgis/trunk@8336 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-09 15:33:14 +00:00
Sandro Santilli 26fbbe9457 Add a public lwgeom_get_bbox function (#1324)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8335 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-09 14:37:16 +00:00
Sandro Santilli 4a1645eaab Don't let lwgeom_add_bbox syntetize a fake box for empty geometries
Empty geometries have no box. Period.
Update GML extent output for empty geometries to handle the special
case by using empty tags. Regress test it.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8334 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-09 14:37:11 +00:00
Sandro Santilli 9df7101d93 Fix segfault in GML3 extent output (#1323)
Add support for srsDimension in GML3 extent output.
Add unit level comprensive regression testing.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8333 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-09 13:50:50 +00:00
Sandro Santilli 5764c37a57 Allow calling ST_MakeEnvelope w/out a srid (#1339)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8332 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-09 12:25:37 +00:00
Sandro Santilli c83db31fe5 Add a gbox_overlaps_2d function, use when appropriate (#1357)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8331 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-09 11:18:09 +00:00
Paul Ramsey c80ebf1baa Guard against NaN values in coordinates passing into GEOS (#627)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8328 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-08 22:16:08 +00:00
Paul Ramsey 0e96180dc6 Check that NaN coordinate values find their way into bboxes, they do, NaN is bigger than Inf, apparently.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8327 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-08 21:57:37 +00:00
Paul Ramsey 75294b428d Test for bbox calculations when there's an infinite coordinate.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8326 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-08 21:26:39 +00:00
Bborie Park ed7fff55e8 Return use of GDAL "natural" blocking removed in r8313 and refactor pointer handling.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8325 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-08 20:05:49 +00:00
Paul Ramsey d168bf3b34 Remove box3d_extent hack
git-svn-id: http://svn.osgeo.org/postgis/trunk@8324 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-08 19:51:04 +00:00
Paul Ramsey 73284247a9 Make the ST_Equals test insensitive to minor box differences.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8323 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-08 17:54:38 +00:00