User talk:Tyr

From OpenStreetMap Wiki
Jump to: navigation, search

feel free to comment here if you want to contact me :)

Learning platform for Overpass API GSOC '15

Hey, I was going through the ideas and organizations for GSOC '15 and your Learning platform for Overpass API really caught my eye. I have some experience in web-development mostly Django and some javascript. I had some ideas on how this can be implemented would love to discuss those with you.

Thanks Arjunkrishna94

Great! I assume you already know how to use the Overpass API, don't you? I'm open for you ideas, go ahead. -- Tyr (talk) 13:09, 3 March 2015 (UTC)
The process of learning in code academy involves this
1.You signup for a course and find a bunch of chapters in that course.
2.You can go chapter by chapter or skip to the chapter you want.
3.Then they teach you a little by showing an example and a few lines explaining it or just the explanation.
4.Then you have to solve a problem , they check if you solved it by looking at your output (console logs in javascript)
5.You move on to other chapters.
Code academy is great if you want to learn something from top to bottom, however if you just want to get a small doubt cleared codeacademy is not the place. I think this is where something like w3schools comes in, they're great to use when you have to just clear up a small detail about javascript or something else. One of the major differences between codeacademy and w3schools is that w3schools does not validate your answer, there is no problem to solve in w3schools just examples. In code academy there are mostly problems to solve.
Many users may want to start from scratch to learn the overpass api and many of them may just want to clear a small doubt up. I suggest that something like w3schools but also with dedicated courses like codeacademy would be great(Best of both worlds).
Coming towards coding up such a platform one of the main questions is whether to use overpass turbo or not. Overpass turbo is great for building queries and running them , however testing the output obtained in order to ensure that the user solved the problem might be hard (or at least thats what I think, not too sure, have been thinking of ways to use it and develop over it). I suggest that overpass turbo be used when just examples have to be showcased and use the platform and leafleft.js (to show the output) when problems are being solved.
Anyway could we shift the disussion to email or something else?
PS: Here's something that I started writing just to familiarize myself with leaflet.js [1], I was just trying to show the query results on a map (I know it's ugly, excuse the looks please and it works only for nodes now).
--Arjunkrishna94 (talk) 16:17, 4 March 2015 (UTC)
Thanks for your comments. Agreed, let's continue via mail. --Tyr (talk) 21:42, 5 March 2015 (UTC)

GSoC 2015

I'm interested in participating in Google Summer of Code and found your idea really interesting. I've been using OSM since last year and I've learnt a bit how overpass works, mainly playing with overpass turbo. I'm in my first year of Computer Engineering and I'd like to know how hard the project could be. I don't know Javascript yet, but I do know Java and really enjoy learning new things.

Thanks -- nokutu 21:52, 2 March 2015 (CET)

Dear Jorge, thank you very much for your interest in the GSoC project. I wouldn't expect the project to be extremely hard, but some prior experience in web development would certainly make a difference. Would this be your very first steps towards web programming? Or do you already know a little bit about HTML&CSS, CMS systems, etc.? -- Tyr (talk) 22:24, 2 March 2015 (UTC)
Yes, I haven't done it before but I suppose I would have enough time before starting to learn everything I need. What would you recommend me to learn? -- nokutu 23:40, 2 March 2015 (CET)
I'd suggest you take a look at the courses on codecademy.com. There are a lot of great courses for beginners about any aspect of web development (from a basic HTML webpage to Javascript, etc.). -- Tyr (talk) 13:05, 3 March 2015 (UTC)

Trentino page layout

Grazie per avermi fatto conoscere un nuovo valore display, ho visto anche, facendo ricerca che l'html5 è andato avanti dai tempi in cui giochicchiavo con l'editor, magari modifichero le distanze, ma comunque ho imparato qualcosa di nuovo, grazie ancora. Simone G.

Di niente! :) --Tyr (talk) 17:38, 24 September 2013 (UTC)

Build Process

Hello ,I was going through various projects and this one really impressed me.I was wondering what will be the build process of this codeacademy-like-site.

  • What level of proficiency in Javascript is required for this project?
  • Will it be following any programming pattern like functional Programming or OOP?
  • I created this simple app with leaflet that gets the user's location and displays it on the map.
  • I am currently mastering advanced Javascript concepts like callback,closures,prototypal inheritance,etc.

-Amitkjs

I guess your js-foundations are quite sufficient I would say from what I can see. Can you tell me about when and how you found out about OSM and Overpass? Do you have any ideas/suggestions how such a learning platform could be most usefull for beginners? (btw: you can contact me via email, if you want.)
--Tyr (talk) 10:39, 14 March 2015 (UTC)

I emailed you.Let's move the conversation over there.

-Amitkjs

Learning Platform - "Best practise" examples in osm wiki

the German "Beispielsammlung" for Overpass API is around for quite some time, collecting many (mostly non-trivial) queries from OSM Forum, OSM help, stackoverflow, gis.stackexchange,....

Now there's a counterpart in English available, which should be a good starting point for a learning platform (Overpass_API/Overpass_API_by_Example). Not everything is yet translated, but I'm sure this will improve in the weeks to come. Mmd (talk) 15:48, 28 March 2015 (UTC)

Awesome, thanks! --Tyr (talk) 18:25, 28 March 2015 (UTC)

Overpass turbo/MapCSS

Hallo, ich schlage wg. deinem Link in DE:Overpass turbo hier auf.

Vorab mal vielen Danke an alle Beteiligten für dieses prima Werkzeug!

