Re: [gdal-dev] vsicurl and HTTP error 403

2020-04-09 Thread Ivan Lucena
copy and paste the gdalinfo report. Thanks man, you are the best. Take care, Ivan From: Even Rouault Sent: Wednesday, April 8, 2020 6:41 PM To: gdal-dev@lists.osgeo.org Cc: Ivan Lucena Subject: Re: [gdal-dev] vsicurl and HTTP error 403 Ivan, Experimental

Re: [gdal-dev] vsicurl and HTTP error 403

2020-04-08 Thread Even Rouault
Ivan, Experimentally, I find that this particular server doesn't like HTTP requests without a User-Agent and, more annoying, that it doesn't like Range requests used by /vsicurl/. But as this a gzip file, seeking into it would be a inefficient process. So the following, defining a user agent, a

[gdal-dev] vsicurl and HTTP error 403

2020-04-08 Thread Ivan Lucena
Hi, I am wondering if someone can help to point what I am doing wrong here. This is data that I am trying to access: $ gdalinfo /vsicurl/https://gimms.gsfc.nasa.gov/MODIS/std/GMOD09Q1/tif/NDVI/2019/249/GMOD09Q1.A2019249.08d.latlon.x33y07.6v1.NDVI.tif.gz ERROR 11: HTTP response code: 403 gdalinf