Re: [gdal-dev] gdal wms

2018-08-06 Thread Idan Miara
Thank you both for your answers! On Tue, 7 Aug 2018, 00:18 jratike80, wrote: > Idan Miara wrote > > How can I retrieve the raster size for a layer that I don't have a > backend > > raster to use with gdalinfo? The size doesn't appear in the > > GetCapabilities > > of the wms service. > > Hi, > >

Re: [gdal-dev] gdal wms

2018-08-06 Thread jratike80
Idan Miara wrote > How can I retrieve the raster size for a layer that I don't have a backend > raster to use with gdalinfo? The size doesn't appear in the > GetCapabilities > of the wms service. Hi, In WMS 1.3.0 it is possible, but not necassary, to include resx and resy in GetCapabities. If

[gdal-dev] Building GDAL with PROJ4 on Android

2018-08-06 Thread Chris Hanson
We have been struggling for months to get osgEarth ( http://osgearth.org/ ) working on Android using a PROJ4 equipped GDAL 2.x build. We have it working with a scratch-built GDAL, but it lacks the PROJ4 capabilities. GDAL reports lacking PROJ4 at runtime. The --with-static-proj option is said to b

Re: [gdal-dev] gdal wms

2018-08-06 Thread Ian Turton
You just specify the size of the image of the map that you would like, this is unrelated to the size of the original file. Ian On Mon, 6 Aug 2018 at 16:38, Idan Miara wrote: > Hi, > > I'm trying to use the gdal_wms driver. > One of the parameters that I need is the raster size (Width+Height). >

[gdal-dev] gdal wms

2018-08-06 Thread Idan Miara
Hi, I'm trying to use the gdal_wms driver. One of the parameters that I need is the raster size (Width+Height). I succeeded using the driver with a GeoTIF that I served via geoserver, so I could use gdalinfo to get that info. How can I retrieve the raster size for a layer that I don't have a bac