Meine konkrete Frage im Rahmen meiner derzeitigen Versuche: Auf Overpass turbo/MapCSS lese ich: "Some Restrictions [...] zoom-level selectors (e.g. |z12) are not supported (in fact, they are always evaluated for zoom-level 18, regardless of the actual map state)." Soweit mich meine Versuche nicht täuschen, ist das (leider, leider) wirklich so. Ist denn geplant, das mal zu implementieren?

Fragende Grüße aus Kassel

von Jo Cassel (talk) 14:09, 12 October 2015 (UTC)

Hi. Ja, geplant wäre es schon, aber leider komme ich momentan aus Zeitgründen nur sehr selten dazu größere Features weiterzuentwickeln, deshalb wird ein deutlich verbesserter MapCSS noch etwas auf sich warten lassen. Habe den Punkt aber gerade auf die todo-Liste gesetzt. --Tyr (talk) 06:27, 13 October 2015 (UTC)
Oh, an 11. Stelle - das liest sich ja alles nicht so hoffnungsvoll ;-)
Wäre schön, wenn es (irgendwann) was würde, und Du mir dann (über OSM-Wiki oder den OSM-Account) Bescheid sagst, ich stelle mich gern als beta-Tester zu Verfügung.
Grüße und schönes Wochenende wünscht Jo Cassel (talk) 08:28, 16 October 2015 (UTC)

Bug in overpass-turbo ?

Hallo Martin, kannst du dich dieser Frage annehmen bzw. mir mitteilen, ob es sich hier um ein Problem des Overpass Turbo oder des Wikis handelt? Danke und Gruß von René aus Mainz --Reneman (talk) 18:25, 28 February 2017 (UTC)

Hallo, ich hab dort mal geantwortet. Ist alles außer ein overpass turbo issue. Mmd (talk) 18:37, 28 February 2017 (UTC)
Danke @mmd.--Tyr (talk) 09:55, 1 March 2017 (UTC)

overpass turbo - Ausgabe ohne Link beim Tag "wikimedia_commons"

Hallo, ich hätte da einer Fehlermeldung bzw. Verbesserungsvorschlag, das Problem hatte ich schon unter https://forum.openstreetmap.org/viewtopic.php?id=58497 angesprochen, dort wurde ich auf Github verwiesen, dies ist aber nicht meine Welt, daher versuche ich es mal hier, auf dem kurzen Diestweg.

Als Kopie:


Die Bedienungsanleitung verlangt für die Hinterlegung eines Hinweises auf eine Category bei Wikimedia Commons die Form:

wikimedia_commons=Category:MeineZielkategorie

Das Problem: Weder die 1) OSM Homepage, noch 2) overpass turbo löst gegenwärtig einen derartigen Tag zu einem clickbaren Link auf, (im Gegensatz zu dem Tag für Wikipedia-Artikel, dort wird automatisch ein clickbarer Link generiert).

Wer könnte da was verbessern? Es dürfte doch nicht so kompliziert sein, die gk.historic.place/historische_objekte-Karte schafft das problemlos.


Eigentlich dürfte dies doch keine große Sache sein, vgl. https://wiki.openstreetmap.org/wiki/Key:wikimedia_commons

WENN der value im Tag "wikimedia_commons" mit "Category:" ODER "File:" beginnt, (WENN NICHT, dann Finger weg, dann hat der Mapper möglicherweise Mist gebaut) DANN wird:

1.) Der String "https://commons.wikimedia.org/wiki/" davorgesetzt und

2.) Ggf. vorhandene Leerzeichen im value werden durch Unterstriche ersetzt

und fertig ist der Link - oder sehe ich da etwas falsch?

Vielleicht ist es ja möglich diese 1-2 Codezeile mal zwischendurch einzuschieben? Hoffnunungsvolle Grüße ...Jo Cassel (talk) 15:44, 30 May 2017 (UTC)

Hi. Ja, das sollte kein allzu großes Ding sein. Habe ein Ticket auf github dafür angelegt: https://github.com/tyrasd/overpass-turbo/issues/320 -- Tyr (talk) 19:21, 30 May 2017 (UTC)

Hallo, wie ich feststellen konnte ist die Commons-Verlinkung inzwischen in Betrieb, Danke nochmal! Ich möchte noch 2 Dinge anmerken, die mir als Benutzer auffallen:

  • 1.) Ruft man mit einem Browser (Firefox), bei dem Cookies deaktiviert sind, eine per "Teilen" + shortlink generierte Abfrage auf, so erscheint in der Bildmitte eine Fehlermeldung, die das Abfrageergebnis verdeckt. Dies erscheint mir reichlich unsinnig, denn die Abfrage funktioniert auch ohne Cookies, und die Fehlermeldung verdeckt etwas völlig fehlerloses.
  • 2.) Bei einer per "Export" generierten "Interaktiven Karte" läuft eine lange URL (beim "image"-Tag) nach rechts aus dem Info-Fenster (Beim Info-Fenster einer per "Teilen" + shortlink generierte Abfrage passiert dies dagegen nicht!?). Die URL funktioniert auch weiterhin, sieht halt einfach nur suboptimal aus.

Die ganze Sache mit "Teilen" + shortlink einerseits und "Export" + "Interaktive Karte" andererseits macht mich ohnehin etwas ratlos, s.:
https://forum.openstreetmap.org/viewtopic.php?id=58829
Wäre es nicht sinnvoller, wenn man beim "Teilen" der Abfrage mitgeben kann, dass das Codefenster (+ggf. die Kopfzeile) beim Aufruf der Abfrage geschlossen sein soll - und schon hat man eine "Interaktive Karte"?

Grüße ... Jo Cassel (talk) 09:59, 30 June 2017 (UTC)