<div dir="ltr">I came across this, but I'm not quite sure to what other layer it should relate? I would only have the 'Netherlands' description of the borders.<div><br></div><div>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?</div><div><br></div><div>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</div><div><br></div><div>Thanks in advance.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 11 December 2015 at 20:57, Daniel Morissette <span dir="ltr"><<a href="mailto:dmorissette@mapgears.com" target="_blank">dmorissette@mapgears.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think the MASK layer should do what you want:<br>
<br>
<a href="http://mapserver.org/development/rfc/ms-rfc-79.html" rel="noreferrer" target="_blank">http://mapserver.org/development/rfc/ms-rfc-79.html</a><br>
<br>
Daniel<div><div class="h5"><br>
<br>
On 2015-12-11 2:37 PM, Wim Vanbelle wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
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>
<br></div></div>
_______________________________________________<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" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Daniel Morissette<br>
<a href="http://www.mapgears.com/" rel="noreferrer" target="_blank">http://www.mapgears.com/</a><br>
T: +1 418-696-5056 #201<br>
<br>
<a href="http://evouala.com/" rel="noreferrer" target="_blank">http://evouala.com/</a> - Location Intelligence Made Easy<br>
_______________________________________________<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" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></font></span></blockquote></div><br></div>