<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Your extents and units are wrong. They must be valid for the
projection specified. Change to<br>
<br>
UNITS METERS<br>
<br>
and remove the LAYER EXTENTS.<br>
<pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
<br>
On 9/8/2011 2:20 PM, vaibhavgarg wrote:
<blockquote cite="mid:1315513210998-6773599.post@n2.nabble.com"
type="cite"><b>
Ok now it is back to the empty tiles.. here is what the map file
looks like:<br>
That other error shows up anytime I specify a unknown
projection..a side product maybe.
</b>
<br>
<br>
<pre>MAP
NAME WMS_Server
SIZE 256 256
UNITS dd
EXTENT -2.290993 50.833757 -1.766036 51.105957
FONTSET '../etc/fonts.txt'
SYMBOLSET '../etc/symbols.txt'
STATUS ON
PROJECTION
"proj=merc"
"a=6378137"
"b=6378137"
"lat_ts=0.0"
"lon_0=0.0"
"x_0=0.0"
"y_0=0"
"k=1.0"
"units=m"
"nadgrids=@null"
"no_defs"
END
IMAGECOLOR 255 255 255
IMAGEQUALITY 95
IMAGETYPE png
OUTPUTFORMAT
NAME png
DRIVER 'GD/PNG'
MIMETYPE 'image/png'
IMAGEMODE RGB
EXTENSION 'png'
END
WEB
IMAGEPATH '/tmp/ms_tmp/'
IMAGEURL '/tmp/'
METADATA
'wms_title' 'Hampshire'
'wms_onlineresource' '<a class="moz-txt-link-freetext" href="http://localhost:8088/cgi-bin/mapserv.exe?map=C:/ms4w/apps/gmap/htdocs/hampshire.map">http://localhost:8088/cgi-bin/mapserv.exe?map=C:/ms4w/apps/gmap/htdocs/hampshire.map</a>'
'wms_srs' 'EPSG:4326'
'wms_enable_request' '*'
END
TEMPLATE 'fooOnlyForWMSGetFeatureInfo'
END
LAYER
NAME 'HampshireAreas'
TYPE POLYGON
        DEBUG ON
TEMPLATE fooOnlyForWMSGetFeatureInfo
EXTENT -2.290993 50.833757 -1.766036 51.105957
DATA 'C:/ms4w/apps/gmap/data/HampshireAreas.shp'
METADATA
'wms_title' 'HampshireAreas'
END
PROJECTION
        "proj=tmerc"
        "lat_0=49"
        "lon_0=-2"
        "k=0.9996012717"
        "x_0=400000"
        "y_0=-100000"
        "ellps=airy"
        "datum=OSGB36"
        "units=m"
        "no_defs"
END
STATUS DEFAULT
CLASS
NAME 'HampshireAreas'
STYLE
WIDTH 0.91
OUTLINECOLOR 0 0 0
COLOR 73 135 43
END
END
END
END</pre>
<br>
<hr align="left" width="300">
View this message in context: <a moz-do-not-send="true"
href="http://osgeo-org.1803224.n2.nabble.com/Getting-blank-tiles-in-google-maps-tp6746323p6773599.html">Re:
Getting blank tiles in google maps</a><br>
Sent from the <a moz-do-not-send="true"
href="http://osgeo-org.1803224.n2.nabble.com/ms4w-users-f4995553.html">ms4w-users
mailing list archive</a> at Nabble.com.<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
MS4W-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:MS4W-Users@lists.maptools.org">MS4W-Users@lists.maptools.org</a>
<a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/ms4w-users">http://lists.maptools.org/mailman/listinfo/ms4w-users</a>
</pre>
</blockquote>
</body>
</html>