Sandro Santilli
fbfe439e67
Add debugging lines to sqlmm edge splitting functions
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9536 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-23 17:08:08 +00:00
Sandro Santilli
c317ab58d6
Add missing ticket reference to it's regression test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9535 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-23 15:11:07 +00:00
Paul Ramsey
29e2d6a299
Change @rm to rm for visibility
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9523 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-21 21:36:59 +00:00
Paul Ramsey
cf8753bd36
Make distclean should remove all the Makefile's generated by ./configure
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9522 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-21 20:32:29 +00:00
Sandro Santilli
95b8ba808d
Make sure to rebuild topology.sql on postgis_svn_revision.h change
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9492 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-14 15:40:33 +00:00
Sandro Santilli
ba8ee640f5
Add upgrade instructions
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9483 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-13 09:18:04 +00:00
Sandro Santilli
08fb7ae21e
Drop SRID constraint issue (not an issue anymore with typmod)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9482 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-13 09:17:55 +00:00
Sandro Santilli
17aad4599b
Add note about toTopoGeom
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9481 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-13 09:17:46 +00:00
Sandro Santilli
e3be619046
Drop .cvsignore files
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9429 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-08 10:36:15 +00:00
Sandro Santilli
bcf0caf894
Snap new lines over existing nodes ( #1654 )
...
Also add Salvatore to the list of testing heroes :)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9409 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-06 16:16:34 +00:00
Sandro Santilli
2aa8da7e1f
Don't let a single collapse hide _all_ edges ( #1650 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9408 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-06 13:44:04 +00:00
Sandro Santilli
eb170994e8
Skip collapsed edges after snapping ( #1650 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9407 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-06 13:21:01 +00:00
Sandro Santilli
b6ba629675
Uncomment new tests for #1641
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9406 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-06 13:20:41 +00:00
Sandro Santilli
68ec5d2211
Fix toTopoGeom to actualy _use_ to given tolerance ( #1647 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9404 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-06 09:05:00 +00:00
Sandro Santilli
1dbfa82550
Add GetTopologySRID ( #1182 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9399 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-05 12:24:48 +00:00
Sandro Santilli
bb4dc91e35
Optimize ST_AddIsoNode ( #983 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9398 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-05 12:14:47 +00:00
Sandro Santilli
5c31b7b19d
_ST_MinTolerance isn't IMMUTABLE, due to db lookup...
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9396 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-05 11:05:34 +00:00
Sandro Santilli
249909d5da
Handle 0 tolerance by using topology.precision or min float one
...
This handling fixes the #1641 case w/out passing an explicit
tolerance and makes a step toward #785 .
git-svn-id: http://svn.osgeo.org/postgis/trunk@9395 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-05 10:49:41 +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
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
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
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
aae8d047e9
Fix "make clean" to drop all generated files
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9312 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-27 16:26:53 +00:00
Sandro Santilli
5dd65e501d
Encode dependency of topology script on sqldefines (for version)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9311 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-27 16:06:24 +00:00
Sandro Santilli
2afa90ab68
Add postgis_topology_scripts_installed() function ( #1608 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9306 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-27 15:02:58 +00:00
Sandro Santilli
4727baa494
Be immune from topology sequence advancements
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9288 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-24 19:11:55 +00:00
Sandro Santilli
258f0ee04f
Do not report "face without edges" error for universal face ( #1612 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9285 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-24 15:23:35 +00:00
Sandro Santilli
69fcd2336f
Have ST_GetFaceGeometry check face existance, regress-test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9276 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-23 12:54:48 +00:00
Sandro Santilli
6c472db2c9
Update face MBR on edge change ( #1587 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9235 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-20 10:52:31 +00:00
Sandro Santilli
2ab2a79839
Check edge disposition around endnodes ( #1571 )
...
Includes a couple new testcases, for closed and non-closed edges
changing disposition around their end nodes.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9228 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-17 18:29:50 +00:00
Sandro Santilli
ba555d1caf
Rework edge motion range construction ( #1571 )
...
Includes a new testcase which was failing before this change
git-svn-id: http://svn.osgeo.org/postgis/trunk@9226 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-17 15:11:36 +00:00
Sandro Santilli
d1c6ef4633
Add another test for ST_ChangeEdgeGeom
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9225 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-17 14:03:28 +00:00
Sandro Santilli
e13e1fc349
Handle some (not all) cases of non-isomorphic edge changes ( #1571 )
...
The problem is much harder than it looks ...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9224 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-17 13:46:33 +00:00
Sandro Santilli
982d30e9cd
Add test numbers to ST_ChangeEdgeGeom regression cases
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9223 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-17 08:39:55 +00:00
Sandro Santilli
09ab3b3f1c
Update comment, hopefully clearer now
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9221 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-16 17:45:53 +00:00
Sandro Santilli
e6571a3a23
Add a topology.GetNodeEdges function
...
This function is a fundamental topological primitive to do things
like SQL-based poligonization.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9219 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-16 10:25:50 +00:00
Sandro Santilli
e9817355e9
Accept more feature type names from AddTopoGeometryColumn ( #1470 )
...
With this commit you can pass return of ST_GeometryType or
return GeometryType as input to the function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9172 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 16:29:30 +00:00
Sandro Santilli
2192c713e7
More VOLATILE -> STRICT ( #955 ). Let's call it completed.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9171 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 16:11:48 +00:00
Sandro Santilli
5fa68cfc62
Some VOLATILE functions turned to STABLE ( #955 )
...
A noticeable exception is the Geometry(TopoGeometry) cast which
triggers a regression when made STABLE.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9170 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 16:04:30 +00:00
Sandro Santilli
9c1782c75c
Drop (SRF()).* constructs ( #956 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9165 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-13 11:25:41 +00:00
Sandro Santilli
9dde5f7da2
Allow changing a closed edge (but w/out fixing linking, see #892 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9063 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-07 10:14:37 +00:00
Paul Ramsey
3febad8085
Have ST_Union aggregate use UnaryUnion from GEOS-3.0.0 ( #922 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9056 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-06 23:25:00 +00:00
Sandro Santilli
f51083ff58
Tabs to spaces (2)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9039 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-06 13:43:21 +00:00
Sandro Santilli
1afa31d791
Don't let ValidateTopology choke on invalid edges ( #1544 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9038 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-06 13:16:02 +00:00
Paul Ramsey
a0c941e2d9
Allow 'make check' to run all the way through on OSX (the sed implementation must be slightly different, so let's see if Perl is any more standard). Hopefully other platforms will be happy.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9037 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-06 03:20:48 +00:00
Sandro Santilli
8a2cfd063b
Fix _ST_AddFaceSplit code against PostgreSQL 9.1
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8961 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-28 23:11:08 +00:00
Sandro Santilli
bde32ab801
Don't put constant geometries in CTE, which confuses estimator
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8960 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-28 22:08:49 +00:00