Changes between Version 7 and Version 8 of UsersWikiExamplesNetworkTopology


Ignore:
Timestamp:
06/14/09 20:51:37 (15 years ago)
Author:
kneufeld
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiExamplesNetworkTopology

    v7 v8  
    2929}}}
    3030
    31 The above query creates a node table from a roads table by selecting all the start and end points from the road segments while maintaining the link between the node geometry and the line segment id.  Then nodes are grouped into a single topologically distinct set where every POINT references an array of line segment ids as integer[].
     31The above query creates a node table from a roads table by selecting all the start and end points from the road segments while maintaining the link between the node geometry and the line segment id.  Then, nodes are grouped into a single topologically distinct set where every POINT references an array of line segment ids as integer[].
    3232
    3333{{{
     
    7272}}}
    7373
    74 Unfortunately, PostgreSQL does not seem to use any btree indexes we might have placed on the id arrays, road_leaving and road_entering.  Such queries estimated to take many hours to execute on a small table of 50000 roads.  Subsequently, the following approach can be taken:
     74Unfortunately, PostgreSQL does not seem to make use any btree indexes we might have placed on the id arrays, road_leaving and road_entering.  Such queries estimated to take many hours to execute on a small table of 50000 roads.  Subsequently, the following approach can be taken:
    7575
    7676{{{