OpenStreetMap logo OpenStreetMap

-karlos-'s Diary

Recent diary entries

  • This article gives me a vision of a map, dynamical rendered with the details, I need just now.
  • That should be possible by vector tiles and client side rendering, using WebAssembly.
  • The autor says: This article stems from my work at www.Mapfit.com - a nice tool. I think they use OSM data but don’t have any note to OSM :-(

https://blog.prototypr.io/mapping-the-reality-of-the-world-df7ad81ccb54

MapFit example

Optimising "OSM go"

Posted by -karlos- on 15 September 2017 in English.

A bridge, rendered by OSM building parts

As I wrote last time, “OMS go” will only be used for experiments now. Recently my friend Martin told me about an optimisation, he had done successfully. I implemented it and you may feel remarkable increased control reactions. This is really good if you use the head tracking of Google Cardboard or other stereo devices. To get the best performance, you may need to restart your browser. The 3D interface WebGL is limited and my data handling code is a hack anyway. My new tile handling does have disadvantages: Od shadows ad sunny places. And you can’t select things any more! You may add “&opt=0” to your URL to switch back to the old mode. or switch of shadows by &sha=0

What I did, may only be interesting for codes of 3D renderer:

See full entry

OSM go - and stop - what next?

Posted by -karlos- on 21 August 2017 in English.

OSMgo-stop

The development of OSMgo is on hold, may be forever. It was not intended to go that far anyway. I will do small changes now or then. And “support”: If anyone tells me new bugs or a missing feature, I most probably will get active. If you like to use OSMgo with a liddle help, I would be glad to guide you in multiuser mode. My friend Martin is coding a plane control/simulation. Soon you may fly through the virtual 3D world of OSM with/as a model plane. When the intended 3D model server/repository is online, it will be used by OSMgo to.

See full entry

OSM go - und stopp - was nun?

Posted by -karlos- on 21 August 2017 in German (Deutsch).

OSMgo-stop

Die Entwicklung von OSMgo ist angehalten, vielleicht für immer. Das es so weit geht war garnicht angedacht. Ich werde hi und da kleine Änderungen machen. Und “Support”: Wenn jemand neue Fehler meldet oder Funktionen gewünscht werden, werde ich sehr wascheidlich aktiv werden. Wer beim Benutzen von OSMgo etwas Hilfe möchte, den werde ich mit Freuden im Multiuser-Modus begleiten. Mein Freund Martin schreibt gerade Code für eine Flugzeug-Steuerung/-Simulation. Bald kann man mit einem Modellflugzeug durch die virtuelle 3D Welt von OSM fliegen. Wenn der geplante 3D-Server/Service online ist, wird er auch von OSMgo genutzt.

See full entry

Multiuser mode

Now, you may go into the OSM-Data world and visit places ‘together with a friend’. As you move around, you will see your company next to you, also moving and watching. If you just start “OSM go”, your user name will be the name of your country. Or call www.osmgo.org?user=myName. Use a nickname or even better, use your OSM-name. A 2nd-click any place you want to visit and select the icon of “OSM go” to enter. Your friend may follwow you, using the slippy map (see below).

multiuser

There is a ‘chat’ implemented in “OSM go”! Press key C and enter text in the popup dialog. The actual chat texts will be shown in the text box at the top left. There you will also see if an other user is dropping in or leaving. If you like to test it with me (-karlos-) just send me a time, I may be there and guide you. So don’t be afraid if you use “OSM go” and see a moving smile. Some visitors and me had already a lot of fun doing this. Some user of “OSM go” may have been shocking surprised, sorry.

See full entry

Multiuser-Mode

Jetzt kann man die Welt der OSM-Daten zusammen mit einem Freund besuchen. Während man sich bewegt sieht man neben sich die Begleitung, sich bewegen und umsehen. Startet man “OSM go” bekommt man als User-Name den seines Lands. Oder man nutzt www.osmgo.org?user=myName für einen Rufnamen oder noch besser, seinen OSM-Namen. Ein Klick mit der zweiten Maustaste dort, wo man hin will und ein Klick auf das Icon startet “OSM go”. Ein Freund kann folgen, in dem er die Slippy-Map nutzt (siehe unten)

multiuser

See full entry

Laut seinem Blog-Beitrag “Friends de Tour” nutzt er neben Papierkarten OSM für den Feinabgleich und findet manches auch nur bei OSM - http://www.tour-de-friends.de/TR-Balkan/ Siehe auch: “Landkarte oder GPS?” - http://www.tour-de-friends.de/LandkarteOderGPS/

Location: Vaniköy, Kandilli Mahallesi, Üsküdar, İstanbul, Marmararegion, 34684, Türkei

Passau, das ist doch die Gelegenheit, mal Leute zu treffen. Bisher war ich nur mal war ich beim OSM Treffen in Nürnberg, dagegen war Passau ein Kulturschock. In meinem “vorherigen Leben” hatte ich als Raumpatrouille-Fan schon einige Veranstaltungen besucht. OSM ist mindestens genau so kreativ.

Bei meiner Bastelei an “OSM go” hatte ich ein paar Kontakte geknüpft. Nun hoffte ich, einige Aktive persönlich zu sehen, vielleicht auch User, die Feedback zu OSM go geben. “3D-Rendern” währe doch ein Thema. Kaum getwittert, wurde ich überredet, das im OSM-Wiki vor zu schlagen und auch gleich als “Moderator” uh! In den Wochen danach wurde jeden Tag mehr oder weniger programmiert. “Muss das bis Passau fertig sein” fragte meine Herzallerliebste. Na ja, nicht wirklich; “fertig” gibt es bei sowas ohnehin nicht. Aber halbwegs Fehlerfrei währe schon gut.

ANREISE UND ABEND

Dann war es Freitag, die FOSGISS schon in vollem Gange und ab Mittag wurde ich unruhig, bin bald weg von der Arbeit und zum Zug. ICE ohne Platzreservierung erhöht den Abenteuerfaktor noch. Schließlich saß ich mit einem 2-Jährigen plus Vater an einem Tisch und statt Notebook und Code kneten gab es Gebabbel und Fingerspiele.

Mein erster Eindruck von Passau: Es ist nicht so flach, wie es auf OSM aussieht. Immer muß man über diesen Hügel in der Mitte und es gibt nicht mal einen direkten Fußweg zur Uni. Dort kannte ich zwar die Hörsaal-Nummer und dachte, wenn da überhaupt welche ‘rumlaufen, ist es der OSM-Event. Von wegen. Erst mal war Info-Wochenende für neue Studenten. Gut, die kann man doch von typischen OSM-Mappern unterscheiden: Männlich, älter, rumstehend und Plaudernd. Ich wurde auch schon vor der Tür nett begrüßt; ok war eine Verwechslung. Innen liefen welche mit Ausweisen am Gürtel ‘rum. Ordner? Ich fragte nach OSM und wurde in den Hörsaal gewiesen. Äh? Der Beamer verkündete einen Vortrag von Gregor Gysi! War das geplant? Nein, falsches Gebäude. Weiter laufen!

See full entry

Location: Thanöd, Ries, Passau, Bayern, 94034, Deutschland

OSM go - Nodes und Daten (DE)

Posted by -karlos- on 9 January 2017 in German (Deutsch).

London

Es macht immer noch Spaß, “OSM go” zu verbessern und neue Funktionen zu ergänzen. Ein paar Zeilen Code dazu und Bäume werden sichtbar; und da sind wirklich viele Bäume in OSM. Die Hauptidee ist immer noch das Darstellen von OSM Daten. Eine echt realistische Darstellung mag möglich sein und kommen (viel) später (Als Teamwork mit OSMBuildings und OSM2WORLD, hoffe ich).

Wir haben ein Experiment gemacht: OSM2WORLD kann ein Gebiet als 3D Format “obj” exportieren. Und OSM go kann das anzeigen, auch Farben. Jan (OSMBuildings) exportierte einige Gebiete um zu Testen, ob sie als 3D-Tiles in einem Thin-Client genutzt werden können. Geht gut: Twitter-Post

See full entry

OSM go - Nodes and Data (EN)

Posted by -karlos- on 9 January 2017 in English.

London

It’s still fun to improve “OSM go” and add new features. After adding some lines of code, and trees get visible; and there are really a lot of trees in OSM. The main idea still is visualising OSM data. A really realistic view may be possible and may be done (much) later (As teamwork with OSMBuildings and OSM2WORLD, I hope)

We made an experiment: OSM2WORD offers to export an area as 3D format “obj”. And “OSM go” is able to show this, including colours. Jan (OSMBuildings) exported some areas to test, they may be used as 3D-tiles in an thin client. Works fine: Twitter-Post

The controls have been reworked generally. Now there are two ways to move and look around, the ‘Inspection-‘ and the ‘Segway-Mode’. ‘Inspection’ is default, use the key “C” to change the mode. ‘Inspection’ is what you know from other 3D renderers like OSMBuildings: By keys, you move your point of view, by mouse or touch, you move the 3D world.

See full entry

Work is in progress, features are improved and added. See the OSM Wiki page for more details and read some background infos below.

There is an Twitter-Feed: @OSM__go (two underscores!). You may follow the latest activities, upcoming ideas and related things.

Tile processing

Overpass seemed to be slow but my measurement was wrong because Javascript even delays console.log while callback code is running. A close inspection showed: Overpass is great, my code with a lot of string copy was slow and is now replaced by jQuery.js and getJSON. Much better, much faster but there was still that “wait-cursor”. Again it was me. I had simple linear searches for already existing nodes or ways. I replaced them by arrays with the OSM-ID as index. Odd to debug but fast. Now, the default load radius is set up to 800m and still fast. Or fine, if you are in a dense city. Old hardware devices may have trouble and get slow. Now the download will stop.

See full entry

Location: South Bank, Waterloo, London Borough of Lambeth, London, Greater London, England, SE1 9PX, United Kingdom

OSM go - 3D Render? (DE)

Posted by -karlos- on 24 October 2016 in German (Deutsch).

Die Verbesserungen an “OSM go” gehen weiter. Ich war schon stolz, das der OSM Wochenbericht es erwähnt hat. Die Handhabung and Bedienfunktionen sind jetzt brauchbar. Es gibt Tasten- und URL-Befehle. Das Rendering kennt jetzt building levels und Geleise. Der erste “Layer” ist enthalten: Keepright. Es ist motivierend, alle Fehler zu beseitigen, die in der 3D-Welt markiert sind. Eine Objektauswahl zeigt Tags an.

Und gibt es das in einem anderen Programm oder Service: OSM rendered in Stereo zum Ansehen in Google Cardboard? Mit OSM go kann man durch die virtuelle welt von OSM lauen oder Fliegen.

cardboard

Alle Details stehen auf der OSM-Wikiseite für OSM go. Da stehen auch alle Einzelheiten zu den enthalten Teilfunktionen und deren Entwicklungsstand. Und am Ende eine ToDo-Liste.

See full entry

OSM go - 3D Render? (EN)

Posted by -karlos- on 24 October 2016 in English.

The improvements of “OSM go” are going on. I was quite proud, as the OSM weekly mentioned it. The handling and the control is usable now. There are keyboard- and URL-commands. The rendering includes building levels and train tracks. The first “Layer” is included: Keepright. It is motivating to clear the errors, marked in the 3D world. A object selector does show its OSM tags.

And did you ever see this in any tool or service?: OSM, rendered in stereo, to see it in a Google Cardboard? OSM go enables you to walk or fly through the virtual world of OSM

cardboard

Read all details in the OSM-Wiki page for OSM go . There you will also find details to ongoing component states and rendering details. And a todo list at last.

See full entry

OSM go Earth - Fragen

Posted by -karlos- on 29 August 2016 in German (Deutsch).

Es gibt auch diese Woche etwa zu berichten ;-) Es geht voran, zu langsam und doch zu schnell: Zu schnell geht es, weil meine Begeisterung mein Restleben und den Nachtschlaf beeinträchtigt. Zu langsam weil das Testen mit Javascript eine Qual ist per „Console.Log“, am Smartphone gar nur „alert“. Gibt es ein gutes Framework mit Beakpoints?

