NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hello,

is ist possible to export the figures from subject in a csv?

Regards, Gerrit

asked 16 Aug '12, 09:06

Gerrit%20Lober's gravatar image

Gerrit Lober
11112
accept rate: 0%


Take a look at overpass api: http://wiki.openstreetmap.org/wiki/Overpass_API

You can choose to dowload all nodes with a postal code in a certain relation (the german boundary).

Now you have an XML file with all German postal codes and their position. I guess you can script your way through to transform that XML file into a CSV.

See also this question: http://help.openstreetmap.org/questions/12554/is-there-a-web-service-exposed-to-get-all-cities-in-a-country

permanent link

answered 16 Aug '12, 09:40

Sanderd17's gravatar image

Sanderd17
1.1k51637
accept rate: 31%

edited 16 Aug '12, 09:58

Have a look at the OSM wiki about MapCSS/Examples

You can adapt that to postal code boundaries.

Converting OSM data to CSV can be done via osmconvert

permanent link

answered 16 Aug '12, 09:48

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

I am German. I ca Not understand english

(02 Apr '14, 07:50) hannes loeffler

Ins german lang real ??????

(02 Apr '14, 07:51) hannes loeffler

please try to ask in the german sub forum at:

Versuch doch mal, dein Anliegen im deutsch-sprachigen Forum zu stellen:

http://forum.openstreetmap.org -> German

(Im Forum musst du dich zuerst mit deiner normalen OSM-Kennung anmelden. Dann können wir dir gern weiterhelfen)

(04 Apr '14, 14:16) stephan75

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×12
×6

question asked: 16 Aug '12, 09:06

question was seen: 11,415 times

last updated: 04 Apr '14, 14:16

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum