[OpenLayers-Users] pgrouting using openlayers

Stephen Woodbridge woodbri at swoodbridge.com
Mon Aug 15 14:43:22 EDT 2011


On 8/15/2011 1:57 PM, sushma wrote:
> Hi Guys,
>
> I want to implement pgrouting using openlayers .i.e to find shortest path
> from building to another buildings.So if user clicks one building as a start
> point and another as end point then it returns the shortest path between
> those buildings. I am totally new to the openlayers.
> So far i can display the map of road data and buildings from geoserver using
> openlayers. Now i wanted to get on with click control. So need some
> suggestion how can i get on with click control.


Here is an example that I put together using mapserver for the maps, 
pgRouting and I use a small PHP program to handle the the Ajax requests 
to communicate between OpenLayers and pgRouting.

http://tinyurl.com/3vnufmh

-Steve


More information about the Users mailing list