[Gvsig_english] GPX
Agustin Diez Castillo
adiez at uv.es
Wed Jun 8 14:24:15 CEST 2011
__________________________________________________________
Dr. Agustín Diez Castillo
Departament de Prehistòria i Arqueologia
Universitat de València Phone: +34 963 98 38 93
Avda. Blasco Ibañez, 28 Fax: +34 963 98 38 87
València 46010
http://www.uv.es/sidgeipa
__________________________________________________________
On Jun 8, 2011, at 1:19 PM, Francisco Puga wrote:
> 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.
>
I did it already, waypoints were fine so maybe is a good idea to import track files as both points and lines or either.
> --
> 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
> <build.xml><.project><.classpath>_______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at listserv.gva.es
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
More information about the Gvsig_internacional
mailing list