<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi Markus,<br/>
</div>
<div>I am not sure whether GMLAS is currently supported:</div>
<div>ogr2ogr -f GeoJSON SMALL.json GMLAS:SMALL.gml -oo REMOVE_UNUSED_LAYERS=YES -oo REMOVE_UNUSED_FIELDS=YES -sql "SELECT * FROM groundsurface"</div>
<div>throws </div>
<div>"FAILURE:<br/>
Unable to open datasource `GMLAS:SMALL.gml' with the following drivers.<br/>
-> `OGR_GRASS'<br/>
-> `PCIDSK'<br/>
-> `PDF'</div>
<div> [...]<br/>
"</div>
<div>-> with no mentioning of GMLAS as a driver option.</div>
<div> </div>
<div>Best,</div>
<div>Peter</div>
<div class="signature"> </div>
<div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div name="quoted-content">
<div>
<div>You need to rebuild GDAL accordingly, but</div>
<div> </div>
<div>> override for the import-driver:<br/>
> <br/>
> ogr2ogr -f GeoJSON SMALL.json GMLAS:SMALL.gml -oo REMOVE_UNUSED_LAYERS=YES -oo REMOVE_UNUSED_FIELDS=YES -sql "SELECT * FROM groundsurface"</div>
<div> </div>
<div>apparently GMLAS is supported. What is the exact error message for " GDAL2.3.1 in GRASS refuses to accept the "GMLAS:""?</div>
<div> </div>
<div>Markus M</div>
</div>
</div>
</div>
</div>
</div></div></body></html>