<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:Corbel;
        panose-1:2 11 5 3 2 2 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New","serif";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Thanks Jim, <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I’m using GDAL 1.7.0 from FWTools and pasting your URL still gives an error.  I’ll upgrade and see if that helps.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><b><span style="color:#1F497D">Jim Dickerson<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D">MNGeo<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D">651-201-2484<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> Jim Klassen [mailto:klassen.js@gmail.com]
<br>
<b>Sent:</b> Thursday, February 27, 2014 5:39 PM<br>
<b>To:</b> Dickerson, Jim (MNIT); Tcmug@lists.osgeo.org<br>
<b>Subject:</b> Re: [TCMUG] Using GDAL to make WMS footprints<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Ok, scratch that.  I had remembered that server was particularly strict w.r.t case, but the command is working as is for me:<br>
<br>
$ gdalinfo --version<br>
GDAL 1.9.0, released 2011/12/29<br>
<br>
$ gdalinfo "WMS:<a href="http://geoint.lmic.state.mn.us/cgi-bin/wms?request=GetMap&version=1.1.1&layers=metro&TRANSPARENT=TRUE&SRS=EPSG:26915&BBOX=475400,4969100,518800,4991000&width=1200&height=800d&format=image/jpeg">http://geoint.lmic.state.mn.us/cgi-bin/wms?request=GetMap&version=1.1.1&layers=metro&TRANSPARENT=TRUE&SRS=EPSG:26915&BBOX=475400,4969100,518800,4991000&width=1200&height=800d&format=image/jpeg</a>"<br>
Driver: WMS/OGC Web Map Service<br>
Files: none associated<br>
Size is 1073741824, 541065216<br>
Coordinate System is:<br>
PROJCS["NAD83 / UTM zone 15N",<br>
    GEOGCS["NAD83",<br>
        DATUM["North_American_Datum_1983",<br>
            SPHEROID["GRS 1980",6378137,298.257222101,<br>
                AUTHORITY["EPSG","7019"]],<br>
            TOWGS84[0,0,0,0,0,0,0],<br>
            AUTHORITY["EPSG","6269"]],<br>
        PRIMEM["Greenwich",0,<br>
            AUTHORITY["EPSG","8901"]],<br>
        UNIT["degree",0.0174532925199433,<br>
            AUTHORITY["EPSG","9122"]],<br>
        AUTHORITY["EPSG","4269"]],<br>
    PROJECTION["Transverse_Mercator"],<br>
    PARAMETER["latitude_of_origin",0],<br>
    PARAMETER["central_meridian",-93],<br>
    PARAMETER["scale_factor",0.9996],<br>
    PARAMETER["false_easting",500000],<br>
    PARAMETER["false_northing",0],<br>
    UNIT["metre",1,<br>
        AUTHORITY["EPSG","9001"]],<br>
    AXIS["Easting",EAST],<br>
    AXIS["Northing",NORTH],<br>
    AUTHORITY["EPSG","26915"]]<br>
Origin = (475400.000000000000000,4991000.000000000000000)<br>
Pixel Size = (0.000040419399738,-0.000040475712266)<br>
Image Structure Metadata:<br>
  INTERLEAVE=PIXEL<br>
