[Gfoss] da GPX a GeoJson

Luca Moiana luca_moiana a hotmail.com
Dom 5 Ott 2014 18:56:40 CEST


Grazie,
Sono su OS X...come la setto??
L

> Date: Sun, 5 Oct 2014 18:47:09 +0200
> Subject: Re: [Gfoss] da GPX a GeoJson> From: aperi2007 at gmail.com
> To: luca_moiana at hotmail.com
> CC: gfoss at lists.gfoss.it
> 
> Vedo che il tuo GPX ha la Z sotto forma di attributo ELE.
> 
> Dalla documentazione di gdal, relativa al driver GPX:
> 
> http://www.gdal.org/drv_gpx.html
> 
> >If the environment variable GPX_ELE_AS_25D is set to YES, the elevation element will
> >be used to set the Z coordinates of waypoints, route points and track points.
> 
> 
> Quindi devi impostare una variabile locale sul tuo PC chiamata
> GPX_ELE_AS_25D e porla al valore YES.
> 
> Verifica se hai questa impostazione.
> 
> A.
> 
> 
> Il 05 ottobre 2014 18:36, Luca Moiana <luca_moiana at hotmail.com> ha scritto:
> > Ciao,
> >
> > niente da fare... Ho messo qui i file, se volete dargli un'occhiata
> > https://github.com/LucaMoiana/gpx_to_geojson
> >
> > Se do il comando suggerito, mi chiede di specificare cosa voglio esportare,
> > nel mio caso tracks:
> >
> >
> > ogr2ogr -f "GeoJson" corto.geojson corto.gpx  tracks
> >
> >
> >
> > converte ma esce un GeoJson senza Z.
> >
> > L
> >
> >
> >
> >> Date: Sun, 5 Oct 2014 07:11:35 -0700
> >> From: aborruso at tin.it
> >> To: gfoss at lists.gfoss.it
> >> Subject: Re: [Gfoss] da GPX a GeoJson
> >>
> >> Ciao Luca,
> >> non ho un file gpx con cui fare un test.
> >>
> >> Se il source è xyz, il target geojson dovrebbe esserlo pure.
> >>
> >> Ho fatto un microtest che trovi qui
> >> https://gist.github.com/aborruso/0078033b520ad1b10de5, con un CSV xyz e
> >> nel
> >> geojson ottengo nelle coordinate xyz (defi fare click su RAW per vedere il
> >> testo del geojson).
> >>
> >> So che non è un gran risposta :)
> >>
> >>
> >>
> >> -----
> >> Andrea Borruso
> >>
> >> ----------------------------------------------------
> >> email: aborruso at tin.it
> >> website: http://blog.spaziogis.it
> >> feed: http://feeds2.feedburner.com/Tanto
> >> 38° 7' 48" N, 13° 21' 9" E
> >> ----------------------------------------------------
> >> --
> >> View this message in context:
> >> http://gfoss-geographic-free-and-open-source-software-italian-mailing.3056002.n2.nabble.com/da-GPX-a-GeoJson-tp7589603p7589612.html
> >> Sent from the Gfoss -- Geographic Free and Open Source Software - Italian
> >> mailing list mailing list archive at Nabble.com.
> >> _______________________________________________
> >> Gfoss at lists.gfoss.it
> >> http://lists.gfoss.it/cgi-bin/mailman/listinfo/gfoss
> >> Questa e' una lista di discussione pubblica aperta a tutti.
> >> I messaggi di questa lista non hanno relazione diretta con le posizioni
> >> dell'Associazione GFOSS.it.
> >> 666+40 iscritti al 5.6.2014
> >
> > _______________________________________________
> > Gfoss at lists.gfoss.it
> > http://lists.gfoss.it/cgi-bin/mailman/listinfo/gfoss
> > Questa e' una lista di discussione pubblica aperta a tutti.
> > I messaggi di questa lista non hanno relazione diretta con le posizioni
> > dell'Associazione GFOSS.it.
> > 666+40 iscritti al 5.6.2014
> 
> 
> 
> -- 
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gfoss.it/pipermail/gfoss/attachments/20141005/4104b1e3/attachment-0001.html>


Maggiori informazioni sulla lista Gfoss