pgRouting

Changeset 55

Show
Ignore:
Timestamp:
10/10/07 10:34:17 (1 year ago)
Author:
anton
Message:

Some indication added for assign_vertex_id()

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/core/sql/routing_core_wrappers.sql

    r48 r55  
    128128       
    129129      srid integer; 
     130       
     131      countids integer; 
    130132                                         
    131133      BEGIN 
     
    143145                 
    144146                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; 
    145152                 
    146153                EXECUTE 'SELECT addGeometryColumn(''vertices_tmp'', ''the_geom'', '||srid||', ''POINT'', 2)'; 
     
    167174                        || ' PointN('|| quote_ident(geo_cname) ||', NumPoints('|| quote_ident(geo_cname) ||')) as target' 
    168175                        || ' 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; 
    169180 
    170181                                source_id := point_to_id(setsrid(points.source, srid), tolerance);