<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Response handling for OSM Overpass "out count" requests]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1953&amp;type=atom" />
	<updated>2022-04-28T14:13:23Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1953</id>
		<entry>
			<title type="html"><![CDATA[Re: Response handling for OSM Overpass "out count" requests]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8244#p8244" />
			<content type="html"><![CDATA[<p>Allright makes sense. Thanks for the reply</p>]]></content>
			<author>
				<name><![CDATA[tobi]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2005</uri>
			</author>
			<updated>2022-04-28T14:13:23Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8244#p8244</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Response handling for OSM Overpass "out count" requests]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8238#p8238" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Thanks for your feature request.</p><p>I don&#039;t think it&#039;s really necessary, because in these special cases it&#039;s much easier to work with XML directly:<br /></p><div class="codebox"><pre><code>OnlineMapsXML xml = OnlineMapsXML.Load(response);
int countNodes = xml.Find(&quot;//tag[@k=&#039;nodes&#039;]&quot;).A&lt;int&gt;(&quot;v&quot;);</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-04-28T12:02:34Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8238#p8238</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Response handling for OSM Overpass "out count" requests]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8236#p8236" />
			<content type="html"><![CDATA[<p>As of now OnlineMapsOSMAPIQuery is able to parse nodes, ways and relations. It cannot handle out count results however, wich are pretty neat to get lightweight API responses, if you only need information about if or how many of certain elements are in a given area.</p><p>Would love to see this in the asset <img src="https://forum.infinity-code.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p><a href="https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#out">https://wiki.openstreetmap.org/wiki/Ove … ass_QL#out</a></p>]]></content>
			<author>
				<name><![CDATA[tobi]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2005</uri>
			</author>
			<updated>2022-04-28T11:01:18Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8236#p8236</id>
		</entry>
</feed>
