[gdal-dev] GDAL WorldWind Mini-Drive problem under Windows 2008 R2 on VM

EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE james.evans.4 at us.af.mil
Mon May 11 15:47:43 PDT 2015


I did try gdal_translate and it does fail.  Here's what happens at the command prompt:

C:\MapData>gdal_translate -of JPEG -outsize 512 512 land-sea.xml test.jpg
Input file size is 20480, 10240
0ERROR 1: GDALWMS: Unable to download block 0, 0.
  URL: http://localhost/mapserver/content/tile.php?T=Land-Sea&L=0&X=0&Y=4
  HTTP status code: 200, error: (null).
ERROR 1: land-sea.xml, band 1: IReadBlock failed at X offset 0, Y offset 0

GDALINFO works just fine.  I did try running the command prompt as an administrator, with no luck.  I'm not sure how to solve this.  I would think it is a permissions problem, but maybe a missing environment variable or something?  At least I do have a working system at home to help troubleshoot this.  Any help would be appreciated.
Thanks,
James


-----Original Message-----
From: gdal-dev-bounces at lists.osgeo.org [mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE
Sent: Monday, May 11, 2015 12:29 PM
To: gdal-dev at lists.osgeo.org
Subject: [gdal-dev] GDAL WorldWind Mini-Drive problem under Windows 2008 R2 on VM

Hi,
I was running Mapserver under Windows 7, using the gdal worldwind minidriver to serve up imagery from various tile sets.  I'm trying to migrate to Server 2008 R2.  I don't seem to be able to get the mini driver to work and it looks like a permissions issue.  Any suggestions on how to troubleshoot this would be greatly appreciated.  Here is a log entry from Mapserver showing the failure.  I have given "Everyone" and "DefaultAppPool" Full Control over the C:\Mapdata directory.  
Thanks,
James

Here's what happens in the Mapserver Log:
[Mon May 11 10:36:44 2015].62000 msDrawRasterLayerLow(WAC_2014): entering.
[Mon May 11 10:36:44 2015].62000 msDrawRasterLayerLow(WAC_2014): Filename is: c:\MapData\WAC_2014.xml [Mon May 11 10:36:44 2015].62000 msDrawRasterLayerLow(WAC_2014): Path is: c:\MapData\WAC_2014.xml [Mon May 11 10:36:44 2015].62000 msResampleGDALToMap in effect: cellsize = 0.002197 [Mon May 11 10:36:44 2015].62000 msDrawGDAL(WAC_2014): using RAW_WINDOW=114687 29695 1026 1026, dst=0,0,1026,1026 [Mon May 11 10:36:44 2015].62000 msDrawRasterLayerGDAL(): red,green,blue,alpha bands = 1,2,3,0 [Mon May 11 10:36:44 2015].78000 drawGDAL(): Unable to access file. GDALDatasetRasterIO() failed: GetBlockRef failed at X block offset 223, Y block offset 57 [Mon May 11 10:36:44 2015].78000 msDrawMap(): Image handling error. Failed to draw layer named 'WAC_2014'.
[Mon May 11 10:36:44 2015].78000 freeLayer(): freeing layer at 000000000043D5C0.
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list