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

Read bounds tag and expose it on XmlOsmStreamSource once available. #116

Open
sk-zk opened this issue Jan 5, 2021 · 2 comments
Open

Read bounds tag and expose it on XmlOsmStreamSource once available. #116

sk-zk opened this issue Jan 5, 2021 · 2 comments

Comments

@sk-zk
Copy link

sk-zk commented Jan 5, 2021

How do I access the bounds of a XmlOsmStreamSource?

@hypervtechnics
Copy link

Maybe go through all elements and extract the bounds of each item and compare them on the fly

@sk-zk
Copy link
Author

sk-zk commented Jan 6, 2021

Nah I just meant the bounds tag at the top of an XML file.

<bounds minlat="56.686944548135" minlon="11.5048591712903" maxlat="56.738914944633" maxlon="11.6639584939053" origin="Overpass API" />

Obviously I could just read it with an XmlReader, but I was wondering if OsmSharp is already parsing that tag somewhere so I can skip that step.

@xivk xivk changed the title Bounds tag Read bounds tag and expose it on XmlOsmStreamSource once available. May 10, 2021
@xivk xivk assigned xivk and unassigned xivk May 10, 2021
@xivk xivk added this to the Version 7 milestone May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants