Commit graph

7922 commits

Author SHA1 Message Date
Paul Ramsey 7bbca4bf0b Make --prefix note a warning rather than a failure. (#1628)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9375 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 19:46:45 +00:00
Sandro Santilli 4b605d2e5a Add an internal topology._st_mintolerance funtion
This function computes the minimum tolerance for a given geometry.
It works by computing the smallest floating point difference that
could be expressed on any vertex of the geometry.

Currently it's only used to workaround the ST_DWithin/ST_Within
inconsistency (#1625) but could probably be used everytime 0 is
passed as a tolerance, possibly fixing #1641 as well.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9374 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 19:09:50 +00:00
Bborie Park 4e0e8a5948 Update regression tests for 1-raster ST_MapAlgebraExpr due to commit r9371
git-svn-id: http://svn.osgeo.org/postgis/trunk@9373 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 16:47:20 +00:00
Pierre Racine e15f24052c Fix for ticket #1635. Added explicit ~ and && operators on raster and geometry.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9372 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 16:47:18 +00:00
Bborie Park 64af0eb823 Forced casting of output from 1-raster ST_MapAlgebraExpr. Ticket is #1639.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9371 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 15:59:39 +00:00
Sandro Santilli eb7abe287c MathML DTDs are also needed for the HTML
git-svn-id: http://svn.osgeo.org/postgis/trunk@9370 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 15:51:43 +00:00
Sandro Santilli 36640e6844 added MathML 3 DTD to requirements in doc
git-svn-id: http://svn.osgeo.org/postgis/trunk@9369 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 15:51:35 +00:00
Sandro Santilli e0008fb9ab Add a test for #1641 using a tolerance (1e-16 is good enough)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9368 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 15:14:27 +00:00
Sandro Santilli 8aa78cedd0 Add test for #1641 (disabled as it would fail)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9367 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 15:07:58 +00:00
Sandro Santilli ab7631eaa3 Cleanup the face table as well (you just can't drop the universe)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9366 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 15:07:49 +00:00
Sandro Santilli 814c50b25e Add more items in the skip list (#1640)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9365 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 12:50:19 +00:00
Sandro Santilli febf179ddf Add tests for ptarray_insert_point (see #1640)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9364 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 12:25:58 +00:00
Sandro Santilli a389fd3cdc Check args passed to ptarray_set_point4d
git-svn-id: http://svn.osgeo.org/postgis/trunk@9363 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 12:25:50 +00:00
Sandro Santilli 3a037f7232 Drop reference to postgis_uses_stats (#1632)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9362 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 11:58:43 +00:00
Sandro Santilli 5a80788566 Properly exit the loop parsing spatial_ref_sys population (#1640)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9361 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 09:16:15 +00:00
Sandro Santilli 06edacae4e Drop postgis_uses_stats (#1632)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9360 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 08:54:38 +00:00
Sandro Santilli 6ecda2a965 Rename drop files to be hopefully clearer, add copyright headers
git-svn-id: http://svn.osgeo.org/postgis/trunk@9359 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 08:26:34 +00:00
Sandro Santilli cfaec9444b Stop including drop calls from main postgis.sql file
Upgrade file is still generated with the drop file included

git-svn-id: http://svn.osgeo.org/postgis/trunk@9358 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-01 08:26:25 +00:00
Paul Ramsey 269ec63ddf make parse location error test a little more lenient
git-svn-id: http://svn.osgeo.org/postgis/trunk@9357 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 18:58:06 +00:00
Paul Ramsey 80bbe906f2 Update for post-Beta1
git-svn-id: http://svn.osgeo.org/postgis/trunk@9354 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 18:19:24 +00:00
Paul Ramsey 62fdf5ab69 Update for beta1
git-svn-id: http://svn.osgeo.org/postgis/trunk@9353 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 18:18:42 +00:00
Sandro Santilli 9c19f7f940 Check first point after snapping an edge to a new point (#1631)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9352 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 15:59:14 +00:00
Sandro Santilli 72348611c8 Get the deprecated function right (fixes previous commit)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9351 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 14:20:41 +00:00
Sandro Santilli 614e2333f7 Drop removed st_clip function (#1630)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9350 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 14:14:19 +00:00
Sandro Santilli fb3211b4b3 Do not install intermediary files (#1621)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9349 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 13:52:38 +00:00
Sandro Santilli 8a86eaeaf6 Don't override postgis_svn_revision.h with a fake revision (#1634)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9348 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 13:35:20 +00:00
Sandro Santilli d8cbd46e3e Stop using postgis_uses_stats() from postgis_full_version() (#1632)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9347 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 10:55:02 +00:00
Sandro Santilli 5292f6f6f8 Integrate upgrade tips in postgis_full_version reference
git-svn-id: http://svn.osgeo.org/postgis/trunk@9346 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 10:48:03 +00:00
Sandro Santilli eef716e220 Mention rtpostgis_upgrade* and topology_upgrade* in manual (#1611)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9345 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 10:39:42 +00:00
Sandro Santilli 0d7084d39e Have XSLTPROCFLAGS default to --nonet
This way you can drop by redefining it as in: make XSLTPROCFLAGS=

git-svn-id: http://svn.osgeo.org/postgis/trunk@9344 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 10:08:37 +00:00
Sandro Santilli 259dfcd096 Add support for a user-defined XSLTPROCFLAGS variable to append
Example: make -C doc html XSLTPROCFLAGS=--nonet

Still defaults to allow net access, I couldn't find an option to
override --nonet with its contraty...

git-svn-id: http://svn.osgeo.org/postgis/trunk@9343 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 09:51:26 +00:00
Regina Obe 3bb5d43a84 #1630: Swap the order of dropping - you have to drop the function first before the type
git-svn-id: http://svn.osgeo.org/postgis/trunk@9342 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 09:00:10 +00:00
Regina Obe 6e67c15e0d #1630: drop wktgeomval type from extension, but still can't drop because of function _st_dumpaswktpolygons
git-svn-id: http://svn.osgeo.org/postgis/trunk@9341 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 08:44:00 +00:00
Regina Obe fee6b636ad #1619: Logic to mark spatial_ref_sys, topology, layers tables as user editable so that the data in them gets backed up during pg_dump
git-svn-id: http://svn.osgeo.org/postgis/trunk@9340 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 08:04:55 +00:00
Pierre Racine 3faa5d9980 git-svn-id: http://svn.osgeo.org/postgis/trunk@9339 b70326c6-7e19-0410-871a-916f4a2858ee 2012-02-29 03:01:03 +00:00
Pierre Racine 86e45de6c8 Other minor fix.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9338 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 02:56:15 +00:00
Pierre Racine a8fae12b2a fix doc typo.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9337 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 02:51:27 +00:00
Pierre Racine 82dd3e883c Fix for ticket 1536. Added a nodataval[] parameter to ST_Intersection and removed the otheruserfunc one.
Changed the ST_Clip trimraster parameter name to crop and set it to true by default.

Updated the doc.


git-svn-id: http://svn.osgeo.org/postgis/trunk@9336 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 02:47:35 +00:00
Paul Ramsey eb3394b2f1 Fix for MinGW!
git-svn-id: http://svn.osgeo.org/postgis/trunk@9335 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 00:52:31 +00:00
Paul Ramsey 52aa461be9 Fix for windoze!
git-svn-id: http://svn.osgeo.org/postgis/trunk@9334 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-29 00:49:57 +00:00
Paul Ramsey 80bb6a71ef Make our --prefix policy crystal clear
git-svn-id: http://svn.osgeo.org/postgis/trunk@9333 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-28 18:50:18 +00:00
Paul Ramsey 806aea20c6 Fix regression due to new error message in GML generation
git-svn-id: http://svn.osgeo.org/postgis/trunk@9332 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-28 18:29:57 +00:00
Paul Ramsey d7136cab32 Make error message on GML2 calls for TIN more instructive (#1591)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9331 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-28 18:09:49 +00:00
Sandro Santilli 9f7ad76ab4 TopoGeo_addPoint: use a more functional tolerance when snapping (#1613)
All of this looks like magic but it isn't.
I actually wonder if ST_ModEdgeSplit and ST_ModEdgesSplit and ST_Split
itself should do this internally, and if in doing so we wouldn't need
to do it from higher levels. It doesn't indeed feel comfortable to do
all this noise on such an high level.

Anyway this commit adds a now-passing regression test for the topology
building issue and that's A Good Thing.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9330 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-28 17:17:39 +00:00
Sandro Santilli 856046a717 Hush debugging lines unless requested
git-svn-id: http://svn.osgeo.org/postgis/trunk@9329 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-28 17:17:29 +00:00
Sandro Santilli 02677a913b Ignore extension sql target dirs
git-svn-id: http://svn.osgeo.org/postgis/trunk@9328 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-28 10:43:59 +00:00
Sandro Santilli 0add2b3909 Have configure look for mathml2.dtd, rework doc build scripts (#1157)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9327 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-28 10:28:20 +00:00
Regina Obe b45902d9a2 correct proto output type -- ST_Union of rasters always returns a raster
git-svn-id: http://svn.osgeo.org/postgis/trunk@9326 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-28 10:17:06 +00:00
Paul Ramsey 23e02ac268 Set eol-style to LF
git-svn-id: http://svn.osgeo.org/postgis/trunk@9325 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-28 06:13:17 +00:00
Paul Ramsey 729d1061cb Try again with line endings, this time using eol-style instead of eol-type (#1605)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9324 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-27 22:08:12 +00:00