OSMgo Greenwich

See full entry

Google Earth ==> OSM Earth (EN)

Posted by -karlos- on 12 August 2016 in English. Last updated on 19 September 2016.

No, I dod not cancel, “OSM go”, I extended the idea. But first, thank you for the suggestions. At first, the reactions was limited, after a week it got nice.

After I postet that PSM-go, I spend a day to take snippets of old code of mine. And at night, I had that first 3D-View. It enthused me so much, to have a sleepless night, my imagination running wild: Walk through OSM in 3D (not that discouraging Pokemon style, something tidy), overlay data, not only walk but “fly”; thats why I used the term OSM-Earth. Sure, more layers with external- / realtime data are possible. May be switching to 2D mode.

Actual I am fighting with JavaScript Orientation-Controllern (the compass is wrong using Android), someone may take over this. Contributors are welcome anyway, not only by writing code. Also advice, what frameworks exist. I.E: If I got JSON by AJAX, how to convert the OSM data to Javascript arrays and how to index the node ids?

Actual, everything exists already; renderer in 2D and 3D, gamification with OSM improvements. Demotivating? Well - it’ fine, if one has les to do himself. However, its quite difficult to dig into stacks of alien code. And often, only the solutions may be usable because it is not Javascript.

  • A running gamification (in 2D): http://www.kort.ch
  • A Renderer in Javascript (2D): Cartagen
  • A 3D-Renderer (java,static): osm2world.org
  • Ingress, the “precursor von PG” OSM based: github.com/egore/osmgress
  • Other tools to motivate editing: Mapillary, OSMand and Maps.ME.

With edits there are a lot of doubts because newbies shall do it. I like the idea, this edits to go into a pool, used by “real” OSMer, loaded in an editor and verified.

What next? Just things I will have fun with :-)

See full entry