<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Vaibhav,<br>
<br>
There's a bug in QGIS mapserver export with the Projection
definition. If your target (map) projection is really longlat you
need to have<br>
<br>
<span class="Apple-style-span" style="color: rgb(0, 0, 0);
font-family: 'Times New Roman'; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
font-size: medium; "></span> UNITS DD<br>
EXTENT ? ? ? ?<br>
PROJECTION<br>
'proj=longlat'<br>
'ellps=WGS84'<br>
'towgs84=0,0,0,0,0,0,0'<br>
'no_defs'<br>
END<br>
<br>
and change the above "?" to valid min/max lat/lon in decimal
degrees.<br>
<br>
Or change the PROJECTION to your projection.<br>
<br>
You should post the question to the mapserver email list.<br>
<pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
<br>
On 9/8/2011 8:23 AM, vaibhavgarg wrote:
<blockquote cite="mid:1315491789066-6772023.post@n2.nabble.com"
type="cite">
<pre wrap="">Hello everyone,
I havent recieved any replies in few days. Please let me know what more info
i can provide to explain better?
Thanks you.
Original question:
<a class="moz-txt-link-freetext" href="http://osgeo-org.1803224.n2.nabble.com/Getting-blank-tiles-in-google-maps-td6746323.html">http://osgeo-org.1803224.n2.nabble.com/Getting-blank-tiles-in-google-maps-td6746323.html</a>
================================================
Getting blank tiles in google maps
================================================
Aug 31, 2011; 6:04pm — by vaibhavgarg
Hi all, I am new to MapServer.
I have downloaded and setup MS4W and was able to overlay the example Bath
and other map data on google maps.
I then created my own .map file using QGIS and supplied my data but the
served tiles are completely blank(transparant or white when I select RGB).
My data set is .GML and I also tried converting it to .SHP format. I have
checked that my setup is ok by doing is on two different computers.
When I use shp2img.exe then it renders the layers properly.
c:\> shp2img.exe -m hampshire.map -o hampshire.png -s 2048 2048
I am using this URL scheme:
<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>
&layers=HampshireAreas&mode=tile&tilemode=gmap&tile=[x]+[y]+[z]
I have attached all the relevant files. (2 sets, one is .SHP and the other
is .GML, both cases I get transparent empty tiles)
Can anyone please help me identify the reason why the generated tiles are
transparent and how I can fix it.
(7MB total, 1MB pieces, sorry if this is large, I am new to mailing lists
too, please use 7Z to unzip)
SHP: Hampshire.map Hampshire.7z.001 Hampshire.7z.002 Hampshire.7z.003
Hampshire.7z.004 Hampshire.7z.005 Hampshire.7z.006
GML: Hampshire-gml.map Hampshire-gml.7z
Alternate download (zip format, 14mb) <a class="moz-txt-link-freetext" href="http://www.megaupload.com/?d=DAD6SR5P">http://www.megaupload.com/?d=DAD6SR5P</a>
Thanks you very much.
Vaibhav G
--
View this message in context: <a class="moz-txt-link-freetext" href="http://osgeo-org.1803224.n2.nabble.com/Getting-blank-tiles-in-google-maps-tp6746323p6772023.html">http://osgeo-org.1803224.n2.nabble.com/Getting-blank-tiles-in-google-maps-tp6746323p6772023.html</a>
Sent from the ms4w-users mailing list archive at Nabble.com.
_______________________________________________
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>