<br><br><div class="gmail_quote">2012/4/8 Alex Morega <span dir="ltr"><<a href="mailto:alex@grep.ro">alex@grep.ro</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That's an interesting approach, to use JOSM code recompiled for the browser. I see you ran into the same-origin-policy problem too. Can it be fixed in the API, to allow cross-origin requests?<br>
<br></blockquote><div><br></div><div>The same origin policy is a basic problem to all web apps. It has the side effect that you will have to pay for all the traffic your users produce.</div><div><br></div><div>there are ways around it, but basically only via priviledged browers, you can for example make a firefox extension that runs javascript with more permissions, you can use a custom browser like the phonegap or the titanium people do.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'll keep working on the pure-JavaScript implementation, because it should be easier to maintain on the long run (simpler code, no GWT required on a developer's machine) and perhaps more flexible (because it's not constrained to the assumptions already made by JOSM). Also, writing a map editor from scratch is fun :)<br>
</blockquote><div><br></div><div>Yes, I am going to review your program and install it. We can use custom javascript in gwt and we can also expose gwt functions to be used by other javascript libs.</div><div><br></div><div>
<br></div><div>I am still convinced and that is one of the reasons that I did not continue myself with rendering that the description of the styles one of the hardest and most time consuming issues .</div><div>If we can find a good way to describe the map styles in a reusable manner that is not dependant on the postgres database it would be great.</div>
<div><br></div><div>I think josm has promise and if we have only one codebase it is really better because many people understand josm and it is a very good tool. I personally like it a lot to work with.</div><div><br></div>
<div>mike</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
-- Alex<br>
<div class="HOEnZb"><div class="h5"><br>
On 7 Apr 2012, at 11:40, Mike Dupont wrote:<br>
<br>
> very nice.<br>
> 2012-03-21 09:00:00 HTML5-Editor für OpenStreetMap Paul-Fiete Hartmann mp4 pdf<br>
><br>
><br>
> I want to say thanks to paul for the reference he gave to my work. good job paul, I like what you did with beboj.<br>
><br>
> <a href="https://github.com/openstreetmap/beboj" target="_blank">https://github.com/openstreetmap/beboj</a><br>
><br>
> mike<br>
><br>
> 2012/4/7 Michael Kugelmann <<a href="mailto:MichaelK_OSM@gmx.de">MichaelK_OSM@gmx.de</a>><br>
> On <a href="tel:06.04.2012%2022" value="+49604201222">06.04.2012 22</a>:39, Alex Morega wrote:<br>
>> I'm working on an editor for OpenStreetMap. It works in the browser, using native technologies (no Flash), makes heavy use of OpenLayers, and depends on a thin server proxy to perform OAuth and upload changesets to the API. It should work well on mobile browsers; tested on an iPad.<br>
> Sorry as it is in German, but there was a talk about an Editor at the last FOSSGIS about 1 Month ago:<br>
> <a href="http://www.fossgis.de/konferenz/2012/programm/events/361.de.html" target="_blank">http://www.fossgis.de/konferenz/2012/programm/events/361.de.html</a><br>
> =============================<br>
> HTML5-Editor für OpenStreetMap<br>
><br>
> Der Markt für OSM-Editoren scheint recht gut abgedeckt: Potlatch bietet ein schlüssiges Bedienkonzept, JOSM besticht als Offline-Editor mit vielen Funktionen und Merkaartor findet als native Anwendung seine Anhänger. Dazu kommen Apps für mobile Geräte. Eine Nische, die es noch auszufüllen gilt, ist ein Editor, der ohne Java und Flash als JavaScript Anwendung im Browser funktioniert.<br>
><br>
> Für einen reinen HTML-Editor sind Webtechniken wie das Canvas-Element (zur Erzeugung dynamischer Grafiken) und SVG (Skalierbare Vektor-Grafik) entscheidende Voraussetzungen. Ein Problem war bisher die mangelnde Unterstützung durch einzelne Browser-Hersteller, aber Besserung ist in Sicht, da die aktuellen Versionen der verbreitetsten Browser mittlerweile die benötigten Funktionen bereitstellen.<br>
><br>
> In diesem Vortrag möchte ich einen Prototyp vorstellen, der sich im frühen Entwicklungsstadium befindet, aber bereits die prinzipielle Machbarkeit beweist. Unter anderem ist der komplette Editier-Zyklus implementiert: Daten lassen sich vom OSM-Server Herunterladen, Rendern, Bearbeiten und wieder Hochladen. Technisch basiert dieser Ansatz wesentlich auf diversen bestehenden Projekten: Teile des JOSM-Quelltexts werden mit Hilfe des Google Web Toolkits nach JavaScript übersetzt und mit einer HTML/JavaScript Benutzeroberfläche angesteuert. Für die Anzeige von Luftbildern im Hintergrund kommt OpenLayers zum Einsatz.<br>
><br>
> =============================<br>
> Slides and Video are linked in the Wiki: <a href="http://wiki.openstreetmap.org/wiki/FOSSGIS_2012" target="_blank">http://wiki.openstreetmap.org/wiki/FOSSGIS_2012</a><br>
><br>
><br>
> Best regards,<br>
> Michael.<br>
><br>
><br>
> _______________________________________________<br>
> dev mailing list<br>
> <a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
> <a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
><br>
><br>
><br>
><br>
> --<br>
> James Michael DuPont<br>
> Member of Free Libre Open Source Software Kosova <a href="http://flossk.org" target="_blank">http://flossk.org</a><br>
> _______________________________________________<br>
> dev mailing list<br>
> <a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
> <a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>James Michael DuPont<br>Member of Free Libre Open Source Software Kosova <a href="http://flossk.org" target="_blank">http://flossk.org</a><br>