Hot answers tagged

4

Ok, I am sorry about me answering my own question. I guess I had to ask the question to think about it more and be able resolve the problem. It turns out the problem was not in the OSM data but with the osm2po default config file I use to generate the graph. The problem Somewhere (line 188, if you are using osm2po 5.1.8) in the default config file, there ...


3

Indeed, the default.config is very strict and to be honest it's too strict for my taste. I stumbled across a similar question weeks ago and modified the osm2po release notes for 5.1.0 to report this issue. Your solution above is correct. But I think there are not so many more positive tags, It would be shorter to modify the deny-option instead to sth. like ...


2

You can get rid of such subnetworks otherwise it is harder as you'll need to decide for a 'cost factor' such distances need to be multiplied with. E.g. if you have A' and A'' and B' and B'' there are obviously 4 possible combinations with different distances and 4 potential different paths with different costs (e.g. distance, time or fuel costs) so you have ...


2

With a little inspiration from Melinda over in Esri's GeoNet forum I was able to implement the following script evaluator for my cost attribute under the default tab for turns. My logic behind the syntax is that if a route is attempting to traverse from one segment that is classified as a connector to another segment that is classified as a connector, the ...


1

GraphHopper is able to run offline in the Browser with the help of TeaVM See here for the examples. See here the blog post about it See here is the source repository Note: I'm the author of GraphHopper ...


1

As you discovered, osm2pgsql and osm2pgrouting are not the tools to use. These tools create dedicated spatial schema's and actually convert the raw data (especially in the case of osm2pgsql and its support for creating PostGIS multipolygons), instead of giving you the 'raw' data to do your own processing on. I think for your particular use case, you should ...



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