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

Chris Hardin chrislhardin at gmail.com
Fri Oct 12 15:31:29 EDT 2007


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>



More information about the Users mailing list