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.

Using osm2po I found a problem. In the configuration file "osm2po.config" I can set the various values ​​of speed limits for each road type but for example for this type of street (wtr.tag.highway.motorway = 1, 11, 120) in the output file the speed limit for that type of road is set to 110 instead of 120. Why is that?

I also wanted to know if openstreetmap provides data on speed limits for each road and if it is true, is there a way to insert them into the output file osm2po?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Have a closer look into the config. This should answer both questions:

#wtr.maxSpeedOverrides = false
share|improve this answer
    
Thanks but in my old version of osm2po.config there isn't this string. (osm2po-4.5.25). –  Robert Feb 16 '13 at 11:19
    
yes, this parameter has been introduced in 4.6.9 –  Carsten Feb 16 '13 at 11:44
    
Then in previous versions the values ​​for the speed limits were not overwritten by default. is it correct? –  Robert Feb 16 '13 at 15:11
    
no, they were / are overwritten by default if osm2po finds an osm-maxSpeed-tag. But sometimes this behavior is not wanted (bike-routing e.g.). Therefore I introduced it. –  Carsten Feb 17 '13 at 7:04

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.