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

alt_name and old_name not working as expected in Inspector #994

Open
Heinlein1115 opened this issue Dec 16, 2024 · 3 comments
Open

alt_name and old_name not working as expected in Inspector #994

Heinlein1115 opened this issue Dec 16, 2024 · 3 comments

Comments

@Heinlein1115
Copy link

Hi OsmAnd developers,

I'm experiencing an issue with alt_name and old_name tags not being displayed correctly, or seemingly recognized at all, by the Inspector.

I've added these tags to several features, but when I use the Inspector to examine them, the alternative and old names don't appear. I'm not sure what's causing this issue.

Is there a specific way to debug this using the Inspector or are there any logs I can check to understand why these tags aren't being picked up? Any guidance on troubleshooting this would be greatly appreciated.

Thanks for your help!

@vshcherb
Copy link
Member

Please give example / instructions how to reproduce.

@Heinlein1115
Copy link
Author

@vshcherb

Thanks for your quick reply.

I'm using a custom map derived from the Guinea-Bissau PBF file: https://download.geofabrik.de/africa/guinea-bissau-latest.osm.pbf. I convert this PBF to OBF using OsmAndMapCreator.

The issue arises with long alt_name values, such as the one present in the history of this way: https://www.openstreetmap.org/way/374250236/history.

After converting the PBF to OBF, I've tried the following inspector commands:

inspector -vmap -vmapobjects -vstats guinea-bissau-latest.osm.obf >guinea-bissau.csv

inspector -vmap -vmapobjects -vrouting -osm guinea-bissau-latest.osm.obf >guinea-bissau_routing.osm

However, neither command's output seems to reflect the alt_name values, making it difficult to verify if they are being correctly parsed and stored, especially the long ones or if the character encoding is being preserved. Could you advise on how to properly inspect for these alt_name values using the inspector with a custom OBF map file?

@vshcherb
Copy link
Member

alt name and old name are not indexed as they are not displayed for the map. so it's required to create custom maps

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