[gdal-dev] Failure to fetch covid-19 data from JHU ArcGIS instance
Francesco Bartoli
xbartolone at gmail.com
Tue Apr 7 02:19:56 PDT 2020
Hello devs,
while the command line is working properly:
ogrinfo -ro -al "ESRIJSON:https://services1.arcgis.com/0MSEUqKaxRlEPj5g/arcgis/rest/services/ncov_cases/FeatureServer/2/query?where=objectid+%3D+objectid&f=json&outFields=*"
this python script below unexpectedly fails:
from osgeo import ogr
driver = ogr.GetDriverByName(‘ESRIJSON’)
ds = driver.Open('https://services1.arcgis.com/0MSEUqKaxRlEPj5g/arcgis/rest/services/ncov_cases/FeatureServer/2/query?where=objectid+%3D+objectid&f=json&outFields=*')
ERROR 1: Invalid Feature object. Missing ‘geometry’ member.
ERROR 1: Invalid Feature object. Missing ‘geometry’ member.
GDAL version is 3.0.4 and python 3.7.6
Do you have any hints?
Thanks,
Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200407/8854c058/attachment.html>
More information about the gdal-dev
mailing list