-
Notifications
You must be signed in to change notification settings - Fork 79
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
Import routing data only #915
Comments
Hi. You can remove some data types from Another way howto speedup import is running just selected steps. On this diagram https://osmscout.karry.cz/europe/czech-republic-21-20200922-1128/stats.svg you may track which temporary files and steps are required for "RouteDataGenerator". But I think that you cannot skip something big... |
Can you explain what is it |
During import, you have to provide Syntax of that file is described here: http://libosmscout.sourceforge.net/documentation/typedef/ |
If you want to leave out steps, you can use -s or -e to limit the number of steps run. Note though, that for a correct database most steps have a dependency on earlier steps. This is the reason, why it is safer to keep all steps but reduce the list of imported data, Note also that it is better, to set individual types to "IGNORE" instead of removing it. Since some objects could map to multiple types, removing some may result in wrong mapping to other types. IGNORE removes matching objects without importing them, prohibiting later matches, |
Ok, I got it. I will try to edit the |
My stylesheet optimized for routing only: route.ost Import is ~3x faster with this file. |
Also, steps 18-21/22 can be safely skipped. If you need street names for your route, than don't skip step 22 ( |
I'm glad to hear things are working out for you. Note that there a number of optimizations options for import and at runtime. If you have further questions, just ask...! |
I want to use only routing functionality in my application. Using Import tool I can convert small *.pbf files fast enough, but with large files (whole Europe, for example) it take ages. So my question is: Is it possible to skip unnecessary steps (if any) in Import process (one of this 27-28 steps) to speed up data importing?
The text was updated successfully, but these errors were encountered: