[mapserver-users] Accessing NearMap tile server through MapServer
Michael Shishcu
micklesh at gmail.com
Thu Dec 16 00:54:49 PST 2010
Hi Neil
Actually EPSG 4326 has extent +/- 90, +/- 180. Think you do not have blank
map, but everything in a single pixel in the center ;-)
try EPSG:900913 instead
hope this helps, regards, michael
On 16 December 2010 07:49, Neil Mercer
<Neil.Mercer at douglaspartners.com.au>wrote:
> Hi,
>
>
>
> 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.
>
>
>
> 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?
>
>
>
> Here’s my layer definition:
>
>
>
> LAYER
>
> NAME "NearMap"
>
> METADATA
>
> "wms_title" "NearMap"
>
> END
>
> TYPE RASTER
>
> DATA "data/nearmap.xml"
>
> STATUS ON
>
> PROJECTION
>
> "init=epsg:4326"
>
> END
>
> EXTENT -20037508.34 -20037508.34 20037508.34 20037508.34
>
> UNITS meters
>
> END
>
>
>
> Thanks,
>
> Neil.
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101216/faad808b/attachment.htm>
More information about the MapServer-users
mailing list