Feature request #3209

Set "Skip attribute creation" as a default setting when user chooses "Microstation DGN" format for export

Added by Paolo Cavallini over 6 years ago. Updated over 1 year ago.

Status:Open Start Date:
Priority:Low Due date:
Assigned to:- % Done:

50%

Category:Vectors
Target version:Future Release - Nice to have
Platform: Resolution:
Platform version: Pull Request or Patch supplied:No
Status info: Tag:

Description

New description:

"Skip attribute creation" as a default setting when user chooses "Microstation DGN" format for export

Old description:

Converting (right click->Save as...) a shp in gpx results in an error:

creation of field DATA_INI failed (OGR error: Field of name 'DATA_INI' is not
supported in GPX schema. Use GPX_USE_EXTENSIONS creation option to allow use of the
<extensions> element.)

This crashes my machine.

Similar stuff while saving to DGN files.

History

Updated by Luca Casagrande over 6 years ago

To avoid errors when converting to GPX, the flag -dsco GPX_USE_EXTENSIONS=YES should be enabled by default.
It doesn't bring any data corruption, it just add extra fields inside the<extensions> tag.

Updated by Jürgen Fischer about 6 years ago

That's what the "data source" field in "OGR creation options" is for and getting to GPX_USE_EXTENSIONS takes three clicks and a little bit of scrolling starting with the "help" button.

I suppose you didn't mean tht your whole machine crashes after the error message.

Updated by Giovanni Manghi over 5 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

Updated by Giovanni Manghi almost 5 years ago

  • Target version changed from Version 1.7.4 to Version 2.0.0

Updated by Simone Bianchi almost 5 years ago

I am wondering if the following problem is related.

I'm trying to download data from a Garmin 60csx, but it reports everytime The layer C:/Users/simblanco/Documents/GIS/test.gpx?type=waypoint is not a valid layer and can not be added to the map. The problem is that the file is not saved on the harddisk. I don't know if it is possible to enable GPX_USE_EXTENSIONS for this procedure.

(The problem I guess is not in the GPS usb connection because I edited the settings and the GPS is indeed beeping when I enter the command)

Updated by Pirmin Kalberer over 4 years ago

  • Target version changed from Version 2.0.0 to Future Release - Nice to have

Updated by Médéric RIBREUX over 1 year ago

  • Status changed from Open to Feedback
  • Assigned to deleted (nobody -)
  • % Done changed from 0 to 50
  • Pull Request or Patch supplied set to No

Hello, bug triage...

for GPX export, there is now (QGIS 2.13 master) no problem, the GPX_USE_EXTENSIONS is set to YES by default. Half done !
For DGN, there is a problem for the default settings: DGN seems to not accept attributes .

We need to set "Skip attribute creation" as a default setting when user chooses "Microstation DGN" format for export.

Updated by Médéric RIBREUX over 1 year ago

  • Status changed from Feedback to Open

Updated by Giovanni Manghi over 1 year ago

  • Subject changed from saving to GPX or DGN fails to Set "Skip attribute creation" as a default setting when user chooses "Microstation DGN" format for export
  • Category changed from Data Provider to Vectors
  • Platform deleted (All)
  • Status info deleted (1)

Also available in: Atom