[gdal-dev] gml: handle geometry of nested objects

Martin Landa landa.martin at gmail.com
Wed Jan 16 09:16:47 PST 2019


Hi,

it seems that GDAL skips geometry when reading nested objects. See [1].

ogrinfo -ro  ~/Downloads/example.gml -al

"""
GRFeature(CIZI_Bod):0
  gml_id (String) = CE-20190114-74D6E69478BD4640AAD0D0E780F28A0C
  OGC_ANGLE (Real) = 0.026859
  OGC_ANGLE_uom (String) = radian
  typ (String) = A
  popis (String) = desc.
  stav (String) = new
  CIZI_BodText|OGC_ANGLE (RealList) = (2:0,0)
  CIZI_BodText|OGC_ANGLE_uom (StringList) = (2:radian,radian)
  OGC_TEXTJUST (StringList) = (2:LB,LB)
  OGC_TEXT (StringList) = (2:TEXT1,TEXT2)
  POINT (-552916.08 -1200482.7)
"""

Two geometries are missing:

"""
            <gml:pos srsDimension="2">-552916.130000 -1200482.680000</gml:pos>
            <gml:pos srsDimension="2">-552916.080000 -1200482.700000</gml:pos>
"""

Thanks in advance for any pointers. Ma

[1] http://geo102.fsv.cvut.cz/~landa/tmp/example.gml

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the gdal-dev mailing list