Project-OSRM / osrm-backend

Open Source Routing Machine - C++ backend
http://map.project-osrm.org
BSD 2-Clause "Simplified" License
6.36k stars 3.37k forks source link

Question! #2388

Closed nacho8 closed 8 years ago

nacho8 commented 8 years ago

Hello!

Is it possible to create a lua for people in wheelchairs ( people with disabilities / silla de ruedas)?

Thanks!


Hola!,

Es posible crear un archivo .lua para personas en silla de ruedas ??

Gracias!

emiltin commented 8 years ago

Yes, if the required data is in OpenStreetMap then you can create a custom LUA routing profile and run your own OSRM server.

If the data is not in OSM but you have it e.g in a PostGIS database, it's still possible but requires more work.

nacho8 commented 8 years ago

Hello emiltin!,

Thanks for your answer. Another question:

if the osm file I add the information I need in some way. Would it be feasible ?

Example: I add every way a property that is accessible, according to my information and then generate my lua that includes this case.

Sorry for my language, I do not speak English well.

emiltin commented 8 years ago

Yes but you need to follow the estrablished tagging schemes, e.g: http://wiki.openstreetmap.org/wiki/Key:wheelchair http://wiki.openstreetmap.org/wiki/Accessibility

Some existing services provide guidance for wheelchairs based on OSM data (and maybe other sources, I don't know):

http://wheelmap.org/en/map

nacho8 commented 8 years ago

Okey!,

We already seek services that provide this function , but found none. This http://wheelmap.org/en/map has the information , but do not generate routes based on that.

Our idea was to build an application that will generate routes based on accessible ways, so I consulted the feasibility of adding information to OSM file on accessibility and generate our own wheelchairs.lua

Anyway you told us that information is going to be useful. Thank you very much!

daniel-j-h commented 8 years ago

Note that OSRM does not handle indoor routing as in

http://wiki.openstreetmap.org/wiki/Indoor_Mapping http://wiki.openstreetmap.org/wiki/Simple_Indoor_Tagging

which is probably the most interesting part here. You could write Lua profiles to re-write the indoor tagging (e.g. levels) to pseudo-streets and highway-tagged ways, but this is nothing but a hack.

nacho8 commented 8 years ago

Hello daniel-j-h! Thanks for your time!,

I understand what you want to tell me and is a viable alternative. I make another question: do you know of any application to do something similar to what we want to do ?. We might be useful to take an example.

What we do is basically an application that generates routes for people with disabilities.

Again, thank you very much for your help.

daniel-j-h commented 8 years ago

There is a Projects section in the OSM wiki http://wiki.openstreetmap.org/wiki/Indoor_Mapping#Projects other than that, I have no experience with indoor mapping.

Just to be clear here, OSRM is fine for outdoor routing and you can certainly write a custom profile for it.

You may have more luck either on some of the OSM mailinglists and / or OSM IRC channels.

TheMarex commented 8 years ago

Not actionable closing.