Corner Coordinates:<br>
Upper Left  (  475400.000, 4991000.000) ( 93d18'45.05"W, 45d 4'19.32"N)<br>
Lower Left  (  475400.000, 4969100.000) ( 93d18'41.20"W, 44d52'29.62"N)<br>
Upper Right (  518800.000, 4991000.000) ( 92d45'40.20"W, 45d 4'19.96"N)<br>
Lower Right (  518800.000, 4969100.000) ( 92d45'43.14"W, 44d52'30.25"N)<br>
Center      (  497100.000, 4980050.000) ( 93d 2'12.40"W, 44d58'25.99"N)<br>
Band 1 Block=1024x1024 Type=Byte, ColorInterp=Red<br>
  Overviews: 536870912x270532608, 268435456x135266304, 134217728x67633152, 67108864x33816576, 33554432x16908288, 16777216x8454144, 8388608x4227072, 4194304x2113536, 2097152x1056768, 1048576x528384, 524288x264192, 262144x132096, 131072x66048, 65536x33024, 32768x16512,
 16384x8256, 8192x4128, 4096x2064, 2048x1032, 1024x516<br>
  Mask Flags: PER_DATASET ALPHA <br>
  Overviews of mask band: 536870912x270532608, 268435456x135266304, 134217728x67633152, 67108864x33816576, 33554432x16908288, 16777216x8454144, 8388608x4227072, 4194304x2113536, 2097152x1056768, 1048576x528384, 524288x264192, 262144x132096, 131072x66048, 65536x33024,
 32768x16512, 16384x8256, 8192x4128, 4096x2064, 2048x1032, 1024x516<br>
Band 2 Block=1024x1024 Type=Byte, ColorInterp=Green<br>
  Overviews: 536870912x270532608, 268435456x135266304, 134217728x67633152, 67108864x33816576, 33554432x16908288, 16777216x8454144, 8388608x4227072, 4194304x2113536, 2097152x1056768, 1048576x528384, 524288x264192, 262144x132096, 131072x66048, 65536x33024, 32768x16512,
 16384x8256, 8192x4128, 4096x2064, 2048x1032, 1024x516<br>
  Mask Flags: PER_DATASET ALPHA <br>
  Overviews of mask band: 536870912x270532608, 268435456x135266304, 134217728x67633152, 67108864x33816576, 33554432x16908288, 16777216x8454144, 8388608x4227072, 4194304x2113536, 2097152x1056768, 1048576x528384, 524288x264192, 262144x132096, 131072x66048, 65536x33024,
 32768x16512, 16384x8256, 8192x4128, 4096x2064, 2048x1032, 1024x516<br>
Band 3 Block=1024x1024 Type=Byte, ColorInterp=Blue<br>
  Overviews: 536870912x270532608, 268435456x135266304, 134217728x67633152, 67108864x33816576, 33554432x16908288, 16777216x8454144, 8388608x4227072, 4194304x2113536, 2097152x1056768, 1048576x528384, 524288x264192, 262144x132096, 131072x66048, 65536x33024, 32768x16512,
 16384x8256, 8192x4128, 4096x2064, 2048x1032, 1024x516<br>
  Mask Flags: PER_DATASET ALPHA <br>
  Overviews of mask band: 536870912x270532608, 268435456x135266304, 134217728x67633152, 67108864x33816576, 33554432x16908288, 16777216x8454144, 8388608x4227072, 4194304x2113536, 2097152x1056768, 1048576x528384, 524288x264192, 262144x132096, 131072x66048, 65536x33024,
 32768x16512, 16384x8256, 8192x4128, 4096x2064, 2048x1032, 1024x516<br>
Band 4 Block=1024x1024 Type=Byte, ColorInterp=Alpha<br>
  Overviews: 536870912x270532608, 268435456x135266304, 134217728x67633152, 67108864x33816576, 33554432x16908288, 16777216x8454144, 8388608x4227072, 4194304x2113536, 2097152x1056768, 1048576x528384, 524288x264192, 262144x132096, 131072x66048, 65536x33024, 32768x16512,
 16384x8256, 8192x4128, 4096x2064, 2048x1032, 1024x516<br>
<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal">On 02/27/2014 04:59 PM, Dickerson, Jim (MNIT) wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">I don’t have much experience with GDAL but I found a forum message that shows how to use it to make geotiffs from WMS calls.  Here’s the link:<o:p></o:p></p>
<p class="MsoNormal"><a href="http://lists.osgeo.org/pipermail/gdal-dev/2013-April/035951.html">http://lists.osgeo.org/pipermail/gdal-dev/2013-April/035951.html</a>  .  I want to use this to make footprint files of the WMS images.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I tried the suggested approach and got errors.  Here’s my command line:<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New","serif"">gdalinfo "WMS:<a href="http://geoint.lmic.state.mn.us/cgi-bin/wms?request=GetMap&version=1.1.1&layers=metro&TRANSPARENT=TRUE&SRS=EPSG:26915&BBOX=475400,4969100,518800,4991000&width=1200&height=800d&format=image/jpeg">http://geoint.lmic.state.mn.us/cgi-bin/wms?request=GetMap&version=1.1.1&layers=metro&TRANSPARENT=TRUE&SRS=EPSG:26915&BBOX=475400,4969100,518800,4991000&width=1200&height=800d&format=image/jpeg</a>"</span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">The error is:<o:p></o:p></p>
<p class="MsoNormal">ERROR 4: `'WMS:<a href="http://geoint.lmic.state.mn.us/cgi-bin/wms?request=GetMap">http://geoint.lmic.state.mn.us/cgi-bin/wms?request=GetMap</a>' does not exist in the file system,<o:p></o:p></p>
<p class="MsoNormal">and is not recognised as a supported dataset name.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Can anyone suggest why this doesn’t work?  <o:p></o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Jim<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="562" style="width:421.75pt;margin-left:10.25pt;border-collapse:collapse">
<thead>
<tr style="height:.2in">
<td width="562" colspan="2" valign="top" style="width:421.75pt;border:solid #9DB4D2 1.0pt;padding:2.9pt 5.75pt 2.9pt 5.75pt;height:.2in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;text-transform:uppercase;letter-spacing:.2pt">Jim Dickerson 
</span></b><b><span style="font-size:10.0pt;color:#990033;text-transform:uppercase;letter-spacing:.2pt">|
</span></b><span style="font-size:10.0pt;text-transform:uppercase"> Minnesota geospatial information office 
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;text-transform:uppercase;letter-spacing:1.0pt">GIS services coordinator</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;text-transform:uppercase;letter-spacing:1.0pt">MN.IT Services,</span><span style="font-size:10.0pt;color:#990033;text-transform:uppercase;letter-spacing:1.0pt">
</span><span style="font-size:10.0pt;text-transform:uppercase;letter-spacing:1.0pt">Central</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-top:1.0pt;line-height:110%"><span style="font-size:10.0pt;line-height:110%">651-201-2484 (w) 
<b>| </b>  612-555-1090 (f) <b>|</b>  <a href="mailto:Jim.Dickerson@state.mn.us">
Jim.Dickerson@state.mn.us</a></span><o:p></o:p></p>
</td>
</tr>
</thead>
<tbody>
<tr style="height:1.1pt">
<td width="133" valign="bottom" style="width:99.95pt;border-top:none;border-left:solid #9DB4D2 1.0pt;border-bottom:none;border-right:solid #9DB4D2 1.0pt;padding:0in 0in 0in 0in;height:1.1pt">
<p class="MsoNormal"><a href="http://www.mn.gov/oet"><i><span style="font-size:8.0pt;font-family:"Corbel","sans-serif";color:#5C83B4;letter-spacing:1.0pt;text-decoration:none"><img border="0" width="117" height="42" id="Picture_x0020_5" src="cid:image001.jpg@01CF33E4.05CE9B20"></span></i></a><o:p></o:p></p>
</td>
<td width="429" valign="bottom" style="width:321.8pt;border:none;border-right:solid #9DB4D2 1.0pt;padding:0in 0in 0in 0in;height:1.1pt">
<p class="MsoNormal"><span style="font-size:8.0pt">Information Technology for Minnesota Government 
</span><span style="font-size:7.0pt"> <b>|</b>  </span><span style="font-size:8.0pt;letter-spacing:1.0pt"> </span><a href="http://www.mn.gov/oet"><span style="font-size:8.0pt">mn.gov/mnit</span></a><o:p></o:p></p>
</td>
</tr>
<tr style="height:1.1pt">
<td width="133" valign="bottom" style="width:99.95pt;border:solid #9DB4D2 1.0pt;border-top:none;padding:0in 0in 0in 0in;height:1.1pt">
<p class="MsoNormal"><i><span style="font-size:8.0pt;font-family:"Corbel","sans-serif";color:#5C83B4;letter-spacing:1.0pt"> </span></i><o:p></o:p></p>
</td>
<td width="429" valign="bottom" style="width:321.8pt;border-top:none;border-left:none;border-bottom:solid #9DB4D2 1.0pt;border-right:solid #9DB4D2 1.0pt;padding:0in 0in 0in 0in;height:1.1pt">
<p class="MsoNormal"><span style="font-size:8.0pt"> </span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><br>
<br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Tcmug mailing list<o:p></o:p></pre>
<pre><a href="mailto:Tcmug@lists.osgeo.org">Tcmug@lists.osgeo.org</a><o:p></o:p></pre>
<pre><a href="http://lists.osgeo.org/mailman/listinfo/tcmug">http://lists.osgeo.org/mailman/listinfo/tcmug</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p>
</div>
</body>
</html>