<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 "WMS:<a href="http://imselev.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED?REQUEST=GetMap&VERSION=1.1.0&LAYERS=NED.CONUS_NED&SRS=EPSG:4326&FORMAT=image/tiff&BBOX=-113.0,44.5,-112.75,44.75&WIDTH=600&HEIGHT=600">http://imselev.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED?REQUEST=GetMap&VERSION=1.1.0&LAYERS=NED.CONUS_NED&SRS=EPSG:4326&FORMAT=image/tiff&BBOX=-113.0,44.5,-112.75,44.75&WIDTH=600&HEIGHT=600</a>"</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"><GDAL_WMS></font><br><font face="courier new,monospace"> <Service name="WMS"></font><br><font face="courier new,monospace"> <Version>1.1.0</Version></font><br>
<font face="courier new,monospace"> <ServerUrl><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>?</ServerUrl></font><br>
<font face="courier new,monospace"> <Layers>NED%2ECONUS_NED</Layers></font><br><font face="courier new,monospace"> <SRS>EPSG:4326</SRS></font><br><font face="courier new,monospace"> <ImageFormat>image/tiff</ImageFormat></font><br>
<font face="courier new,monospace"> <Transparent>FALSE</Transparent></font><br><font face="courier new,monospace"> </Service></font><br><font face="courier new,monospace"> <DataWindow></font><br>
<font face="courier new,monospace"> <UpperLeftX>-113.0</UpperLeftX></font><br><font face="courier new,monospace"> <UpperLeftY>44.75</UpperLeftY></font><br><font face="courier new,monospace"> <LowerRightX>-112.75</LowerRightX></font><br>
<font face="courier new,monospace"> <LowerRightY>44.5</LowerRightY></font><br><font face="courier new,monospace"> <SizeX>1073741824</SizeX></font><br><font face="courier new,monospace"> <SizeY>1073741824</SizeY></font><br>
<font face="courier new,monospace"> </DataWindow></font><br><font face="courier new,monospace"> <BandsCount>3</BandsCount></font><br><font face="courier new,monospace"> <BlockSizeX>1024</BlockSizeX></font><br>
<font face="courier new,monospace"> <BlockSizeY>1024</BlockSizeY></font><br><font face="courier new,monospace"> <OverviewCount>20</OverviewCount></font><br><font face="courier new,monospace"></GDAL_WMS></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&VERSION=1.1.0&LAYERS=NED.CONUS_NED&SRS=EPSG:4326&FORMAT=image/tiff&BBOX=-113.0,44.5,-112.75,44.75&WIDTH=600&HEIGHT=600">http://imselev.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED?REQUEST=GetMap&VERSION=1.1.0&LAYERS=NED.CONUS_NED&SRS=EPSG:4326&FORMAT=image/tiff&BBOX=-113.0,44.5,-112.75,44.75&WIDTH=600&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["WGS 84",</font><br><font face="courier new,monospace"> DATUM["WGS_1984",</font><br><font face="courier new,monospace"> SPHEROID["WGS 84",6378137,298.257223563,</font><br>
<font face="courier new,monospace"> AUTHORITY["EPSG","7030"]],</font><br><font face="courier new,monospace"> AUTHORITY["EPSG","6326"]],</font><br><font face="courier new,monospace"> PRIMEM["Greenwich",0,</font><br>
<font face="courier new,monospace"> AUTHORITY["EPSG","8901"]],</font><br><font face="courier new,monospace"> UNIT["degree",0.0174532925199433,</font><br><font face="courier new,monospace"> AUTHORITY["EPSG","9122"]],</font><br>
<font face="courier new,monospace"> AUTHORITY["EPSG","4326"]]</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' 0.00"W, 44d45' 0.00"N)</font><br>
<font face="courier new,monospace">Lower Left (-113.0000000, 44.5000000) (113d 0' 0.00"W, 44d30' 0.00"N)</font><br><font face="courier new,monospace">Upper Right (-112.7500000, 44.7500000) (112d45' 0.00"W, 44d45' 0.00"N)</font><br>
<font face="courier new,monospace">Lower Right (-112.7500000, 44.5000000) (112d45' 0.00"W, 44d30' 0.00"N)</font><br><font face="courier new,monospace">Center (-112.8750000, 44.6250000) (112d52'30.00"W, 44d37'30.00"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&VERSION=1.1.0&LAYERS=NED.CONUS_NED&SRS=EPSG:4326&FORMAT=image/tiff&BBOX=-113.0,44.5,-112.75,44.75&WIDTH=600&HEIGHT=600">http://imselev.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED?REQUEST=GetMap&VERSION=1.1.0&LAYERS=NED.CONUS_NED&SRS=EPSG:4326&FORMAT=image/tiff&BBOX=-113.0,44.5,-112.75,44.75&WIDTH=600&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>