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

[gdal-dev] gdal2tiles.py generating tiles not the same way WMS Leaflet does

2020-04-08 Thread Eduardo Kanegae
hi there, I'm running MapServer 7.0.6 on CentOS 6.10 and GDAL 2.2.1 *https://drive.google.com/drive/folders/1PumcXf4wNcwpV_XmvjVuH5IZrgfMiNxl - reference images I've created a MapServer WMS service which deploys (EPSG:3857) fine when using Leaflet 1.6.0 WMS layer using tiled option *image 01-wm

Re: [gdal-dev] How to get a file list from a Sentinel zip?

2020-04-08 Thread Ivan Lucena
Hi Jukka, I hit "Send" before knowing that Even had replied you. Ivan From: Rahkonen Jukka (MML) Sent: Wednesday, April 8, 2020 12:52 PM To: Ivan Lucena ; 'gdal-dev@lists.osgeo.org' Subject: Re: How to get a file list from a Sentinel zip? Ivan Lucena wro

Re: [gdal-dev] How to get a file list from a Sentinel zip?

2020-04-08 Thread Rahkonen Jukka (MML)
Ivan Lucena wrote: > Jukka, >> gdalinfo S2A_MSIL2A_20200403T092021_N0214_R093_T34TFS_20200403T114409.zip >> >> ...if I rename the zip file into "test.zip" I can get the file list. >> gdalinfo /vsizip/test.zip >You did more than renaming the file, you also added /vsizip/ but it might be a >t

Re: [gdal-dev] How to get a file list from a Sentinel zip?

2020-04-08 Thread Ivan Lucena
Jukka, > gdalinfo S2A_MSIL2A_20200403T092021_N0214_R093_T34TFS_20200403T114409.zip > ...if I rename the zip file into “test.zip” I can get the file list. > gdalinfo /vsizip/test.zip You did more than renaming the file, you also added /vsizip/ but it might be a typo while editing the e-mail. W

Re: [gdal-dev] How to get a file list from a Sentinel zip?

2020-04-08 Thread Even Rouault
Jukka, > ogrinfo /vsizip/test.zip > FAILURE: > Unable to open datasource `/vsizip/test.zip' with the following drivers. > > Is this worth making a feature request or is there some good reason why > ogrinfo cannot read the file list from zip while gdalinfo can? That /vsizip/ reports the file list

[gdal-dev] How to get a file list from a Sentinel zip?

2020-04-08 Thread Rahkonen Jukka (MML)
Hi, I am investigating this dataset https://scihub.copernicus.eu/dhus/odata/v1/Products('456d05ea-835f-4e6c-b957-751c155252a1')/%24value download with test/test (890 MB) There seems to be some automagic logic that recognizes that the zip is a Sentinel zip gdalinfo S2A_MSIL2A_20200403T092021_N0