Skip to content
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

How to obtain edgeOSM.txt, nodeOSM.txt and wayTypeOSM.txt #9

Open
bharathsudharsan opened this issue Aug 28, 2023 · 3 comments
Open

Comments

@bharathsudharsan
Copy link

Hi, great work! I have a basic query:

As explained in the preprocess directory, I am using osm2rn in this way: `python ./osm2rn/osm_to_rn.py --input_path ./michigan_map/michigan-latest.osm.pbf --output_path ./michigan_map/processed/

This is working fine and the output is 6 files namely: edges.dbf, edges.shx, edges.shp and nodes.dbf, nodes.shx, nodes.shp.

Now, I am wondering how to obtain the edgeOSM.txt, nodeOSM.txt and wayTypeOSM.txt files? Please help out.

Thanks in advance.
`

@chenyuqi990215
Copy link
Owner

chenyuqi990215 commented Sep 2, 2023

Thanks for your interest in our work. You can use the code in preprocess/osmrn.py to convert the OSM.pbf file to our data format. If you have any questions about the code, please let us know!

@lyh360121
Copy link

Thanks for your interest in our work. You can use the code in preprocess/osmrn.py to convert the OSM.pbf file to our data format. If you have any questions about the code, please let us know!
I got an error in this line: from .const import candi_highway_types. Could you please tell me how to import from '.const'? Thank you!

@chenyuqi990215
Copy link
Owner

Sorry for my mistake and I have uploaded the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants