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
Regina Obe
dcd8364724
Add Jose and Even to credits
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8322 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-08 14:44:46 +00:00
Sandro Santilli
5b9e019d95
Add a note about ST_Estimated_Extent on empty or non-analyzed tables ( #877 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8321 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-08 13:35:31 +00:00
Sandro Santilli
aa89332e6e
Have ST_Estimated_Extent return NULL when no stats are found for a table.
...
No stats means empty table or no run of analyze. Warn about that.
These Fixes bug #877 . Includes regress test.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8319 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-08 11:29:00 +00:00
Sandro Santilli
48da4e3e31
Hush VACUUM and ANALYZE backend feedback while running tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8318 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-08 11:28:53 +00:00
Sandro Santilli
8c780265a5
topology.AddToSearchPath: quote database identifier.
...
Thanks to Jose Carlos Martinez Llario <jomarlla@cgf.upv.es>
git-svn-id: http://svn.osgeo.org/postgis/trunk@8315 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-08 08:07:58 +00:00
Bborie Park
dc6178d3af
Added rt_raster_set_pixel_line for use when setting values for sequential pixels. Should be faster than repeated calls to rt_raster_set_pixel.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8314 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-07 20:46:47 +00:00
Bborie Park
13ac027977
Refactored the GDALRasterIO part of rt_raster_from_gdal_dataset to use scanlines instead of "natural" blocks, which dramatically simplifies the code and makes it easier to maintain.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8313 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-07 15:29:46 +00:00
Regina Obe
064209f7a7
alphabetize and update tester credits
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8312 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-07 06:17:56 +00:00
Regina Obe
4169df2682
update license to provide detail about documentation license and copyright of data etc.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8311 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-07 03:41:57 +00:00
Bborie Park
4644f0d561
Fixed regression issue with rt_raster_from_gdal_dataset by explicitly setting the valid block sizes passed into GDALRasterIO. Probably related to the changes made in r8309
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8310 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-07 01:15:46 +00:00
Bborie Park
0e17e93920
Removed attempt to duplicate entire band in rt_raster_from_gdal_dataset
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8309 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-06 16:48:12 +00:00
Regina Obe
7e4c22248a
put some obsolete notes in existing management functions. Now that raster_columns is a view no longer need to use management functions to drop or add raster columns or tables. Will document the new addconstraints etc. taht replaces much of these soon.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8308 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-06 14:40:21 +00:00
Sandro Santilli
cd474ed611
Add copyright header. Date and attribution looked up by SCM history.
...
Verified by my own memory (I wrote the initial vesion of that file)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8307 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-06 12:16:47 +00:00
Bborie Park
f29936cca3
Resolved a bunch of memory issues related to use of SPI that have been bugging me for a while. Tested successfully in Linux 32 and 64-bit and OSX 64-bit.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8306 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-06 06:06:28 +00:00
Bborie Park
af14045d90
As per discussions and ticket #1319 , raster_columns and raster_overviews are now constraint-based views. AddRasterColumn, DropRasterColumn and DropRasterTable are now deprecated in favor of AddRasterConstraints and DropRasterConstraints. Additional constraints are now available for enforcing the consistency of the rasters in a table.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8305 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-05 18:58:51 +00:00
Bborie Park
47faf3b72f
Removed division by bin-width for when bin-widths are specified in ST_Histogram
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8304 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-05 18:36:56 +00:00
Bborie Park
bc1a5ceb95
Correctly free raster memory when handling NULL rasters.
...
Associated ticket is #1349
git-svn-id: http://svn.osgeo.org/postgis/trunk@8303 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-05 02:06:37 +00:00
Regina Obe
9fa820c582
#1343 : get rid of geomvalxy and change ST_PixelAsPolygons to use default args and do without geomvalxy
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8302 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-03 08:29:50 +00:00
Regina Obe
4f083d1b0e
#1338 - document ST_PixelWidth/Height
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8301 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-03 07:24:02 +00:00
Bborie Park
1c264ccf8b
Removed VARIADIC from ST_BandMetadata. Associated ticket is #1343 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8300 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-03 06:54:04 +00:00
Regina Obe
efbea175da
#1346 : fix misuse of quote_literal causing topology, topology, topology, topology
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8299 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-02 17:44:26 +00:00
Sandro Santilli
57248139f7
Encode dependency of topology.sql on ManageHelper.sql
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8298 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-02 17:28:16 +00:00
Regina Obe
7a5e6874ce
more revisions to cross streets logic -- don't rely on start point working with multilinestrings. change tfid to be unique index on faces.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8297 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-02 15:43:01 +00:00
Bborie Park
0c79da1b88
Added cleanup statements for bandmetatype type and change function signature for st_bandmetadata.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8296 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-02 15:22:33 +00:00
Bborie Park
82af1d7b1c
Removed the type bandmetadata as per #1343 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8295 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-02 15:13:44 +00:00
Regina Obe
d93b52290e
move geocode_intersection.sql to user api section since it is documented.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8294 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-02 08:07:15 +00:00
Regina Obe
f65443e980
try to make emphasis bold by putting in a role='bold'
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8293 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-02 06:27:51 +00:00
Regina Obe
977800c2d3
replace ~= with ST_OrderingEquals (now that we got rid of recheck the older ~= no longer is a truish geometry equality operator
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8292 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-01 20:41:20 +00:00
Regina Obe
5f602ecfb7
emphasize approximate in KNN operators to reduce the chance of any misunderstandings
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8291 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-01 20:37:22 +00:00
Regina Obe
417a10e4f6
make compatible with postgresql 8.4, more speed improvements
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8290 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-01 19:06:41 +00:00
Regina Obe
2723210c07
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
2011-12-01 17:52:15 +00:00
Regina Obe
bc5180039f
try to clarify accuracy etc. of <#> and <->
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8288 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-01 17:38:08 +00:00
Pierre Racine
39ee83c51d
Ticket 1342. Integrate ST_PixelAsPolygons into rtpostgis.sql
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8287 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-01 16:14:16 +00:00
Pierre Racine
2fb3d023b2
Return null when band number does not exist.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8286 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-01 16:07:24 +00:00
Pierre Racine
84235f76a1
Removed ST_MinPossibleVal defined in another script
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8285 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-01 16:06:40 +00:00