<div dir="ltr">Thats true Steve, <div><br></div><div>Its actually rendering in the non tiled setting. I wonder how come its one layer not rendering in tilemode while the other one is. Both render ok in non tile setting.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 23, 2015 at 10:29 PM, Lime, Steve D (MNIT) <span dir="ltr"><<a href="mailto:Steve.Lime@state.mn.us" target="_blank">Steve.Lime@state.mn.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">It will look at the extent of shapefiles to decide if it needs to process features in a layer but that’s to be expected. I mean, if there’s nothing to draw then
why bother. Have you verified that the layers render in a non-tiled setting?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Daniel Mwaurah [mailto:<a href="mailto:mwaurah@gmail.com" target="_blank">mwaurah@gmail.com</a>]
<br>
<b>Sent:</b> Wednesday, December 23, 2015 3:26 PM<br>
<b>To:</b> Lime, Steve D (MNIT) <<a href="mailto:Steve.Lime@state.mn.us" target="_blank">Steve.Lime@state.mn.us</a>><br>
<b>Cc:</b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [mapserver-users] CGI Tilemode blank on one layer<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Thank you Steve for your response. <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I have tried commenting out the extents but still the same problem. I think it recognizes the inbuilt extents of the data layers.<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, Dec 23, 2015 at 9:36 PM, Lime, Steve D (MNIT) <<a href="mailto:Steve.Lime@state.mn.us" target="_blank">Steve.Lime@state.mn.us</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">What happens if you comment out the layer extents? They really shouldn’t be necessary.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> mapserver-users [mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Daniel Mwaurah<br>
<b>Sent:</b> Wednesday, December 23, 2015 2:27 PM<br>
<b>To:</b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<b>Subject:</b> [mapserver-users] CGI Tilemode blank on one layer</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">hallo people,<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I would greatly appreciate some help with Mapserver Tile mode. Eeven a hint in the right direction would be much appreciated. I am trying to display two layers in Tile mode in open
layers as follows<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">1.
<a href="http://localhost/cgi-bin/mapserv?MAP=/var/wpsinput/gdss.map&layer=kenyaoutline&mode=tile&tile=$%7bx%7d+$%7by%7d+$%7bz%7d.png" target="_blank">
http://localhost/cgi-bin/mapserv?MAP=/var/wpsinput/gdss.map&layer=kenyaoutline&mode=tile&tile=${x}+${y}+${z}.png</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">2. <a href="http://localhost/cgi-bin/mapserv?MAP=/var/wpsinput/gdss.map&layer=10m_ocean&mode=tile&tile=$%7bx%7d+$%7by%7d+$%7bz%7d.png" target="_blank">http://localhost/cgi-bin/mapserv?MAP=/var/wpsinput/gdss.map&layer=10m_ocean&mode=tile&tile=${x}+${y}+${z}.png</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">The problem arises in that one layer the 10m_ocean displays while the other one just shows a blank. I suspect it has to do with the extents because the 10m_ocean layers has a large
extent from -180 to 180 while the kenyaoutline layer only covers one country from about 33 to 37 degrees.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Is there a limitation to small extents in tile mode? or what could be the problem. My mapfile is as below.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">MAP<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> #FONTSET "[fontsetpath]"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">DEBUG 5<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> CONFIG "MS_ERRORFILE" "/var/www/wpsinput/ms_error.txt"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> EXTENT 33 -5 42 6<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> IMAGETYPE "png"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> NAME "Natural_Earth_quick_start_for_QGIS"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> SIZE 600 600<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> CONFIG ON_MISSING_DATA "LOG"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> STATUS ON<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> UNITS DD<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> OUTPUTFORMAT<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> NAME "png"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> MIMETYPE "image/png"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> DRIVER "AGG/PNG"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> EXTENSION "png"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> IMAGEMODE RGBA<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> TRANSPARENT TRUE<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # OUTPUTFORMAT<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> PROJECTION<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "proj=longlat"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "datum=WGS84"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "no_defs"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # PROJECTION<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> LEGEND<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> KEYSIZE 20 10<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> KEYSPACING 5 5<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> LABEL<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> SIZE MEDIUM<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> OFFSET 0 0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> SHADOWSIZE 1 1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> TYPE BITMAP<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # LABEL<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> STATUS OFF<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # LEGEND<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> QUERYMAP<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> SIZE -1 -1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> STATUS OFF<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> STYLE HILITE<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # QUERYMAP<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> SCALEBAR<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> INTERVALS 4<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> LABEL<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> SIZE MEDIUM<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> OFFSET 0 0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> SHADOWSIZE 1 1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> TYPE BITMAP<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # LABEL<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> SIZE 200 3<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> STATUS OFF<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> UNITS MILES<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # SCALEBAR<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> WEB<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> FOOTER ""<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> HEADER ""<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> TEMPPATH ""<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> METADATA<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "ows_onlineresource" "<a href="http://localhost/cgi-bin/mapserv?map=/home/wpsinput/worldmap.map" target="_blank">http://localhost/cgi-bin/mapserv?map=/home/wpsinput/worldmap.map</a>"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "ows_enable_request" "*"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "ows_srs" "EPSG:4326"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "ows_title" "Natural_Earth_quick_start_for_QGIS"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # METADATA<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> #TEMPLATE "[templatepath]"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # WEB<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> LAYER<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> DATA "/var/www/10m_physical/10m_ocean.shp"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> EXTENT 33 -5 42 6<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> METADATA<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "ows_title" "10m_ocean"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # METADATA<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> NAME "10m_ocean"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> PROJECTION<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "proj=longlat"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "datum=WGS84"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "no_defs"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # PROJECTION<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> STATUS ON<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> TILEITEM "location"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> TYPE POLYGON<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> UNITS METERS<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> CLASS<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> NAME "Single symbol"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> STYLE<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> COLOR 198 226 242<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # STYLE<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # CLASS<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # LAYER<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">LAYER<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> DATA "/var/www/kenyaoutline/Kenyaoutline.shp"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> EXTENT 33 -5 42 6<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> METADATA<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "ows_title" "Kenyaoutline"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # METADATA<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> NAME "Kenyaoutline"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> PROJECTION<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "proj=longlat"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "datum=WGS84"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "no_defs"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # PROJECTION<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> STATUS ON<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> TILEITEM "location"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> TYPE POLYGON<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> UNITS METERS<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> CLASS<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> NAME "Single symbol"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> STYLE<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> COLOR 0 0 0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # STYLE<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # CLASS<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # LAYER<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">END # MAP<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">The same happens when i try to view it using QGIS Tilelayer plugin.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal">--
<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Kind regards,<br>
<br>
Mwaura Daniel<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Kind regards,<br>
<br>
Mwaura Daniel<u></u><u></u></p>
</div>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Kind regards,<br><br>Mwaura Daniel<br><br></div></div>
</div>