did a request with the following

in order to filter & gather the schools - but believe me: the results in the cal-sheets were looking like pure none - sense...

update: thanks to someoneElse i have corrected the code for the request regarding danish shools:

./osmconvert denmark-latest.osm.pbf -o=denmark.o5m
./osmfilter denmark.o5m --keep="amenity=school" -o=denmarkschools.o5m
./osmconvert denmarkschools.o5m --csv="@id @lon @lat name addr:street addr:housenumber addr:city website email" --csv-headline -o=denmarkschools_3.csv

now the results are a bit better!!!

end of the update: see the code:

denmark

./osmconvert denmark-latest.osm.pbf -o=denmark.o5m
./osmfilter denmark.o5m --keep="amenity=school" -o=denmarkschools.o5m
./osmconvert denmarkschools.o5m --csv="@id @lon @lat restaurant:name addr:street addr:housenumber addr:city website email" --csv-headline -o=denmarkschools_2.csv
--csv-headline -o=denmarkschools_2.csv

luxembourg

./osmconvert luxembourg-latest.osm.pbf -o=luxembourg-schools.o5m
./osmfilter luxembourg-schools.o5m --keep="amenity=school" -o=luxschools.o5m
./osmconvert luxschools.o5m --csv="@id @lon @lat schools:name addr:street addr:housenumber addr:city website email" --csv-headline -o=luxschools_2.csv

hamburg: ./osmconvert hamburg-latest.osm.pbf -o=hh-schools.o5m ./osmfilter hh-schools.o5m --keep="amenity=school" -o=all_hh_schools.o5m ./osmconvert all_hh_schools.o5m --csv="@id @lon @lat schools:name addr:street addr:housenumber addr:city website email" --csv-headline -o=all_hh_schools_2.csv

i have no glue why !?

any help will be greatly appreciated

asked 17 Jun '14, 18:30

say_hello_to_the_world's gravatar image

say_hello_to...
19232427
accept rate: 0%

edited 17 Jun '14, 20:53

1

So you're extracting "restaurant:name" for Danish Schools? This seems a somewhat odd thing to do - taginfo only finds one:

http://taginfo.openstreetmap.org/keys/restaurant:name

Can you define "crap"?

(17 Jun '14, 18:50) SomeoneElse ♦

hello many thanks - you mean that i have a consistency-error; I will have a closer look at the lines....

(17 Jun '14, 20:28) say_hello_to...
1

updated the danish code - now the results look like a bit better... many thanks . conclusion,. it looks that i have made a systematic error - that i have written bad bad requests...

(17 Jun '14, 20:54) say_hello_to...
Be the first one to answer this question!
toggle preview

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:

×537
×351
×26
×21

question asked: 17 Jun '14, 18:30

question was seen: 7,197 times

last updated: 17 Jun '14, 20:54

powered by OSQA