Ticket #11 (closed bug report: fixed)
assign_vertex_id fails srid constraint
Reported by: | kyngchaos | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | pgRouting package | Version: | 1.0.0a |
Keywords: | Cc: |
Description
The geometry column in the vertices_tmp table is created with no srid specified, so the srid constraint defaults to -1. When assigning vertex ids to a postgis layer with an srid, point_to_id() fails when adding a new row to vertices_tmp.
The srid of the postgis table should be looked up in "geometry_columns" and used to add the geometry column to vertices_tmp.
Change History
Note: See
TracTickets for help on using
tickets.