Hello My objective is to create a csv file of all the shops in graz located in the country of austria.

Since I don't have enough space to unzip the austria osm file so I used bzcat to unzip from the terminal.

i used the graz.poly file to help me filter the shops in graz.

this is how my command with pipes looks like.

bzcat 2018-austia-latest.osm.bz2 | osmconvert - -B=Graz.poly -o=mys.osm | ./osmfilter mys.osm --keep= --nodes="shops=" -o=graz_shops.osm | ./osmconvert graz_shops.osm --all-to-nodes --csv="@id @lon @lat name" -o=grazshops.csv

however when i enter this in the terminal

I get osmfilter error: file empty: graz_shops.osm osmconvert error: file empty: mys.osm

can anyone tell me what I am doing wrong? thank you in advance

asked 22 Nov '18, 19:42

osmnoob's gravatar image

osmnoob
1012
accept rate: 0%

edited 24 Nov '18, 11:58

aseerel4c26's gravatar image

aseerel4c26 ♦
31.9k16236548

1

Cross-posted on both the OSM Forum and the OSM subreddit. The forum provides answers: https://forum.openstreetmap.org/viewtopic.php?id=64569.

@osmnoob: cross-posting is generally regarded as a bad thing. People may expend time & effort providing an answer to a question which has already been answered elsewhere. It is particularly annoying when you are asking others to do your course work for you. Please do not do this again on any online Q&A system.

(24 Nov '18, 09:47) SK53 ♦

The question has been closed for the following reason "Duplicate Question: already asked & answered on OSM Forum." by SK53 24 Nov '18, 09:48

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:

×63
×38
×36
×10

question asked: 22 Nov '18, 19:42

question was seen: 204 times

last updated: 24 Nov '18, 11:58

powered by OSQA