<font face="courier new,monospace">Hello,<br>I am trying to use WMS to obtain some elevation data from the USGS seamless server.  I use the following syntax:<br><br></font><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">

<font face="courier new,monospace">gdalinfo &quot;WMS:<a href="http://imselev.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED?REQUEST=GetMap&amp;VERSION=1.1.0&amp;LAYERS=NED.CONUS_NED&amp;SRS=EPSG:4326&amp;FORMAT=image/tiff&amp;BBOX=-113.0,44.5,-112.75,44.75&amp;WIDTH=600&amp;HEIGHT=600">http://imselev.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED?REQUEST=GetMap&amp;VERSION=1.1.0&amp;LAYERS=NED.CONUS_NED&amp;SRS=EPSG:4326&amp;FORMAT=image/tiff&amp;BBOX=-113.0,44.5,-112.75,44.75&amp;WIDTH=600&amp;HEIGHT=600</a>&quot;</font><br>

</blockquote><font face="courier new,monospace"><br>The output is:<br><br></font><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"><font face="courier new,monospace">WMS: Opening WMS :</font><br>

<font face="courier new,monospace">&lt;GDAL_WMS&gt;</font><br><font face="courier new,monospace">  &lt;Service name=&quot;WMS&quot;&gt;</font><br><font face="courier new,monospace">    &lt;Version&gt;1.1.0&lt;/Version&gt;</font><br>

<font face="courier new,monospace">    &lt;ServerUrl&gt;<a href="http://imselev.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED">http://imselev.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED</a>?&lt;/ServerUrl&gt;</font><br>

<font face="courier new,monospace">    &lt;Layers&gt;NED%2ECONUS_NED&lt;/Layers&gt;</font><br><font face="courier new,monospace">    &lt;SRS&gt;EPSG:4326&lt;/SRS&gt;</font><br><font face="courier new,monospace">    &lt;ImageFormat&gt;image/tiff&lt;/ImageFormat&gt;</font><br>

<font face="courier new,monospace">    &lt;Transparent&gt;FALSE&lt;/Transparent&gt;</font><br><font face="courier new,monospace">  &lt;/Service&gt;</font><br><font face="courier new,monospace">  &lt;DataWindow&gt;</font><br>

<font face="courier new,monospace">    &lt;UpperLeftX&gt;-113.0&lt;/UpperLeftX&gt;</font><br><font face="courier new,monospace">    &lt;UpperLeftY&gt;44.75&lt;/UpperLeftY&gt;</font><br><font face="courier new,monospace">    &lt;LowerRightX&gt;-112.75&lt;/LowerRightX&gt;</font><br>

<font face="courier new,monospace">    &lt;LowerRightY&gt;44.5&lt;/LowerRightY&gt;</font><br><font face="courier new,monospace">    &lt;SizeX&gt;1073741824&lt;/SizeX&gt;</font><br><font face="courier new,monospace">    &lt;SizeY&gt;1073741824&lt;/SizeY&gt;</font><br>

<font face="courier new,monospace">  &lt;/DataWindow&gt;</font><br><font face="courier new,monospace">  &lt;BandsCount&gt;3&lt;/BandsCount&gt;</font><br><font face="courier new,monospace">  &lt;BlockSizeX&gt;1024&lt;/BlockSizeX&gt;</font><br>

<font face="courier new,monospace">  &lt;BlockSizeY&gt;1024&lt;/BlockSizeY&gt;</font><br><font face="courier new,monospace">  &lt;OverviewCount&gt;20&lt;/OverviewCount&gt;</font><br><font face="courier new,monospace">&lt;/GDAL_WMS&gt;</font><br>

