開放街圖標誌 OpenStreetMap 開放街圖

Creating a ground map (Schwarzplan)

於 2017年十月31日 由 13 digitsEnglish發表。

Maybe I think creating a new map style is quite easy for someone who is experienced with coding new styles. To be honest I really do not know the amount of work nor if you need server to render a new map style. Since quite a time I am looking for a map style that shows only buildings which are ilustrated in black. Not more, not less. No streets, no water bodies, no green areas. In architecture its called ground map (in german: Schwarzplan) and should give you a better visualisation of the structure of a town. Due to these structures it gives you also a reference of the historical development of a city. The often refered website (www.der-geograph.de) is a good posibility to render areas with the above mentioned style. My question to the OSM-Community is if it is not possible to create a map style which makes it obsolete to render areas tile by tile which takes ages like on that website.

電子郵件圖示 藍天圖示 Facebook 圖示 LinkedIn 圖示 乳齒象圖示 Telegram 圖示 X 圖示

討論

-karlos-2017年10月31日 17時00分 發表的評論

A renderer with a good style file should do it easily. This should be a job for a vector-tiles client side renderer.

I have added a view lines of code to my gadget. Is this about whar you need: http://osmgo.org?lat=53.07500&lon=8.78310&ele=4000&view=-89&dbg=1.5&fps=1.5&tiles=10 “Schwarzplan” activated by adding “&fps=1.5” to the url. We should talk about the details.

Schwarzplan

Nakaner2017年10月31日 18時53分 發表的評論

There is a plenty of results if you google “Schwarzplan OpenStreetMap”. Because you mention the German term, I am sure that you are able to read German forum discussions, e.g. this.

-karlos-2017年10月31日 19時08分 發表的評論

Schwarzplan

13 digits2017年10月31日 21時44分 發表的評論

I think we can keep on talking in german… ;-)

@ Karlos:Danke für Deine Antwort. Ja, eine solche Karte suche ich. Die Karte baut sich bei mir recht langsam auf.

@ Nakaner: Danke für Deinen Link auf das Forum. Dein Beitrag zu deinem Cadastre Style, der auf Mapiterative Produkten aufbaut geht auch genau in die Richtung. Meine Google-Suchen haben bisher keine Webseite zu Tage gebracht, auf der diese Art von Karten, wie z.B. Dein Cadastre-Style oder ein Schwarzplan zu finden sind und sich auch genau so bedienen lassen. Also z.B. zoomen und den Ausschnitt beliebig verschieben. Ich entnehme deinem Blog, dass ich mit dem Programm Mapiterative mir den Style selbst erstellen kann und mir wahrscheinlich die Karten dann so rendern kann wie es vermutlich auch auf der Seite “der-geograph.de” funktioniert. Meine Frage und Hoffnung war ja, dass es eine Webseite/Mapserver gibt, der einen solchen Style schon anbietet, da es ja doch öfter Thema ist im Forum.

Nakaner2017年10月31日 21時47分 發表的評論

Maperitive ist das Einsteigerprogramm zum Kartenrendern. In dem verlinkten Forenthread findest du sogar den Quellcode eine Schwarzplan-Kartenstils für Maperitive. Alles was du jetzt noch tun musst:

  • Mapertive herunterladen und entpacken
  • OSM-Daten herunterladen und zuschneiden (oder einen Extrakt auf extract.bbbike.org erzeugen lassen), Format: osm.pbf
  • OSM-Daten in Maperitive laden
  • Kartenstil anwenden (ich glaube der Befehl load-ruleset [PARAMETER] gefolgt von apply-ruleset)
  • Karte rendern mit export-png oder export-svg

Weitere Details findest du in Tutorials sowie in der Maperitive-Dokumentation.

-karlos-2017年11月 2日 16時59分 發表的評論

@13 digits: Yes, its slow because it is not optimised or rather a misuse of a 3D renderer for that purpose. And “OSM go” does not have vector tiles, just a lot of overpass calls.

I just did it to boast (angeben) my geniousity to add just 3 lines of code and have a “Schwarzplan” ;-)

Heathrow London

登入 來留下評論