Hi Neil<br><br>Actually EPSG 4326 has extent +/- 90, +/- 180. Think you do not have blank map, but everything in a single pixel in the center ;-)<br>try EPSG:900913 instead<br><br>hope this helps, regards, michael<br><br><div class="gmail_quote">
On 16 December 2010 07:49, Neil Mercer <span dir="ltr"><<a href="mailto:Neil.Mercer@douglaspartners.com.au">Neil.Mercer@douglaspartners.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-AU">
<div>
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’m attempting to access the NearMap service through
MapServer. Based on the documentation on the NearMap web site I have
successfully created an XML file for GDAL to source imagery. Testing via
gdal_translate shows I can pull imagery OK.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’ve added the GDAL source to my mapfile as shown
below, and have been able to have the layer show in a GetCapabilities
request. However if I attempt to request a map I get a blank image back
from MapServer – no error, just a blank image. Is there something
obvious wrong? Is there a way to verify the request being passed from
MapServer to GDAL?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Here’s my layer definition:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">LAYER</p>
<p class="MsoNormal"> NAME
"NearMap"</p>
<p class="MsoNormal"> METADATA</p>
<p class="MsoNormal"> "wms_title"
"NearMap"</p>
<p class="MsoNormal" style="text-indent: 36pt;">END</p>
<p class="MsoNormal"> TYPE
RASTER</p>
<p class="MsoNormal"> DATA
"data/nearmap.xml"</p>
<p class="MsoNormal"> STATUS
ON</p>
<p class="MsoNormal"> PROJECTION</p>
<p class="MsoNormal"> "init=epsg:4326"</p>
<p class="MsoNormal"> END</p>
<p class="MsoNormal"> EXTENT
-20037508.34 -20037508.34 20037508.34 20037508.34</p>
<p class="MsoNormal"> UNITS
meters</p>
<p class="MsoNormal">END</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal">Neil.</p>
</div>
</div>
<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br>