<div dir="ltr">Hi everyone,<div><br></div><div>I'm using the GMLAS driver in connection with the OGCs pilot project on maritime limits and boundaries. The first part of the project is the creation of an application schema and we're using the IHO S-100 profile of GML. What I've noticed is that the GMLAS driver won't recognise geometry columns unless they're in the GML namespace. Because we're using a profile of gml I want to use s100:PontPropertyType (which is essentially the same as gml:PointPropertyType but oginfo and the gdal tools (including QGIS and the GMLAS plugin) won't identify the element as geometry.</div><div><br></div><div>snippet from the gmlas driver is below which makes it clear that you must have a gml namespace for an element to be identified as geometry. I've built a version of GDAL2.4.2 which takes out the namespace constraint and that seems to do what I wanrt (i.e s100:PointPropertyType elements are identified as ogr geometry types).</div><div><br></div><div>so.... question - has this come up before? Is there a configuration way round it? Is it a bug or should we think again in the IHO about how our GML profile works??? Grateful for any advice...</div><div><br></div><div>cheers,</div><div><br></div><div>Jonathan</div><div>OGC Marine Domain Working Group co-chair</div><div><br></div><div>            else if( IsGMLNamespace(transcode(poTypeDef->getNamespace())) &&<br>                   (eGeomType = GetOGRGeometryType(poTypeDef)) != wkbNone )<br>            {<br>                GMLASField oField;<br>                oField.SetName( osPrefixedEltName );<br>                oField.SetMinOccurs( nMinOccurs );<br>                oField.SetMaxOccurs( nMaxOccurs );<br>                oField.SetType( GMLAS_FT_GEOMETRY, szFAKEXS_GEOMETRY );<br>                if( nMaxOccurs > 1 || nMaxOccurs == MAXOCCURS_UNLIMITED )<br>                {<br>                    // Repeated geometry property can happen in some schemas<br>                    // like <a href="http://inspire.ec.europa.eu/schemas/ge_gp/4.0/GeophysicsCore.xsd">inspire.ec.europa.eu/schemas/ge_gp/4.0/GeophysicsCore.xsd</a><br>                    // or <a href="http://ngwd-bdnes.cits.nrcan.gc.ca/service/gwml/schemas/2.1/gwml2-flow.xsd">http://ngwd-bdnes.cits.nrcan.gc.ca/service/gwml/schemas/2.1/gwml2-flow.xsd</a><br>                    oField.SetGeomType( wkbUnknown );<br>                    oField.SetArray( true );<br>                }<br>                else<br>                    oField.SetGeomType( eGeomType );<br>                oField.SetXPath( osElementXPath );<br>                oField.SetDocumentation( GetAnnotationDoc( poElt ) );<br><br>                oClass.AddField( oField );<br>            }<br></div></div>