pgRouting

Changeset 56

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

Edges are now ordered at assign_vertex_id()

Files:

Legend:

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

    r55 r56  
    173173                        || ' PointN('|| quote_ident(geo_cname) ||', 1) AS source,' 
    174174                        || ' PointN('|| quote_ident(geo_cname) ||', NumPoints('|| quote_ident(geo_cname) ||')) as target' 
    175                         || ' FROM ' || quote_ident(geom_table) loop 
     175                        || ' FROM ' || quote_ident(geom_table) || ' ORDER BY ' || quote_ident(gid_cname) loop 
    176176                         
    177177                        IF points.id%10=0 THEN