Sandro Santilli
|
ce9f044415
|
Test that healing of two edges is forbidden if any topogeom is defined by only one of them [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7088 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-05-04 18:20:11 +00:00 |
|
Sandro Santilli
|
5cc632dd81
|
Forbid healing edges if any feature is defined by only one of the two [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7087 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-05-04 18:20:01 +00:00 |
|
Sandro Santilli
|
9ca3b1669e
|
Complete primitive (SQL/MM) portion of ST_ModEdgeHeal, regress test [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7086 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-05-04 18:19:51 +00:00 |
|
Sandro Santilli
|
ece190863a
|
Implement ST_GetFaceEdges (sql/mm topology function) [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7081 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-05-03 13:32:41 +00:00 |
|
Sandro Santilli
|
cd37bf1577
|
Regress test for topology.polygonize(<toponame>)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7048 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-04-19 16:58:52 +00:00 |
|
Sandro Santilli
|
e38fac3d06
|
Add support for a RUNTESTFLAGS variable so you can do something like: 'make check RUNTESTFLAGS=-v' and get the problems printed w/out having to look at logs.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7015 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-04-11 09:54:06 +00:00 |
|
Sandro Santilli
|
727cd3369c
|
Use a 2d geometry for face mbr, even for 2.5d topologies. After all mbr is a rectangle (not cube) by definition (Minimum Bounding Rectangle) so we don't want to mess with poliedron or whatnot [see #103 for more infos about the can of worms..]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6995 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-04-02 12:27:13 +00:00 |
|
Sandro Santilli
|
f69dd26749
|
Add support for creating topologies allowing 3d vertices on edges and nodes. Includes regress testing [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6991 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-03-31 09:35:11 +00:00 |
|
Sandro Santilli
|
83db921ad5
|
Add another test for topology.AddFace in presence of an open edge whose endpoints both intersect a polygon ring which does not cover it.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6987 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-03-29 13:57:01 +00:00 |
|
Sandro Santilli
|
a209240f8d
|
Fix #874 by getting back to ST_SharedPaths use. Might try to optimize again in the future, but correctness first! This commit also adds regression testing for the case [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6942 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-03-19 23:35:21 +00:00 |
|
Sandro Santilli
|
bff7f6071f
|
Ticket #849 by Andrea Peri: topology.GetFaceByPoint implementation and test
git-svn-id: http://svn.osgeo.org/postgis/trunk@6889 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-03-09 21:59:39 +00:00 |
|
Sandro Santilli
|
e5ca72613d
|
Ticket #856: topology.CopyTopology(text,text) implementation, test and documentation
git-svn-id: http://svn.osgeo.org/postgis/trunk@6888 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-03-09 19:18:45 +00:00 |
|
Sandro Santilli
|
03f0a18e24
|
Make createtopogeom test independent from the number of topologies created before running it
git-svn-id: http://svn.osgeo.org/postgis/trunk@6887 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-03-09 16:30:17 +00:00 |
|
Sandro Santilli
|
af1dfe5f63
|
Add test for invalid AddFace call (polygon not fully defined by known edges)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6872 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-02-28 10:53:40 +00:00 |
|
Sandro Santilli
|
a9c3c02823
|
Founded -> Found (in expected results..)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6871 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-02-28 10:40:20 +00:00 |
|
Sandro Santilli
|
e13426764b
|
topology.GetEdgeByPoint: implementation and regress test, by Andrea Peri. Ticket #791. Note that previous commit (for #793) was GetNodeByPoint. My mistake, sorry.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6865 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-02-25 08:56:01 +00:00 |
|
Sandro Santilli
|
54ec9a6b4f
|
topology.GetEdgeByPoint: implementation and regress test, by Andrea Peri. Ticket #793
git-svn-id: http://svn.osgeo.org/postgis/trunk@6864 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-02-25 08:45:03 +00:00 |
|
Sandro Santilli
|
79e3fdbacc
|
Test passing polygons with holes to topology.AddFace [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6845 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-02-18 14:58:41 +00:00 |
|
Sandro Santilli
|
e80cdbbb54
|
Fix a bug in topology.CreateTopoGeom in presence of MixCased topologies [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6776 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-02-04 17:19:16 +00:00 |
|
Sandro Santilli
|
b590431807
|
Fix a bug in topology.add{Node,Edge,Face} breaking on MixedCased topology names [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6775 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-02-04 16:31:34 +00:00 |
|
Sandro Santilli
|
4bb089e777
|
AsGML(TopoGeometry): test xref to visited face [RT-SIGTA].
git-svn-id: http://svn.osgeo.org/postgis/trunk@6772 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-02-01 10:24:34 +00:00 |
|
Sandro Santilli
|
26573303ce
|
AsGML(TopoGeometry): add test for faces marking visit of edges [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6771 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-02-01 09:55:32 +00:00 |
|
Sandro Santilli
|
61bdf6988c
|
AsGML(TopoGeometry) Add test for ouput of multi puntual features [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6770 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-02-01 09:43:07 +00:00 |
|
Sandro Santilli
|
40556d4b2d
|
Use a <gml:Face> tag for each topological face, allowing proper xrefs. Needs xref testing (requires overlapping topological features) [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6768 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-31 17:33:55 +00:00 |
|
Sandro Santilli
|
b350029004
|
Add a "gmlversion" parameter to topology.AsGML(TopoGeometry). Test and document. [RT-SIGTA].
git-svn-id: http://svn.osgeo.org/postgis/trunk@6759 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-28 17:05:25 +00:00 |
|
Sandro Santilli
|
89f0060ff2
|
Change face.mbr field from BOX2D to GEOMETRY, and gist-index it, closes ticket #800 [RT-SIGTA].
git-svn-id: http://svn.osgeo.org/postgis/trunk@6747 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-28 08:55:22 +00:00 |
|
Sandro Santilli
|
80055a1ce2
|
AsGML(TopoGeometry): allow specifying a prefix for topology element identifiers, and test it. [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6744 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-27 20:35:23 +00:00 |
|
Sandro Santilli
|
9931745d6f
|
AsGML(TopoGeometry): fix xref syntax error (#811) [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6740 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-27 09:43:24 +00:00 |
|
Sandro Santilli
|
04a833324b
|
topology.AddEdge: when an intersection occurs, also report intersection point [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6739 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-27 08:48:11 +00:00 |
|
Sandro Santilli
|
427052b6e3
|
Complete visited bookkeeping for AsGML(TopoGeometry) and automate test for it [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6732 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-25 21:52:11 +00:00 |
|
Sandro Santilli
|
16e99f02ad
|
Test use of the options argument to topology.AsGML [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6726 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-25 15:05:17 +00:00 |
|
Sandro Santilli
|
6f385996bb
|
Make topology.AddEdge consistent with AddNode and AddFace in that it will return an existing identical Edge, if found.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6724 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-25 09:39:50 +00:00 |
|
Sandro Santilli
|
c1384ad26f
|
Test multi-component lineal topogeometries [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6719 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-24 20:56:36 +00:00 |
|
Sandro Santilli
|
2edc1c08c4
|
Add test for TopoSurface GML output with multi-face TopoGeometry objects [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6715 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-24 14:38:38 +00:00 |
|
Sandro Santilli
|
91063f859b
|
Test the noprefix and customprefix GML outputs against all geoms taken in consideration for the default GML ..
git-svn-id: http://svn.osgeo.org/postgis/trunk@6713 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-24 14:14:17 +00:00 |
|
Sandro Santilli
|
ff0c281c38
|
Add test for single-component areal TopoGeometry GML output [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6712 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-24 14:03:46 +00:00 |
|
Sandro Santilli
|
278e8bac53
|
AsGML(TopoGeometry) add test for TopoCurve output (only single-element, till ordering of components is sorted out) [RT-SIGTA].
git-svn-id: http://svn.osgeo.org/postgis/trunk@6709 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-24 11:11:06 +00:00 |
|
Sandro Santilli
|
63381ad200
|
Test GML output of puntual TopoGeometry objects. Lineal and Areal are still undergoing manual tests and debate about importance of components sequence ordering [RT-SIGTA].
git-svn-id: http://svn.osgeo.org/postgis/trunk@6708 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-24 09:31:21 +00:00 |
|
Sandro Santilli
|
ac2ce80a23
|
There's no need to add geometry columns when creating Topological layers, that's something only useful for caching geometries, so move to cache_geometries.sql
git-svn-id: http://svn.osgeo.org/postgis/trunk@6696 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-22 18:08:46 +00:00 |
|
Sandro Santilli
|
14cbbbd617
|
Cleanup the topology regress dir Makefile. Have load_topology.sql generated to allow for specifying different SRIDs.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6695 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-22 18:08:34 +00:00 |
|
Sandro Santilli
|
cec1e3324b
|
I've just realized TopoElement is also used for TopoGeomId/LayerID, thus can't restrict the second element to a max of 4 or using layers beyond the forth would be impossible. Fix the domain and test accordingly. Update documentation to be informative on the matter.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6684 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-21 14:08:59 +00:00 |
|
Sandro Santilli
|
2db89579b8
|
Make the TopoElement domain stricter to forbid arrays with more than 2 elements and also checking the element type being in valid range [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6672 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-19 16:46:16 +00:00 |
|
Sandro Santilli
|
d5a820bd90
|
Raise an exception if AddEdge is called on a topology which already defines faces other than the universe face (see #781)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6670 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-18 17:19:55 +00:00 |
|
Sandro Santilli
|
3c839c505c
|
topology.AddNode: fix detection of edge crossing (#780) [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6659 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-17 22:35:50 +00:00 |
|
Sandro Santilli
|
434d0238fd
|
ValidateTopology: Put some water on fire by avoiding a full cartesian product scan (#772). It's still too slow, but it is a step forward.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6657 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-17 21:03:36 +00:00 |
|
Sandro Santilli
|
ff5382c294
|
topology.ValidateTopology: rewrite the edge crossing detection query. Fixes a false positive (#777) and unexpectedly a bunch of false negative in the legacy_invalid testcase (now properly checked visually). [RT-SIGTA].
git-svn-id: http://svn.osgeo.org/postgis/trunk@6650 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-17 09:04:18 +00:00 |
|
Sandro Santilli
|
c4ac0d5a9b
|
topology.AddEdge: correctly handle the case in which a newly added closed edge touches an existing closed edge with an endpoint over a non-endpoint [RT-SIGTA].
git-svn-id: http://svn.osgeo.org/postgis/trunk@6649 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-17 08:47:34 +00:00 |
|
Sandro Santilli
|
d5c2ca585b
|
topology.AddFace: raise another WARNING about next_left/right_face element of topology edges not being set as dictated by the model
git-svn-id: http://svn.osgeo.org/postgis/trunk@6648 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-17 08:47:24 +00:00 |
|
Sandro Santilli
|
d20207b6f3
|
topology.AddEdge: handle case of endpoint intersection between closed edges. Fixes #770. [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6626 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-14 16:40:01 +00:00 |
|
Sandro Santilli
|
3b1c9e47d7
|
Fix bug in topology.DropTopology getting confused in presence of multiple topologies [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6578 b70326c6-7e19-0410-871a-916f4a2858ee
|
2011-01-07 09:55:00 +00:00 |
|