Opened 7 years ago

Closed 7 years ago

#3809 closed enhancement (fixed)

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 (1)

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

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by frankjaeger

NAS-XML-file with no Objekts, emty tile

comment:1 Changed 7 years ago by warmerdam

Component: defaultOGR_SF
Milestone: 1.9.0
Resolution: fixed
Status: newclosed

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.