Hello,
GeoExt proposes a routing panel based on services of GeoNames, OpenAddresses
and/or Cloudmade.
An example can be found here:
http://dev.geoext.org/sandbox/cmoullet/ux/RoutingPanel/examples/RoutingPanelExample.html
Source code is here:
http://dev.geoext.org/sandbox/cmoullet/ux/RoutingPanel/ux/widgets/RoutingPanel.js
Of course, the map representation is done by OpenLayers.
HTH
Cédric

On Mon, Sep 6, 2010 at 2:41 PM, Lambertus <[email protected]> wrote:

> On 2010-09-06 13:06, usha madhuri wrote:
>
>>
>> Hi all,
>> How is routing done with openlayers. Please give me the basics of routing
>> in
>> openlayers.
>>
>>  Basically: You need a routing calculation setup using pgrouting, or
> another dedicated routing engine with a web frontend. The frontend feeds the
> route requests to the routing engine, parses the results and sends the
> result back to OL using KML, geoJSON or whatever other suitable format as a
> linestring. OL then shows the route result as a line on the map.
>
> So OL doesn't "do routing", it's "just" a framework that shows a map where
> you can draw features on.
>
> Yournavigation.org uses Gosmore as it's routing engine, a simple PHP page
> as web frontend and displays routes using OL and an OpenStreetMap
> background. Source code is in OSM SVN:
> http://svn.openstreetmap.org/applications/routing/yours/trunk/www/
>
> Note: the web frontend is found in "api/dev/gosmore.php"
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>



-- 
Welcome to my world: http://www.cedricmoullet.com/
My Linked In profile: http://www.linkedin.com/in/cedricmoullet
Twitter: http://twitter.com/cedricmoullet
Home sweet home:
http://map.geo.admin.ch/?crosshair=bowl&zoom=11&X=185241.24219&Y=561288.90625&bgOpacity=0&selectedNode=node_ch.swisstopo.fixpunkte-lage1
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to