[Gvsig_english] Fwd: Re: GPX
Francisco José Peñarrubia
fpenarru at gmail.com
Thu Jun 9 12:10:53 CEST 2011
Hi.
@Francisco Puga => I've included your suggestions in this .jar (but
jaxen.jar is still there, I'm not sure if you need it with JRE 1.5).
@Agustin => There is a new option in View | Add GPX as Waypoints in
order to have elevation for each point. But lat - lon is not included,
sorry (it has no sense when tracks or routes are converted).
Known bugs => If you add the .gpx file only as waypoints, and save the
project, It will be recovered as tracks, routes and waypoints.
Workarround: Export waypoints as shapefile.
http://www.scolab.es/downloads/extGPX.zip
Hope it helps.
Cheers.
Fran.
El 08/06/2011 13:19, Francisco Puga escribió:
> Great Work Fran!!
>
> I'm testing it too, and i found that when you export the "gpx layer"
> to shp some fields (time and url) have 0 width, so you can't use it.
>
> To solve it i override the method getFieldWidth in GPXVectorialDriver
>
> @Override
> public int getFieldWidth(int i){
> return fields[i].getFieldLength();
> }
>
> It seems to work.
>
> Also i have to change the build.xml to compile the project. The lib
> jaxen.jar that you provide with the source don't seem to be needed but
> you need to create a jgpx.jar from the source code. Also i remove in
> the build.xml the lines refered to images folder as we don't need it.
>
> Also consider distribute the source code as a java project to be more
> easy to use. I attach my .classpath .project files.
>
> I will pm you with the gpx i'm using.
>
>
> @Agustín, can you send your gpx file. Send a private mail if you want.
>
> --
> Francisco Puga
> Grupo de Desarrollo
> Cartolab - Laboratorio de Ingeniería Cartográfica.
> http://www.cartolab.es
>
> ETS Ingeniería de Caminos, Canales y Puertos
> Universidade da Coruña
> Campus de Elviña - 15071 A Coruña (España)
> (34)981167000 ext. 5493
--
Fran Peñarrubia
Scolab
www.scolab.es
Asociación gvSIG
www.gvsig.com
More information about the Gvsig_internacional
mailing list