[mapserver-users] using gdalinfo.exe

Ken S. Elvehjem elvehjem at runestone.net
Tue Apr 8 17:21:07 EDT 2008


Hi,

I'm currently generating a query from my software to access a MrSid file that I have on my MapServer; here's the link:

http://206.183.188.202/cgi-bin/mapserv.exe?map=c:\ms4w\Apache\htdocs\SD\mccook-wms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=NAIP2006&STYLES=&SRS=EPSG:4269&BBOX=611300,4815500,613300,4817500&WIDTH=800&HEIGHT=800&FORMAT=image/jpeg

I'd like to be able to generate a URL that will get me the "gdalinfo" on that file...  Here's what doesn't work:

http://206.183.188.202/cgi-bin/gdalinfo.exe?c:\ms4w\Apache\htdocs\SD\mccook\mccook2006.sid

Could someone point out A.) if I'm barking up the wrong tree completetely, and if not, B.) what does that kind of query/URL need to look like?

Many Thanks,

Ken S. Elvehjem


MapFile: 

MAP
  NAME MCCOOK
  STATUS ON

  IMAGETYPE JPEG
  SIZE 600 600

  PROJECTION
   "init=epsg:26914"
  END
 
  UNITS METERS
#        [minx] [miny]  [maxx] [maxy] in meters
  EXTENT 610471 4810318 651740 4859698

  #---------------------------------------------------------
  WEB
 TEMPLATE "SD.html"
 IMAGEPATH "C:\ms4w\Apache\htdocs\tmp/"
 IMAGEURL "/tmp/"
 
   METADATA
     "wms_title"           "WMS McCOOK"
         "wms_onlineresource"  "http://206.183.188.202/cgi-bin/mapserv?"
       "wms_srs"             "EPSG:26914 EPSG:26914"
 END

 
  END

  #---------------------------------------------------------
  LAYER
    NAME NAIP2006
    TYPE RASTER
    STATUS DEFAULT
    DATA "mccook/mccook2006.sid"

 PROJECTION
           "init=epsg:4269"
 END

   METADATA
     "wms_title"           "WMS McCOOK"
         "wms_onlineresource"  "http://206.183.188.202/cgi-bin/mapserv?"
       "wms_srs"             "EPSG:4269 EPSG:4326"
 END

  END

END # Map File
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080408/4549f33a/attachment.html


More information about the mapserver-users mailing list