From 54e3273cb47a552d04cfe22b4ffc791db49b474e Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 17 Apr 2018 14:20:21 +0200 Subject: [PATCH] GMLAS: Recognize gml:Envelope as a Polygon geometry (refs https://github.com/BRGM/gml_application_schema_toolbox/issues/56#issuecomment-381967784) --- gdal/ogr/ogrsf_frmts/gmlas/ogrgmlasschemaanalyzer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gdal/ogr/ogrsf_frmts/gmlas/ogrgmlasschemaanalyzer.cpp b/gdal/ogr/ogrsf_frmts/gmlas/ogrgmlasschemaanalyzer.cpp index d70f6dd2650c..dc79f6add6a6 100644 --- a/gdal/ogr/ogrsf_frmts/gmlas/ogrgmlasschemaanalyzer.cpp +++ b/gdal/ogr/ogrsf_frmts/gmlas/ogrgmlasschemaanalyzer.cpp @@ -1641,6 +1641,7 @@ static OGRwkbGeometryType GetOGRGeometryTypeFromGMLEltName( } asArray[] = { { "Point", wkbPoint }, { "Polygon", wkbPolygon }, + { "Envelope", wkbPolygon }, { "LineString", wkbLineString }, { "MultiPoint", wkbMultiPoint }, { "MultiPolygon", wkbMultiPolygon },