OpenStreetMap 로고 OpenStreetMap

Aubanel의 일기

최근 일기 항목

Airports worldwide ?

Aubanel님이 English로 2011년 3월 22일에 게시함.

Just wanted to share a couple of scripts I have written today, that I do use to retreive osm airport data from a IATA code.



#!/bin/bash

EXPECTED_ARGS=1
E_BADARGS=65

if [ $# -ne $EXPECTED_ARGS ]
then
echo "Usage: `basename $0` "
exit $E_BADARGS
fi

H=0.1
BBOX=$(curl 'nominatim.openstreetmap.org/search?q='${1}'&format=xml' | xmlstarlet sel -t -m "/searchresults/place" -v "@lon - ${H}" -o "," -v "@lat - ${H}" -o "," -v "@lon+${H}" -o "," -v "@lat+${H}" -n | head -n 1)
curl 'http://jxapi.openstreetmap.org/xapi/api/0.6/*\[aeroway=*\]\[bbox='${BBOX}'\]' -o ${1}.osm


Simple and efficient, I do love open APIs !
Thank you OSM !
(note : you will need curl and xmlstarlet)

Delle done, starting Croix

Aubanel님이 English로 2009년 1월 29일에 게시함.

Voilà, j'ai fini Delle (90) grâce au cadastre et un peu de connaissance du coin. C'est pas mal de cartographier un petit village, comme c'est petit ça va assez vite... Donc je démarre Croix, c'est pas loin et beaucoup plus petit.

위치: Delle, Belfort, Territoire-de-Belfort, Bourgogne – Franche-Comté, Metropolitan France, 90100, France

Bitmaps or Vectors for POI icons

Aubanel님이 English로 2008년 10월 16일에 게시함.

When exporting a mapnik map to SVG or PDF, the POI icons are bitmaps and not vectors. As a result they look blurry when printed at 300dpi. Is this because they are drawn as bitmaps or because of some mapnik limitations involving rasterization of the POI icons ?
If it's just because of the lack of a vector icon set I volonter to fix this problem. Just tell me ...

Cadatre + JOSM

Aubanel님이 English로 2008년 7월 9일에 게시함.

Essayé cette semaine JOSM avec le plugin WMcadastre pour commencer à mapper Saint Estève (66). Il y a encore du boulot, mais auparavant c'était vide... Vraiment très sympa, voilà qui devrait aider à augmenter très rapidement la couverture OSM en France... Merci à ceux qui on fait ce plugin !

위치: Mas Cot, Saint-Estève, Perpignan, Pyrénées-Orientales, Occitania, Metropolitan France, 66240, France