Tag Info

Hot answers tagged

1

With a bit of comparison you can: detect the point clicked find the feature closest to this point use the selectFeatureControl to programatically select this feature see: http://jsfiddle.net/XfEmn/ (note, I use underscore.js _.min function, you could of course do this with a foor loop etc, the clue is to loop the features and get the one with the ...


1

The Difference Tool should do what you want as @Baltok has suggested. Just set the streets layer as the input layer and the flood layer as the difference layer. This should result in a new streets layer but with the flooded area removed. You might want to check this tutorial for more details.


1

osm2po does not simplify the underlying OSM-data. And in my opinion it is not necessary. Your problem only refers to very long roads which are rather rare. Usually even long roads may change between source and target; think of speed limits, grades, pavements. There are tons of attributes which split an obviously complete way into sections. And if there are ...


1

The most obvious approach I can see for this problem is to first determine the legal speed limits for all roads in the area of interest. Then using the travel time measurements, see how much longer than the theoretical minimum travel time the actual times are. Could be as simple as a factor which is applied to reduce the max speed. The factor could be ...



Only top voted, non community-wiki answers of a minimum length are eligible