OpenStreetMap

xeen's Diary

Recent diary entries

“close enough”

Posted by xeen on 21 September 2013 in English.

A new city district is built where I live, and the district is so fancy it even has its own advertisement home page telling me how awesome it is. Said page also has a map to show the progress, which uses OSM as background tiles. That map was missing the OSM-©-notice, so I mailed them about it, but didn’t expect much.

To my surprise I got an answers a few days later. It appears I reached the management deparment though. At least I had the feeling they didn’t really know what an OSM mapper is, because they didn’t quite grasp why I asked if they have any sat photos for me…). Anyway, they stated they had technical problems putting the notice in and had therefore included it on the legalese page – I honestly missed that. I didn’t want to scare them off OSM with being to picky, so I told them that that’s okay then.

By accident I stumbled across that page again today, and they have added the note. Yay! It reads: “Leaflet | Map data © 2011 OpenStreetMap contributors, Imagery © 2012 CloudMade” Well. It’s 2013… and they use MapBox’ tiles. Close enough :-)

How to download SOTM US 2013 videos?

Posted by xeen on 1 August 2013 in English. Last updated on 4 August 2013.

So, I tried viewing some of the talks of SOTM US 2013 [1], but my experience has been miserable:

  • the videos are available in Flash only. While Vimeo also has an HTML5 player, my system (Linux/Firefox) doesn’t support H264 natively yet. In other words: I need to use Flash. On Linux. Which heats my CPU to 70°C to play a video whereas a local player would only heat it to about 50°.
  • the videos are set to private, so they can only be viewed via stateofthemap.us or that vimeopro URL.
  • There’s no download link. All regular tools (google “vimeo download”) and JDownloader fail to download this video.
  • There’s no obvious way to contact the site administrator. The only way seems to be Twitter… I don’t have it and I don’t want it. I could also write to the us-talk mailing list, but I’d like to reach the people in charge and us-talk seems to be too general for this. Then again, I have no idea if they read us-talk because there’s no information on who manages that site.

If you know where I can forward my request for a simple download link for these videos, please let me know. While I’d like to view the videos as well, I’m not particularly in the mood to fiddle with rtmpdump or Wireshark to figure out the URL.

If I’ve missed the download link and am making a clown out of myself, I would very much welcome a comment pointing me to it.

Best regards xeen

[1] http://stateofthemap.us/saturday.html

comfortably tagging addresses in JOSM?

Posted by xeen on 22 March 2013 in English.

I have looked all around, but is there no comfy way to tag a lot of addresses in JOSM to existing buildings? AdressInterpolation obviously doesn’t suit the task and BuildingTools sounds promising, but the auto-tagging seems to work for new buildings only.

My current mode of operation is to create a phony building with all the tags for a street but the house number. Then I can copy these tags and paste them onto all buildings for a street via ctrl+shift+v. I need to tag house numbers manually and while JOSM auto-suggests the tag name, typing each number is still cumbersome.

Can anyone share a plugin or easier approach to this task? I welcome every suggestion.

Comfortably select drawn buildings in JOSM

Posted by xeen on 28 December 2010 in English.

I'm currently tracing a lot of buildings from Bing imagery and while the "Buildings Tool" [1] is a big help, it doesn't cover all possible cases. Especially in naturally-grown town centres the shapes aren't always rectangular and many connected houses result in complex forms.

It's quite annoying to stop and tag each house with "building=yes", so I take advantage of JOSM's built in search feature. To select all ways which need the building tag I search for:

id:0 untagged type:way -role:inner

* id:0 limits the search to objects that have been created in the current session and not been uploaded yet. Essentially, this prevents the search from selecting other people's objects.
* untagged eliminates all objects, which I might have tagged while tracing (e.g. a plaza).
* type:way includes ways and removes all nodes and relations from the results.
* role:inner selects all objects that are part of a relation and have the role 'inner'. The minus in front of it negates the filter, thus "-role:inner" excludes all "inner" ways, i.e. the holes in buildings.

By default an object must fulfill all search criteria to be matched, thus the query above in normal English would be:

