\i load_features.sql
\i hierarchy.sql
+-- This edge perturbates the topology so that walking around the boundaries
+-- of P1 and P2 may require walking on some of them
+SELECT 'E' || TopoGeo_addLinestring('city_data', 'LINESTRING(9 14, 15 10)');
+SELECT 'E' || TopoGeo_addLinestring('city_data', 'LINESTRING(21 14, 15 18)');
+SELECT 'E' || TopoGeo_addLinestring('city_data', 'LINESTRING(21 14, 28 10)');
+SELECT 'E' || TopoGeo_addLinestring('city_data', 'LINESTRING(35 14, 28 18)');
+
--- Lineal non-hierarchical
SELECT 'L1-vanilla', feature_name, topology.AsTopoJSON(feature, NULL)
FROM features.city_streets
5
6
features.big_signs.the_geom SRID:0 TYPE:MULTIPOINT DIMS:2
+E27
+E28
+E29
+E30
L1-vanilla|R1|{ "type": "LineString", "arcs": [9,-11]}
L1-vanilla|R2|{ "type": "LineString", "arcs": [4,-6]}
L1-vanilla|R3|{ "type": "LineString", "arcs": [25]}