<br><font face="courier new,monospace">GDAL: GDALOpen(WMS:<a href="http://imselev.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED?REQUEST=GetMap&amp;VERSION=1.1.0&amp;LAYERS=NED.CONUS_NED&amp;SRS=EPSG:4326&amp;FORMAT=image/tiff&amp;BBOX=-113.0,44.5,-112.75,44.75&amp;WIDTH=600&amp;HEIGHT=600">http://imselev.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED?REQUEST=GetMap&amp;VERSION=1.1.0&amp;LAYERS=NED.CONUS_NED&amp;SRS=EPSG:4326&amp;FORMAT=image/tiff&amp;BBOX=-113.0,44.5,-112.75,44.75&amp;WIDTH=600&amp;HEIGHT=600</a>, this=0xf9f7e0) succeeds as WMS.</font><br>

<font face="courier new,monospace">Driver: WMS/OGC Web Map Service</font><br><font face="courier new,monospace">Files: none associated</font><br><font face="courier new,monospace">Size is 1073741824, 1073741824</font><br>

<font face="courier new,monospace">Coordinate System is:</font><br><font face="courier new,monospace">GEOGCS[&quot;WGS 84&quot;,</font><br><font face="courier new,monospace">    DATUM[&quot;WGS_1984&quot;,</font><br><font face="courier new,monospace">        SPHEROID[&quot;WGS 84&quot;,6378137,298.257223563,</font><br>

<font face="courier new,monospace">            AUTHORITY[&quot;EPSG&quot;,&quot;7030&quot;]],</font><br><font face="courier new,monospace">        AUTHORITY[&quot;EPSG&quot;,&quot;6326&quot;]],</font><br><font face="courier new,monospace">    PRIMEM[&quot;Greenwich&quot;,0,</font><br>

<font face="courier new,monospace">        AUTHORITY[&quot;EPSG&quot;,&quot;8901&quot;]],</font><br><font face="courier new,monospace">    UNIT[&quot;degree&quot;,0.0174532925199433,</font><br><font face="courier new,monospace">        AUTHORITY[&quot;EPSG&quot;,&quot;9122&quot;]],</font><br>

<font face="courier new,monospace">    AUTHORITY[&quot;EPSG&quot;,&quot;4326&quot;]]</font><br><font face="courier new,monospace">Origin = (-113.000000000000000,44.750000000000000)</font><br><font face="courier new,monospace">Pixel Size = (0.000000000232831,-0.000000000232831)</font><br>

<font face="courier new,monospace">Image Structure Metadata:</font><br><font face="courier new,monospace">  INTERLEAVE=PIXEL</font><br><font face="courier new,monospace">OGRCT: Source: +proj=longlat +datum=WGS84 +no_defs </font><br>

<font face="courier new,monospace">OGRCT: Target: +proj=longlat +datum=WGS84 +no_defs </font><br><font face="courier new,monospace">Corner Coordinates:</font><br><font face="courier new,monospace">Upper Left  (-113.0000000,  44.7500000) (113d 0&#39; 0.00&quot;W, 44d45&#39; 0.00&quot;N)</font><br>

<font face="courier new,monospace">Lower Left  (-113.0000000,  44.5000000) (113d 0&#39; 0.00&quot;W, 44d30&#39; 0.00&quot;N)</font><br><font face="courier new,monospace">Upper Right (-112.7500000,  44.7500000) (112d45&#39; 0.00&quot;W, 44d45&#39; 0.00&quot;N)</font><br>

<font face="courier new,monospace">Lower Right (-112.7500000,  44.5000000) (112d45&#39; 0.00&quot;W, 44d30&#39; 0.00&quot;N)</font><br><font face="courier new,monospace">Center      (-112.8750000,  44.6250000) (112d52&#39;30.00&quot;W, 44d37&#39;30.00&quot;N)</font><br>

<font face="courier new,monospace">Band 1 Block=1024x1024 Type=Byte, ColorInterp=Red</font><br><font face="courier new,monospace">  Overviews: 536870912x536870912, 268435456x268435456, 134217728x134217728, 67108864x67108864, 33554432x33554432, 16777216x16777216, 8388608x8388608, 4194304x4194304, 2097152x2097152, 1048576x1048576, 524288x524288, 262144x262144, 131072x131072, 65536x65536, 32768x32768, 16384x16384, 8192x8192, 4096x4096, 2048x2048, 1024x1024</font><br>

<font face="courier new,monospace">Band 2 Block=1024x1024 Type=Byte, ColorInterp=Green</font><br><font face="courier new,monospace">  Overviews: 536870912x536870912, 268435456x268435456, 134217728x134217728, 67108864x67108864, 33554432x33554432, 16777216x16777216, 8388608x8388608, 4194304x4194304, 2097152x2097152, 1048576x1048576, 524288x524288, 262144x262144, 131072x131072, 65536x65536, 32768x32768, 16384x16384, 8192x8192, 4096x4096, 2048x2048, 1024x1024</font><br>

<font face="courier new,monospace">Band 3 Block=1024x1024 Type=Byte, ColorInterp=Blue</font><br><font face="courier new,monospace">  Overviews: 536870912x536870912, 268435456x268435456, 134217728x134217728, 67108864x67108864, 33554432x33554432, 16777216x16777216, 8388608x8388608, 4194304x4194304, 2097152x2097152, 1048576x1048576, 524288x524288, 262144x262144, 131072x131072, 65536x65536, 32768x32768, 16384x16384, 8192x8192, 4096x4096, 2048x2048, 1024x1024</font><br>

<font face="courier new,monospace">GDAL: GDALClose(WMS:<a href="http://imselev.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED?REQUEST=GetMap&amp;VERSION=1.1.0&amp;LAYERS=NED.CONUS_NED&amp;SRS=EPSG:4326&amp;FORMAT=image/tiff&amp;BBOX=-113.0,44.5,-112.75,44.75&amp;WIDTH=600&amp;HEIGHT=600">http://imselev.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED?REQUEST=GetMap&amp;VERSION=1.1.0&amp;LAYERS=NED.CONUS_NED&amp;SRS=EPSG:4326&amp;FORMAT=image/tiff&amp;BBOX=-113.0,44.5,-112.75,44.75&amp;WIDTH=600&amp;HEIGHT=600</a>, this=0xf9f7e0)</font><br>

<font face="courier new,monospace">GDAL: In GDALDestroy - unloading GDAL shared library.</font><br clear="all"></blockquote><br><font face="courier new,monospace">Fair warning/apology, this is the first time I have used WMS.  But I would think that my image would be 600x600 as specified in the request, and have a much larger pixel resolution.  Am I doing something wrong?  Thanks.<br>

<br>kss<br></font><br>/**<br> *<br> * Kyle Shannon<br> * <a href="mailto:ksshannon@gmail.com" target="_blank">ksshannon@gmail.com</a><br> *<br> */<br><br><br>