Ticket #3809 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

Error-Handling of empty NAS-files

Reported by: frankjaeger Owned by: warmerdam
Priority: normal Milestone: 1.9.0
Component: OGR_SF Version: 1.7.0
Severity: normal Keywords: nas ogr2ogr empty
Cc:

Description

While updating an area with NAS (ALKIS) some tiles contains no objekt to update. The NAS-File has no objekt and no geometry, but contains XML-frame-stuff and is about 3000 byte in size.

This files can be ignored or responded by a warning "empty". But the error-Message is:

FAILURE:
Unable to open datasource `path/file.xml' with the following drivers.
... followed by a long list of drivers, growing with each release.

By checking the error-list it's a lot of lines to scroll because nearly each second file is empty.
Please make a short message for empty NAS-tiles.

Attachments

NBABenutzerLA_101013_16von130_484560000_5753705000.xml Download (3.1 KB) - added by frankjaeger 3 years ago.
NAS-XML-file with no Objekts, emty tile

Change History

Changed 3 years ago by frankjaeger

NAS-XML-file with no Objekts, emty tile

Changed 2 years ago by warmerdam

  • status changed from new to closed
  • resolution set to fixed
  • component changed from default to OGR_SF
  • milestone set to 1.9.0

In (r22088) I have modified the NAS driver to allow opening empty files without an error. Added testing too (r22089).

Note: See TracTickets for help on using tickets.