edge problems in shp

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Sat Feb 12 10:44:50 EST 2005


Just looking at the images is hard to tell, but it looks like you are
missing the last point of the polygons. Look specifically at polygons
with  4 sides in the openev_fw.gif and compare them to the
map_server.gif and you will see that the map_server.gif polygons are all
triangles which suggests that the final point did not make it into the
polygon. Now if you assume this is the problem the other polygons seem
to have the same issue and make more sense.

I can say why, but maybe the final index was stored as the count (oops,
off by one) or the loop copying the points has an off by one problem.

-Steve W.

Yogid wrote:
> Hello!
>
> I created my own .shp by wintopo, all was ok, to the moment when I make
> the map file, and map serwer project this files.
> The curves is bad projection, for example I make the screen form
> open_fw where all is ok, the files are good showing.
> Could anybody tell me what I break down?!?!  How I can fix it?!?!
>
> http://superstar.gb.net.pl/~yogi/map/map_server.gif
> http://superstar.gb.net.pl/~yogi/map/openev_fw.gif
>
> Best regards Yogi
> P.S. Sorry for my english :]
>



More information about the mapserver-users mailing list