[OpenLayers-Users] Polygon swap inner/outer border when I zoom the map‏

Willy gruppi at willygroup.org
Thu Jun 3 11:19:59 EDT 2010


Hi,
I'm loading the following polygon layer from a gml file and overlay on a
Google layer.
If I zoom too much Inner and outer border swap (in this case there is only a
border, but the behaviour is the same).
Why?
I've tried with a small polygon (5/6 point) and works properly.

<?xml version="1.0" encoding="ISO-8859-1"?>
<wfs:FeatureCollection xmlns:ms="http://mapserver.gis.umn.edu/mapserver"
xmlns:wfs="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml"
xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd
http://mapserver.gis.umn.edu/mapserver
http://aneto.oco/cgi-bin/worldwfs?SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=DescribeFeatureType&amp;TYPENAME=polygon&amp;OUTPUTFORMAT=XMLSCHEMA
">
    <gml:featureMember>
        <gml:Polygon>
            <gml:innerBoundaryIs>
              <gml:LinearRing>
                <gml:coordinates>
11.626857883301,42.911149016113 11.634754306641,42.90908907959
11.644024020996,42.914925566406 11.664280063477,42.914582243652
11.679386264648,42.917672148437 11.703762180176,42.916298857422
11.71200192627,42.919388762207 11.719898349609,42.924195280762
11.720241672363,42.919045439453 11.719898349609,42.913895598145
11.723331577148,42.910462370605 11.723674899902,42.90737246582
11.731914645996,42.90290927002 11.731914645996,42.898789396973
11.729511386719,42.89501284668 11.725734836426,42.891236296387
11.72607815918,42.887803068848 11.731571323242,42.878190031738
11.739811069336,42.87132357666 11.744617587891,42.864113798828
11.749080783691,42.856217375488 11.748394138184,42.848320952148
11.750797397461,42.841797819824 11.749767429199,42.83355807373
11.74633420166,42.83699130127 11.742900974121,42.835618010254
11.712688571777,42.863770476074 11.676296359863,42.853127470703
11.660846835937,42.86342715332 11.655353671875,42.863770476074
11.636127597656,42.858277312012 11.624454624023,42.86514376709
11.624454624023,42.868920317383 11.619991428223,42.881279936523
11.623424655762,42.887459746094 11.625141269531,42.889519682617
11.625827915039,42.902222624512 11.626857883301,42.911149016113
                </gml:coordinates>
              </gml:LinearRing>
            </gml:innerBoundaryIs>
          </gml:Polygon>
    </gml:featureMember>
</wfs:FeatureCollection>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100603/c0f9f114/attachment-0001.html


More information about the Users mailing list