Changes between Initial Version and Version 6 of Ticket #249
- Timestamp:
- Apr 9, 2007, 10:11:39 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #249 – Description
initial v6 1 {{{ 2 The OGR/GML driver doesn't recognize files that contain 0 features. Everything 3 goes well until GMLReader::PrescanForSchema() gets called, it returns false 4 since it doesn't find any feature class. 1 The OGR/GML driver doesn't recognize files that contain 0 features. Everything goes well until GMLReader::PrescanForSchema() gets called, it returns false since it doesn't find any feature class. 5 2 6 I guess this makes sense for datasets in general, but when we use the GML driver 7 in the context of a WFS, receiving 0 features is a valid case. It would be nice 8 if OGR accepted to open GML file, and present it as a file with a single layer 9 with 0 features in it. 3 I guess this makes sense for datasets in general, but when we use the GML driver in the context of a WFS, receiving 0 features is a valid case. 10 4 11 What is an OGR driver expected to do if a file is empty? If nothing can be done 12 at the OGR level for this then I guess I'll have to preparse the GML file before 5 It would be nice if OGR accepted to open GML file, and present it as a file with a single layer with 0 features in it. 6 7 What is an OGR driver expected to do if a file is empty? If nothing can be done at the OGR level for this then I guess I'll have to preparse the GML file before . 8 13 9 I try to open it with OGR, which is a bit of a waste of resources. 14 10 15 11 Any ideas, suggestions? 16 }}}