[pgrouting-dev] change geometry column name

Mohammed Rashad mohammedrashadkm at gmail.com
Fri Jan 14 08:04:13 EST 2011


I am using dijkstra_sp function on my table names roads
my table has the geometry column named geometry

When I execute this sql
SELECT the_geom FROM dijkstra_sp('roads');

I am getting this error
ERROR: column "geometry" does not exist
  Position: 47

but if I change my table roads geometry column to the_geom it works.

Is there anyway to do routing on table which has different geometry column
other than the_geom
-- 
Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/pgrouting-dev/attachments/20110114/3522d090/attachment.html


More information about the pgrouting-dev mailing list