[OpenLayers-Users] Formatting Routing Directions from Tiger data PostGIS

Erik Uzureau erik.uzureau at metacarta.com
Tue Oct 16 20:10:00 EDT 2007


Hi Chris,

Out of curiosity, what sort of system is providing your data?

I'm really interested in making working solutions to routing in
OpenLayers and have been talking with different people about some
strategies for doing this.

Would be interested to know what sort of system you are using. Is it OLS? [2]
Do you know about pgRouting? [2]

Erik

[1]
OGC Open LS standard in used by a lot of vendors, as you can see in
the OLS implementations page of OGC site:
http://www.opengeospatial.org/resource/products/byspec
and a lot more are going to implement this stardard in next year,
according to OGC studies:
http://www.opengeospatial.org/pressroom/pressreleases/329
[2]
http://pgrouting.postlbs.org/


On 10/12/07, Chris Hardin <chrislhardin at gmail.com> wrote:
> I'm looking for a library or parsing tool that will spit out
> directions from a series of routing data. I have two different
> formats, one is XML and one is JSON data, but I need to parse it and
> supply user directions. I could do this myself, but I thought there
> might be something already out there that someone has written?
>
> <?xml version="1.0" encoding="iso-8859-1"?>
> <route>
>         <edge id='1'>
>                 <id>477609</id>
>                 <wkt>MULTILINESTRING((-86.819255 33.550873,-86.819291
> 33.550963,-86.819446 33.551302,-86.81946 33.551341))</wkt>
>                 <length>0.00051112427621233</length>
>                 <street>25th St N</street>
>         </edge>
>         <edge id='2'>
>                 <id>477622</id>
>                 <wkt>MULTILINESTRING((-86.819038 33.550355,-86.819118
> 33.550534,-86.819255 33.550873))</wkt>
>                 <length>0.0010728244727977</length>
>                 <street>25th St N</street>
>         </edge>
>         <edge id='3'>
>                 <id>477628</id>
>                 <wkt>MULTILINESTRING((-86.818833 33.549863,-86.819038 33.550355))</wkt>
>                 <length>0.00160582447279</length>
>                 <street>25th St N</street>
>         </edge>
>         <edge id='4'>
>                 <id>477629</id>
>                 <wkt>MULTILINESTRING((-86.818402 33.548826,-86.818833 33.549863))</wkt>
>                 <length>0.0027288249180316</length>
>                 <street>25th St N</street>
>         </edge>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list