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

I want to customize the tag to get some osm raw data as an extended field for the output file #25

Open
ninghairong opened this issue Apr 17, 2024 · 5 comments

Comments

@ninghairong
Copy link

Dear author,
I recently needed to label bridge and tunnel data in development, but I found that the bridge tag would be lost in the data after processing with OSM2GMNS, and I did not find the relevant method to specify the tag output.

@jiawlu
Copy link
Owner

jiawlu commented Apr 18, 2024

Could you please provide an example with bridge or tunnel objects that you need?

@ninghairong
Copy link
Author

thank you for the response!

For example, the bridge shown in the picture has lost the information that it is a bridge in the exported csv.

image
image

It contains the information that it is a bridge in the osm raw data.
The following is its osm data.

 <way id="109565336" version="9" timestamp="2019-06-09T18:18:02Z" changeset="71077945" uid="8971394" user="vojtechzaboril">
    <nd ref="5397920503"/>
    <nd ref="2387143061"/>
    <tag k="bridge" v="yes"/>
    <tag k="highway" v="tertiary"/>
    <tag k="lanes" v="2"/>
    <tag k="layer" v="1"/>
    <tag k="lit" v="yes"/>
    <tag k="maxspeed" v="50"/>
    <tag k="name" `v="福安橋"/>
    <tag k="oneway" v="yes"/>
    <tag k="surface" v="asphalt"/>
  </way>

@ninghairong
Copy link
Author

This is the original file I used.
map.txt

@jiawlu
Copy link
Owner

jiawlu commented Apr 18, 2024

Thanks for providing the details. we will work on that and hopefully release a new version with this new feature by next week.

@ninghairong
Copy link
Author

thanks for your reply!

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

2 participants