<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto">Hello devs,
<div dir="auto"><br /></div>
<div dir="auto">while the command line is working properly:</div>
<div dir="auto"><br /></div>
<div dir="auto"><font face="Fira Code, monospace" style="font-size: 13px;">ogrinfo -ro -al "ESRIJSON:<a href="https://services1.arcgis.com/0MSEUqKaxRlEPj5g/arcgis/rest/services/ncov_cases/FeatureServer/2/query?where=objectid+%3D+objectid&f=json&outFields=*"">https://services1.arcgis.com/0MSEUqKaxRlEPj5g/arcgis/rest/services/ncov_cases/FeatureServer/2/query?where=objectid+%3D+objectid&f=json&outFields=*</a>"</font><br /></div>
<div dir="auto"><br /></div>
<div dir="auto">this python script below unexpectedly fails:</div>
<div dir="auto"><br /></div>
<div dir="auto"><font face="Fira Code, monospace" style="font-size: 13px;">from osgeo import ogr</font></div>
<div dir="auto"><font face="Fira Code, monospace" style="font-size: 13px;">driver = ogr.GetDriverByName(‘ESRIJSON’)</font></div>
<div dir="auto"><font face="Fira Code, monospace" style="font-size: 13px;">ds = driver.Open('<a href="https://services1.arcgis.com/0MSEUqKaxRlEPj5g/arcgis/rest/services/ncov_cases/FeatureServer/2/query?where=objectid+%3D+objectid&f=json&outFields=*'">https://services1.arcgis.com/0MSEUqKaxRlEPj5g/arcgis/rest/services/ncov_cases/FeatureServer/2/query?where=objectid+%3D+objectid&f=json&outFields=*'</a>)<br /></font></div>
<div dir="auto"><font face="Fira Code, monospace" style="font-size: 13px;"><br /></font></div>
<div dir="auto"><font face="Fira Code, monospace" style="font-size: 13px;">ERROR 1: Invalid Feature object. Missing ‘geometry’ member.</font></div>
<div dir="auto"><font face="Fira Code, monospace" style="font-size: 13px;">ERROR 1: Invalid Feature object. Missing ‘geometry’ member.</font></div>
<div dir="auto"><font face="Fira Code, monospace" style="font-size: 13px;"><br /></font></div>
<div dir="auto"><font face=".AppleSystemUIFont">GDAL version is 3.0.4 and python 3.7.6</font></div>
<div dir="auto"><font face=".AppleSystemUIFont"><br /></font></div>
<div dir="auto"><font face=".AppleSystemUIFont">Do you have any hints?</font></div>
</div>
</div>
<div name="messageSignatureSection"><br />
<div class="matchFont">Thanks,<br />
Francesco</div>
</div>
</body>
</html>