Select all new ways that aren't tagged and don't have the role "inner".

Luckily JOSM remembers the previous searches, so you don't have to copy&paste the search string each time :)

[1] http://wiki.openstreetmap.org/wiki/JOSM/Plugins/BuildingsTools

Heidelberg und seine Kliniken

Posted by xeen on 4 March 2010 in German (Deutsch).

Erstaunlich oft läuft mir in Heidelberg jemand entgegen und fragt „…wo ist denn die Klinik?“ Selbst wenn es /die/ Klinik geben würde, wäre das wohl eher ein ganzer Stadtteil.

Bereits vor einiger Zeit hatte ich mir dazu überlegt, dass eine Karte auf OSM Basis ganz hilfreich wäre. Das Vorhaben in die Tat umzusetzen, stellte sich jedoch als gar nicht so leicht heraus. Die Karte musste schließlich alle(*) Einrichtungen enthalten, sollte diese möglichst groß darstellen und zudem schwarz-weiß sein, damit man sie günstig ausdrucken kann. Halbwegs automatisch sollte das auch noch gehen, damit man Änderungen der Karte von Zeit zu Zeit einpflegen kann.

Mit einer gehackten Version von Gary68s Mapgen.pl ist schließlich die untenstehende Version entstanden. Bei weitem nicht so hübsch wie Mapnik, aber für den Zweck wohl ausreichend. Bei Bedarf schicke ich die ganzen Quellen gerne per E-Mail, wobei das nicht wirklich schön ist.

http://mathphys.fsk.uni-heidelberg.de/~stefan/kliniken-heidelberg.pdf

Hinweis: wenn man das PDF druckt, kann die Beschriftungen besser lesen, zumindest bei meinem Drucker.

In jedem Fall habe ich jetzt ein paar Karten zum Verschenken einstecken. Wenn die Wartezeiten noch so lang sind wie früher, dürften auch recht viele die OSM Werbung lesen :)

Viele Grüße,
xeen

(*) Bis die die orthopädische Klinik. Aber die ist ja auch so jwd, dass die keiner verfehlt.

Location: 69120, Baden-Württemberg, 69120, Deutschland

OSM einfach einbinden

Posted by xeen on 24 January 2010 in German (Deutsch).

Auch wenn viele die OpenStreetMap ganz hübsch finden, ist der Aufwand sie ordentlich einzubinden doch relativ hoch. OpenLayers ist mächtig und braucht dementsprechend Einarbeitungszeit bis man damit erreicht, was man möchte.

Das ist nicht sehr optimal um die OSM zu verbreiten. Deswegen habe ich einen kleinen Wrapper geschrieben, mit dem sich die Karte mit minimalem Aufwand und Verständnis der dahinter liegenden Techniken einbinden lässt. Es handelt sich dabei nicht um ein Tutorial, sondern ein kopier-freundliches, lauffähiges Beispiel.

Im Idealfall kopiert man dann nur einige Zeilen Quelltext und ändert die Marker/Points of Interest. Ggf. muss man die Größe der Karte noch an das Design anpassen – mehr aber nicht.

Der Quelltext ist ausführlich auf Deutsch kommentiert und findet sich unter:

http://mathphys.fsk.uni-heidelberg.de/~stefan/osm/

Noch sehr umständlich ist leider die Erstellung einer nicht-Javascript Version, da man dazu manuell die Karte als Grafik anlegen muss. Dass die Exporttools auf osm.org wenig intuitiv bedienbar sind, macht die Sache auch nicht leichter.

Bisher konnte ich damit das Kirchoff Institut für Physik [1] und das Mathematische Institut [2] überzeugen. Beide verwenden aber eine ältere Version, die weniger konnte und einige Nachteile hatte.

Für Verbesserungsvorschläge bin ich offen, einfach in die Kommentare posten oder direkt an mich schreiben.

Grüße
xeen

[1] http://www.kip.uni-heidelberg.de/general/anreise.php
[2] http://www.mathi.uni-heidelberg.de/siteplan/osm_public_transport.html