Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

OSM2po is converting data from OSM to postgresql. But how is it handled with places or squares? Not every places, square has pedestrian way routes on it. But for routing I need nodes and pedestrians can walk through places without restriction, if there are no obstacles between. But we can consider only "empty" places. Therefore the shortest distance is to walk through the place. How is osm2po handling area=yes or highway=footway for areas, respectively.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

highway=footway is no problem. Please have a look into the osm2po.config file. Areas (Polygons) cannot be taken into account.

share|improve this answer
    
Thanks for the answer. I was asking because of this website comments.gmane.org/gmane.comp.gis.openstreetmap.region.at/5213 and because I would need routing through places and sqaures. Is it possible to add this on my own to osm2po? –  Irgendw Pointer Jun 27 '13 at 7:01
    
Indeed, this is a problem. In reality every public place is somehow connected to streets or at least pedestrian areas. Most routers depend on networks and cannot guess or interpret ways in between. –  Carsten Jun 27 '13 at 17:26

I solved it now on my own, by adding information to the osm2po database table, with my own implementation. Therefore I know now which place is for pedestrians and which not. So I can run my routing software through this.

share|improve this answer
    
This answer got flagged up due to its brevity. To help future readers would you be able to expand upon your answer? For example, what was the additional software that led to your solution? –  PolyGeo Aug 6 '13 at 6:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.