<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.hoenzb
        {mso-style-name:hoenzb;}
span.Shkpostityyli18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FI" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">How about Inline polygon covering -180 -90 180 90 in epsg:4326
<a href="http://www.mapserver.org/input/vector/inline.html">http://www.mapserver.org/input/vector/inline.html</a>?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">-Jukka Rahkonen-<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Wim Vanbelle wrote:<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">I came across this, but I'm not quite sure to what other layer it should relate? I would only have the 'Netherlands' descript</span>ion of the borders.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I do not want to use the world dataset file, because it's too big. I cannot just add a 'complement' to the country layer or am I misinterpreting the mask function?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">It would be solved I believe if I could add a LAYER which did not require a datasource and renders everything black, but that is not possible I believe, because mapserver always requires a type and the annotation type is deprecated since
 6.2<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks in advance.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 11 December 2015 at 20:57, Daniel Morissette <<a href="mailto:dmorissette@mapgears.com" target="_blank">dmorissette@mapgears.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">I think the MASK layer should do what you want:<br>
<br>
<a href="http://mapserver.org/development/rfc/ms-rfc-79.html" target="_blank">http://mapserver.org/development/rfc/ms-rfc-79.html</a><br>
<br>
Daniel<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
<br>
On 2015-12-11 2:37 PM, Wim Vanbelle wrote:<o:p></o:p></p>
</div>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Dear,<br>
<br>
I have a country shapefile and I would like to style everything, besides<br>
the one feature in the polygon.<br>
<br>
This is a shapefile layer, so I'm wondering on how I could possibly<br>
improve this:<br>
<br>
<br>
         LAYER<br>
                 NAME "gadm"<br>
                 TYPE POLYGON<br>
TRANSPARENCY 70<br>
                 DATA "gadm28.shp"<br>
                 STATUS default<br>
DEBUG 4<br>
<br>
                 CLASS<br>
EXPRESSION ("[ISO]" != "NLD")<br>
<br>
                         style<br>
                                 color "#000000"<br>
                         end<br>
<br>
                 END<br>
         END<br>
<br>
Basically, I would like to only use the data from the netherlands (NLD),<br>
because it's a lot less data, and color everything else, besides the one<br>
feature that it has.<br>
<br>
My above (working example) is taking the entire world and only filtering<br>
out what I want to see.<br>
<br>
The goal is to visually create a map of a single country and block out<br>
all the rest ;-). It's rendered as a tile layer. (gmaps)<br>
<br>
Thanks in advance for your feedback.<br>
<br>
Best regards,<br>
Wim<br>
<br>
<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">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><o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><span style="color:#888888"><br>
<br>
<span class="hoenzb">-- </span><br>
<span class="hoenzb">Daniel Morissette</span><br>
<span class="hoenzb"><a href="http://www.mapgears.com/" target="_blank">http://www.mapgears.com/</a></span><br>
<span class="hoenzb">T: +1 418-696-5056 #201</span><br>
<br>
<span class="hoenzb"><a href="http://evouala.com/" target="_blank">http://evouala.com/</a> - Location Intelligence Made Easy</span><br>
<span class="hoenzb">_______________________________________________</span><br>
<span class="hoenzb">mapserver-users mailing list</span><br>
<span class="hoenzb"><a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a></span><br>
<span class="hoenzb"><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></span></span><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>