Changeset 38
- Timestamp:
- 10/02/07 16:59:45 (1 year ago)
- Files:
-
- tags/1.0RC1/core/sql/routing_core_wrappers.sql (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tags/1.0RC1/core/sql/routing_core_wrappers.sql
r30 r38 23 23 -- Geometry schema description: 24 24 -- gid 25 -- source _id26 -- target _id25 -- source 26 -- target 27 27 -- edge_id 28 28 … … 54 54 ' SET the_geom = startPoint(geometryn(m.the_geom, 1)) FROM ' || 55 55 quote_ident(geom_table) || 56 ' m where geom_id = m.source _id';56 ' m where geom_id = m.source'; 57 57 58 58 EXECUTE 'UPDATE ' || quote_ident(vertices_table) || … … 103 103 104 104 ----------------------------------------------------------------------- 105 -- Fill the source _idand target_id column for all lines. All line ends105 -- Fill the source and target_id column for all lines. All line ends 106 106 -- with a distance less than tolerance, are assigned the same id 107 107 ----------------------------------------------------------------------- … … 161 161 162 162 EXECUTE 'update ' || quote_ident(geom_table) || 163 ' SET source _id= ' || source_id ||164 ', target _id= ' || target_id ||163 ' SET source = ' || source_id || 164 ', target = ' || target_id || 165 165 ' WHERE ' || quote_ident(gid_cname) || ' = ' || points.id; 166 166 END LOOP;

