core icon indicating copy to clipboard operation
core copied to clipboard

Read bounds tag and expose it on XmlOsmStreamSource once available.

Open sk-zk opened this issue 5 years ago • 2 comments

How do I access the bounds of a XmlOsmStreamSource?

sk-zk avatar Jan 05 '21 23:01 sk-zk

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

hypervtechnics avatar Jan 06 '21 15:01 hypervtechnics

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.

sk-zk avatar Jan 06 '21 16:01 sk-zk