[OSM-dev] OSM in-browser JavaScript editor
Mike Dupont
jamesmikedupont at googlemail.com
Sun Apr 8 11:35:49 BST 2012
2012/4/8 Alex Morega <alex at grep.ro>
> 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?
>
>
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.
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.
> 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 :)
>
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.
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 .
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.
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.
mike
> Cheers,
> -- Alex
>
> On 7 Apr 2012, at 11:40, Mike Dupont wrote:
>
> > very nice.
> > 2012-03-21 09:00:00 HTML5-Editor für OpenStreetMap Paul-Fiete
> Hartmann mp4 pdf
> >
> >
> > 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.
> >
> > https://github.com/openstreetmap/beboj
> >
> > mike
> >
> > 2012/4/7 Michael Kugelmann <MichaelK_OSM at gmx.de>
> > On 06.04.2012 22:39, Alex Morega wrote:
> >> 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.
> > Sorry as it is in German, but there was a talk about an Editor at the
> last FOSSGIS about 1 Month ago:
> > http://www.fossgis.de/konferenz/2012/programm/events/361.de.html
> > =============================
> > HTML5-Editor für OpenStreetMap
> >
> > 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.
> >
> > 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.
> >
> > 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.
> >
> > =============================
> > Slides and Video are linked in the Wiki:
> http://wiki.openstreetmap.org/wiki/FOSSGIS_2012
> >
> >
> > Best regards,
> > Michael.
> >
> >
> > _______________________________________________
> > dev mailing list
> > dev at openstreetmap.org
> > http://lists.openstreetmap.org/listinfo/dev
> >
> >
> >
> >
> > --
> > James Michael DuPont
> > Member of Free Libre Open Source Software Kosova http://flossk.org
> > _______________________________________________
> > dev mailing list
> > dev at openstreetmap.org
> > http://lists.openstreetmap.org/listinfo/dev
>
>
--
James Michael DuPont
Member of Free Libre Open Source Software Kosova http://flossk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20120408/183b2f0f/attachment.html>
More information about the dev
mailing list