<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.stephanschlegel.de/index.php?action=history&amp;feed=atom&amp;title=OSM_Names</id>
	<title>OSM Names - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.stephanschlegel.de/index.php?action=history&amp;feed=atom&amp;title=OSM_Names"/>
	<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=OSM_Names&amp;action=history"/>
	<updated>2026-05-09T08:41:44Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Wikizone</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=OSM_Names&amp;diff=24125&amp;oldid=prev</id>
		<title>37.49.72.8 am 18. November 2019 um 18:02 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=OSM_Names&amp;diff=24125&amp;oldid=prev"/>
		<updated>2019-11-18T18:02:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 18. November 2019, 18:02 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot; &gt;Zeile 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $ zcat planet-latest.tsv.gz | awk -F &amp;#039;\t&amp;#039; -v OFS=&amp;#039;\t&amp;#039; &amp;#039;NR == 1 || $16 == &amp;quot;ch&amp;quot;&amp;#039; &amp;gt; switzerland.tsv&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $ zcat planet-latest.tsv.gz | awk -F &amp;#039;\t&amp;#039; -v OFS=&amp;#039;\t&amp;#039; &amp;#039;NR == 1 || $16 == &amp;quot;ch&amp;quot;&amp;#039; &amp;gt; switzerland.tsv&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;&amp;#039;&amp;#039;Hinweis:&amp;#039;&amp;#039;&amp;#039; auf MacOs kann es zu Problemen mit zcat geben. Die Gnu Variante funktioniert: zcat mit gzcat ersetzen. Falls gzcat nicht vorhanden ist mit Homebrew installieren.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Where “ch” is the 2 letter country code according to ISO-3166, in this case for Switzerland. Similarly, it is possible to extract only records of certain types or classes, as well as setting a filter on another column.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Where “ch” is the 2 letter country code according to ISO-3166, in this case for Switzerland. Similarly, it is possible to extract only records of certain types or classes, as well as setting a filter on another column.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>37.49.72.8</name></author>
	</entry>
	<entry>
		<id>https://wiki.stephanschlegel.de/index.php?title=OSM_Names&amp;diff=24124&amp;oldid=prev</id>
		<title>37.49.72.8: Die Seite wurde neu angelegt: „Data extract for one country  It is pretty easy to filter the records for a country of your choice from the downloaded planet dump. Use a command like:   $ zca…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.stephanschlegel.de/index.php?title=OSM_Names&amp;diff=24124&amp;oldid=prev"/>
		<updated>2019-11-18T17:48:11Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „Data extract for one country  It is pretty easy to filter the records for a country of your choice from the downloaded planet dump. Use a command like:   $ zca…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Data extract for one country&lt;br /&gt;
&lt;br /&gt;
It is pretty easy to filter the records for a country of your choice from the downloaded planet dump. Use a command like:&lt;br /&gt;
&lt;br /&gt;
 $ zcat planet-latest.tsv.gz | awk -F &amp;#039;\t&amp;#039; -v OFS=&amp;#039;\t&amp;#039; &amp;#039;NR == 1 || $16 == &amp;quot;ch&amp;quot;&amp;#039; &amp;gt; switzerland.tsv&lt;br /&gt;
&lt;br /&gt;
Where “ch” is the 2 letter country code according to ISO-3166, in this case for Switzerland. Similarly, it is possible to extract only records of certain types or classes, as well as setting a filter on another column.&lt;br /&gt;
Data extract by bounding box&lt;br /&gt;
&lt;br /&gt;
Because the data contains lon/lat columns as well as bounding boxes (west, south, east, north), you can also extract all records by geographical filters.&lt;br /&gt;
&lt;br /&gt;
To create an extract of all place names in the area of Zurich in Switzerland you can run a command like:&lt;br /&gt;
&lt;br /&gt;
 zcat planet-latest.tsv.gz | awk -F &amp;#039;\t&amp;#039; -v OFS=&amp;#039;\t&amp;#039; &amp;#039;NR == 1 || ($8 &amp;gt; 47.225 &amp;amp;&amp;amp; $8 &amp;lt; 47.533 &amp;amp;&amp;amp; $7 &amp;gt; 8.275 &amp;amp;&amp;amp; $7 &amp;lt; 8.800)&amp;#039; &amp;gt; zurich_switzerland.tsv&lt;br /&gt;
&lt;br /&gt;
To find the relevant bounds check the Bounding box tool or list with city and country boundaries.&lt;br /&gt;
Data format details&lt;br /&gt;
&lt;br /&gt;
The data is generated in the TSV format, which is a tab separated spreadsheet file with one record per row. The first row contains the name of the columns. All characters are utf-8 encoded. The files distributed with a release are compressed using gzip. We suggest you to use gunzip or zcat to extract the raw text.&lt;br /&gt;
&lt;br /&gt;
The columns have a fixed order:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
name 				the name of the feature (default language is en, others available(de,es,fr,ru,zh))&lt;br /&gt;
alternative_names	all other available and distinct names separated by commas&lt;br /&gt;
osm_type			the osm type of this feature (node, way, relation)&lt;br /&gt;
osm_id				&lt;br /&gt;
class				&lt;br /&gt;
type&lt;br /&gt;
lon&lt;br /&gt;
lat&lt;br /&gt;
place_rank			rank from 1-30 ascending depending on the type and class&lt;br /&gt;
importance			importance [0.0-1.0] depending on wikipedia if available otherwise just the ranking&lt;br /&gt;
street 				&lt;br /&gt;
city&lt;br /&gt;
county&lt;br /&gt;
state	&lt;br /&gt;
country	&lt;br /&gt;
country_code		ISO-3166 2 letter country code&lt;br /&gt;
display_name		the display name representing the hierarchy&lt;br /&gt;
west				bbox&lt;br /&gt;
south				bbox&lt;br /&gt;
east				bbox&lt;br /&gt;
north				bbox&lt;br /&gt;
wikidata			the wikidata associated with this feature&lt;br /&gt;
wikipedia 			the wikipedia URL associated with this feature&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>37.49.72.8</name></author>
	</entry>
</feed>