-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added pbf parser classes #64
Conversation
transparently integrated pbf parsing into OSMInputFile added dependencies for protobuf and osm-binary
Yeah, my cores are now nearly saturated while import and germany takes 8minutes instead ~24! I'll test for world wide later on. So far - a really nice improvement better than I hoped! Thanks again! |
oh it looks like planet data is only available in osm.bz2 http://planet.osm.org/planet/ !? So we need the threading also for osm files + the apache-compress thing (yet another 250kb) What do you think about moving away the import stuff into a separate module? It'll complicate things a bit but the user running the script should notive about this. (also the integrations tests for the import will then be moved) |
World-wide PBFs are available in the "pbf" subdirectory. - I came here becaue I received an error message trying to parse a PBF file with the 0.1 version ("java.lang.IllegalArgumentException: Input file is not of valid type europe.osm.pbf") - has the PBF reader code not yet been intgrated? |
I already found those planet pbfs and they should be no problem. E.g. you should be able to try
Are you sure the pbf location is correct? |
If I run graphhopper.sh with the name of a non-existent file, it will either complain "input file cannot be empty", or if the file ends in .osm offer to download it. I have used the file name "europe.osm.pbf", which is present in the current directory, and it starts the parser and then immediately terminates:
|
Hmmh, would you create a new issue? Please append the information you already posted here and additionally I would like to know:
|
transparently integrated pbf parsing into OSMInputFile
added dependencies for protobuf and osm-binary