Changes between Initial Version and Version 1 of Ticket #5205


Ignore:
Timestamp:
Aug 19, 2013, 10:35:09 AM (11 years ago)
Author:
tpikonen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5205 – Description

    initial v1  
    11Trying to read an MTK GML file which does not have any actual data, just container tags with python-ogr results in a NoneType object:
    22
     3{{{
    34from osgeo import ogr
    45ff = ogr.Open('/tmp/K23441.xml')
    56type(ff)
    67-> NoneType
     8}}}
    79
    810The file in question is part of the official Finnish land survey database and can be downloaded e.g. here: http://kartat.kapsi.fi/files/maastotietokanta/kaikki/etrs89/gml/K2/K23/K23441_mtk.zip