<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://geofictician.net/wiki/index.php?action=history&amp;feed=atom&amp;title=User%3ALuciano%2FSandbox%2FCollections</id>
	<title>User:Luciano/Sandbox/Collections - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://geofictician.net/wiki/index.php?action=history&amp;feed=atom&amp;title=User%3ALuciano%2FSandbox%2FCollections"/>
	<link rel="alternate" type="text/html" href="https://geofictician.net/wiki/index.php?title=User:Luciano/Sandbox/Collections&amp;action=history"/>
	<updated>2026-04-21T01:06:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://geofictician.net/wiki/index.php?title=User:Luciano/Sandbox/Collections&amp;diff=987&amp;oldid=prev</id>
		<title>imported&gt;Luciano: Created page with &quot;The use of relation type &quot;collection&quot; is considered wrong for OSM data. The underlying philosophy is that &quot;[http://wiki.openstreetmap.org/wiki/Relations/Relations_are_not_Cate...&quot;</title>
		<link rel="alternate" type="text/html" href="https://geofictician.net/wiki/index.php?title=User:Luciano/Sandbox/Collections&amp;diff=987&amp;oldid=prev"/>
		<updated>2019-03-31T19:34:56Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The use of relation type &amp;quot;collection&amp;quot; is considered wrong for OSM data. The underlying philosophy is that &amp;quot;[http://wiki.openstreetmap.org/wiki/Relations/Relations_are_not_Cate...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The use of relation type &amp;quot;collection&amp;quot; is considered wrong for OSM data. The underlying philosophy is that &amp;quot;[http://wiki.openstreetmap.org/wiki/Relations/Relations_are_not_Categories relations are not categories].&amp;quot;&lt;br /&gt;
&lt;br /&gt;
However, there are much more extensive resources for making detailed queries against the &amp;quot;live,&amp;quot; current OSM data than there are in OGF. Thus, for example, suppose I have done a bunch of river work in my country, Ardisphere, and I want to get an OSM file that has the river data but not all the other stuff (because to get the whole country makes for a much too massive file!). I have to wait 24 hours (or more) for a backup file, and do an extract. &lt;br /&gt;
&lt;br /&gt;
Alternately, by using &amp;#039;&amp;#039;collection&amp;#039;&amp;#039; relations, I can immediately download my rivers in JOSM by using the &amp;quot;download object&amp;quot; feature, as long as I&amp;#039;m making sure I add my rivers to the correct &amp;quot;rivers&amp;quot; collection relation as I edit them.&lt;br /&gt;
&lt;br /&gt;
Further, I have found that by holding a set of objects (nodes, ways, relations) in a collection in this way, I can use the External Data Mediawiki extension to directly query the OGF database and present the resulting information in a wiki table. The below table is in fact an example of this query process. The data in the table is not in the wiki - it&amp;#039;s being queried &amp;quot;live&amp;quot; (with a caching delay) from the &amp;quot;map.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
::&amp;#039;&amp;#039;The following data has been retrieved from [https://opengeofiction.net/api/0.6/relation/6408/full this URL], using the [http://www.mediawiki.org/wiki/Extension:External_Data External Data] MediaWiki extension.&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/span&amp;gt;}}}&amp;lt;/span&amp;gt;{{#clear_external_data:}}&lt;br /&gt;
{{#get_web_data:url=https://opengeofiction.net/api/0.6/relation/6408/full&lt;br /&gt;
|format=xml&lt;br /&gt;
|data=&lt;br /&gt;
 relation_id=/osm/relation/@id&lt;br /&gt;
,type=/osm/relation/tag[@k=&amp;#039;ogf:type&amp;#039;]/@v&lt;br /&gt;
,note=/osm/relation/tag[@k=&amp;#039;note&amp;#039;]/@v&lt;br /&gt;
|use xpath&lt;br /&gt;
}}&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! OGF Type&lt;br /&gt;
! Relation&lt;br /&gt;
! Description&lt;br /&gt;
{{#for_external_table:&amp;lt;nowiki/&amp;gt;&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{{type}}}&lt;br /&gt;
{{!}}[https://opengeofiction.net/relation/{{{relation_id}}} (relation {{{relation_id}}})]&lt;br /&gt;
{{!}}{{{note}}}&lt;br /&gt;
}}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>imported&gt;Luciano</name></author>
	</entry>
</feed>