Regina Obe
2412000666
logic to create a an topology_upgrade_20_minor.sql
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8157 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-16 03:41:37 +00:00
Sandro Santilli
8cacf6231f
Do not consider nodes with the same bounding box as being equal.
...
Fixes bug #1284 . Includes regression test.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8148 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-12 18:20:56 +00:00
Sandro Santilli
9fa0a260b0
ST_CreateTopoGeo: speedup merged lines splitting [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8069 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-31 22:26:22 +00:00
Sandro Santilli
fed45e298e
ST_CreateTopoGeo: do not drop input nodes of degree 2 ( #1258 ) [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8062 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-31 13:03:42 +00:00
Sandro Santilli
4655b811d2
Fix generation of topology in presence of edges with same bounding box ( #1261 ).
...
Includes regress test [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@8061 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-31 12:45:46 +00:00
Sandro Santilli
5a33485a8a
AddEdgeModFace, AddEdgeNewFaces: simplify calls to AddEdge [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8054 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-30 21:47:45 +00:00
Regina Obe
dd81a578ca
move function args to single line so CREATe EXTENSION topology FROM unpackaged script builds corectly
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7992 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-20 00:49:38 +00:00
Sandro Santilli
277be294bc
Clamp SRID in AddGeometryColumn, update expected topology test results to expect -1 being transformed to 0 (current official UNKNOWN SRID value).
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7966 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-10 20:26:22 +00:00
Sandro Santilli
840765e5c9
Simple review of the topology README. Wasn't that outdated :)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7939 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-04 16:45:33 +00:00
Sandro Santilli
1032a74af8
Tweak expected test output to expect unknown srid to be reported as 0
...
If this will change before release, git-revert is our friend
git-svn-id: http://svn.osgeo.org/postgis/trunk@7937 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-04 14:33:31 +00:00
Sandro Santilli
1a9e140b67
Make topology.CreateTopology unknown-srid-agnostic (uses ST_Srid to tell)
...
Hopefully this makes the topology code stable during the SRID fights :)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7936 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-04 14:33:23 +00:00
Sandro Santilli
f8ce0dcdf9
Drop more non-ascii dashes, update regress tests ( #1226 ) [RT-SIGTA]
...
There's a still-failing regress test due to SRID 0 being considered != 1
git-svn-id: http://svn.osgeo.org/postgis/trunk@7934 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-03 10:32:47 +00:00
Sandro Santilli
4a635b187b
Use ASCII dash, not UTF8 one. Fixes #1226 . [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7933 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-03 10:26:10 +00:00
Sandro Santilli
b4036c824b
Don't use the same name for input parameter and returned table description.
...
Hopefully fixes ticket #1210 [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7893 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-26 14:25:11 +00:00
Sandro Santilli
394249ebd0
Update topology functions status. We've completed the SQL/MM set !
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7886 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-23 19:21:14 +00:00
Sandro Santilli
f631305f2f
Implement topology.ST_CreateTopoGeo ( #1190 ) [RT-SIGTA]
...
Includes regress testing and documentation update
git-svn-id: http://svn.osgeo.org/postgis/trunk@7885 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-23 19:21:08 +00:00
Sandro Santilli
5399e4865d
Make face creation order predictable in ST_AddEdgeNewFaces ( #1205 )
...
Always create the face on the right first [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7883 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-22 14:06:12 +00:00
Sandro Santilli
58ad643b69
Add notes and TODO items about the edge-adding functions [RT-SIGTA]
...
See ticket #1205
git-svn-id: http://svn.osgeo.org/postgis/trunk@7882 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-22 09:14:43 +00:00
Sandro Santilli
bfcbd7726f
Reduce noice produced by ST_AddEdgeModFace at NOTICE level [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7881 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-22 07:22:17 +00:00
Sandro Santilli
d5ac843103
Make RemEdgeModFace symmetric to AddEdgeModFace about face retention
...
Save the face on the right, so that running:
ST_RemEdgeModFace(name, ST_AddEdgeModFace(name, ...))
... will not modify the topology.
[RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7878 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-21 07:32:32 +00:00
Regina Obe
a8f65ae89b
move args to same line as func so extensions unpackaged adds them correctly will ahve to come up with a better way of doing this.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7877 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-21 03:29:39 +00:00
Regina Obe
bb995ad62d
get rid of linebreaks in function arg list so unpackaged builder works, fix logical error in sed expression
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7873 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-20 16:47:08 +00:00
Sandro Santilli
68ced72696
Implement ST_RemEdgeModFace ( #1189 ) [RT-SIGTA]
...
Include regress testing and documentation.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7871 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-20 15:21:14 +00:00
Sandro Santilli
fba3540a78
Have ST_RemEdgeNewFace return NULL when no face is created [RT-SIGTA]
...
This is to match the ISO spec more closely. Docs and regress test updated.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7869 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-19 16:53:32 +00:00
Sandro Santilli
9b406181ef
TopologySummary: do not count the universe face in the face count
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7867 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-19 06:40:38 +00:00
Sandro Santilli
9d9772b79d
ST_InitTopoGeo: use named argument, drop trailing space from return text
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7866 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-19 06:40:31 +00:00
Sandro Santilli
4f0bd227bf
Typo in testcase label
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7861 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-17 07:58:30 +00:00
Sandro Santilli
1696387b15
Typo
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7860 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-17 07:10:09 +00:00
Sandro Santilli
1fb3ad4e7e
Minor inline documentation updates
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7859 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-17 06:58:16 +00:00
Sandro Santilli
3cf12fc2d2
Implement ST_RemEdgeNewFace ( #1188 ) [RT-SIGTA]
...
Includes regress testing and documentation.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7858 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-17 06:46:04 +00:00
Regina Obe
dc8ea50314
postgis_topology extension now installing right. Had to get rid of ALTER TABLE .. hasz and merge it into the CREATE TABLE since that was the culprit causing extension install error
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7853 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-15 18:33:55 +00:00
Regina Obe
e2af15b011
#1181 TopologySummary is broken causing ambiquous reference. Changed to have local variable be called var_topology_id so doesn't conflict with table column topology_id
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7823 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-08 14:23:11 +00:00
Sandro Santilli
a0052e46e8
Be terse, we don't care about context. Closes ticket #1142 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7666 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-23 21:42:54 +00:00
Sandro Santilli
465d84de64
Stricter ISO output from ST_GetEdgeFaces: start enumerating ring edges from the edge with smaller id [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7628 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-11 12:17:33 +00:00
Sandro Santilli
487fed6061
Update expected error messages since typmod introduction. Closes ticket #1101 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7569 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-04 09:07:07 +00:00
Sandro Santilli
887f180f15
Do not manually delete rows from geometry_columns (which is now a view). Closes ticket #1099 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7568 b70326c6-7e19-0410-871a-916f4a2858ee
2011-07-04 09:00:48 +00:00
Sandro Santilli
763bb3b145
Simplify layertrigger tests dropping unneeded operations. The reduction was verified to still trigger bug #950 prior to the fix for it.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7515 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-28 19:36:46 +00:00
Sandro Santilli
85e12d5f2c
Apply patch by Andrea Peri to fix topology layer trigger. Includes regress test. Closes ticket #950 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7514 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-28 19:36:39 +00:00
Sandro Santilli
545caebf45
Add missing SQL/MM functions in the status section (TODO)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7431 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-20 11:37:40 +00:00
Sandro Santilli
35e0b52a85
Do not explicitly name GIST opclass (was renamed). Fixes topology after the GSERIALIZED switch.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7393 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-14 08:20:43 +00:00
Sandro Santilli
5192467dcb
ST_AddEdgeModFace is complete...
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7275 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-27 14:01:24 +00:00
Sandro Santilli
3ead9a536d
Implement topology.ST_AddEdgeModFace. Includes regress test. [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7273 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-27 14:01:14 +00:00
Sandro Santilli
9568ec8e5d
Simplify face registration by the end of ST_AddEdgeNewFaces [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7271 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-27 10:18:38 +00:00
Sandro Santilli
7e5e8423d8
ST_AddEdgeNewFaces: another test splitting a face with holes on both sides [RT-SIGTA].
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7270 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-27 09:51:18 +00:00
Sandro Santilli
567986bd5e
topology.ST_AddEdgeNewFaces: do not needlessly replace face of holes found in a face splitted by the newly added edge. Regress test it. [RT-SIGTA].
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7269 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-27 09:34:18 +00:00
Sandro Santilli
84dc153361
Add an optional force_new parameter to topology.ST_AddFace to force creation of a new face when one already exists. Regress test and document. [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7268 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-27 08:34:23 +00:00
Sandro Santilli
a10bddb88b
fix cpp extra token warning
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7267 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-27 08:34:13 +00:00
Sandro Santilli
fe9e336ea9
Error handling refinements in topology.ST_AddEdgeNewFaces ( #988 )
...
Check for given edge having two distinct vertices before getting a new
edge id from sequence, and before testing it for crossing nodes (or it'd
give a confusing error message). Refine error message about no-segment
edges to not talk about nodes. [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@7253 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-26 07:26:56 +00:00
Sandro Santilli
7eecd1dbef
Allow dumping universal face edges with ST_GetFaceEdges. Do it in the correct order. Fixes bug #984 . [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7236 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-24 14:47:00 +00:00
Sandro Santilli
bc6bbb47b7
ST_GetFaceGeometry: throw SQL/MM exception when asked for the Universal Face geometry. Fixes bug #973 [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7234 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-24 13:49:18 +00:00