Am 28.08.2012 16:40, schrieb M.E.Dodd:
The 'save as' command in qgis seems to strip out attribute data when
creating files of certain sorts such as .gpx and also gives problems
with .kml where the markers are not identified with any of the
attributes.  Are there any workarounds for these problems?

More detail on the .gpx issue, it will produce a .gpx file if you
select 'skip attribute creation' but if you don't select this then it
fails with the error message: "Export to vector file failed. Error:
creation of field tree_id failed (OGR error: Field of name 'tree_id'
is not supported in GPX schema. Use GPX_USE_EXTENSIONS creation
option to allow use of the<extensions>  element.)"

It appears to be quite a helpful error message except that I can't
see anywhere to "Use GPX_USE_EXTENSIONS creation option"


Well, just do as you are told:
Insert GPX_USE_EXTENSIONS=yes in the layer field, and the GPX creation works.

More about that here:
http://www.gdal.org/ogr/drv_gpx.html

HTH,
André Joost

_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to