[OpenLayers-Users] Load local GPX

Vidal, Antoni antoni.vidal at icc.cat
Fri Feb 20 08:09:57 EST 2009


Hello,

 

I would like to load a local gpx file to the OL like import kml option in "my maps" of Google Maps. I know the possibility of load a gpx-kml-gml file from server side using ajax: OpenLayers.loadURL("gpx/data.gpx", "", null, parseData);

 

This thechnique forces to upload the local file from client to the server for send data again to client via ajax. 

 

Is possible to acces gpx client file from OL and parse it without upload to server?

 

Thank's in advance

 

Antoni Vidal

Institut Cartogràfic de Catalunya    Tel: +34-93 567 1500 Ext. 3228

Parc de Montjuïc                             Fax: +34-93 567 1567

08038 Barcelona                            http://www.icc.cat <http://www.icc.cat/> 

Spain

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090220/f7192be1/attachment.html


More information about the Users mailing list