Changeset 55
- Timestamp:
- 10/10/07 10:34:17 (1 year ago)
- Files:
-
- trunk/core/sql/routing_core_wrappers.sql (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/core/sql/routing_core_wrappers.sql
r48 r55 128 128 129 129 srid integer; 130 131 countids integer; 130 132 131 133 BEGIN … … 143 145 144 146 srid := i.srid; 147 148 FOR i IN EXECUTE 'SELECT count(*) as countids FROM '|| quote_ident(geom_table) LOOP 149 END LOOP; 150 151 countids := i.countids; 145 152 146 153 EXECUTE 'SELECT addGeometryColumn(''vertices_tmp'', ''the_geom'', '||srid||', ''POINT'', 2)'; … … 167 174 || ' PointN('|| quote_ident(geo_cname) ||', NumPoints('|| quote_ident(geo_cname) ||')) as target' 168 175 || ' FROM ' || quote_ident(geom_table) loop 176 177 IF points.id%10=0 THEN 178 RAISE NOTICE '% out of % edges processed', points.id, countids; 179 END IF; 169 180 170 181 source_id := point_to_id(setsrid(points.source, srid), tolerance);

