-
Notifications
You must be signed in to change notification settings - Fork 86
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
Overpass XML cannot be read with XmlOsmStreamSource. #91
Labels
Comments
Seems like you don't get anything when you read the file?
you'll need a using: |
xivk
changed the title
Not working with overpass XML
Overpass XML cannot be read with XmlOsmStreamSource.
May 10, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to this issue #75, XML exported from overpass should work perfectly fine. I'm running OSMSharp 6.2.0 from Nuget. I have a seemingly simple issue, but OSMSharp seems to be ignoring the Nodes and Ways from the XML (I assume because they don't have the correct attributes, such as version etc.)
My code is very trivial:
I'm simply trying to read an OSM from overpass, extract the data as Polygons and use Mapsui to show them. However,
features
always returns empty. The foreach is never hit.The OSM file is below, just one simple polygon.
tmp.osm.txt
Is there something I'm missing, or is this a bug?
The text was updated successfully, but these errors were encountered: