opensubscriber
   Find in this group all groups
 
Unknown more information…

m : mitab@yahoogroups.com 10 July 2010 • 12:00AM -0400

[mitab] Re: TAB/MAP problem with a polygon containing a hole with a common point
by developer.forsk

REPLY TO AUTHOR
 
REPLY TO GROUP




Thanks for your answer!
I have already handled inner/outer rings in my polygon, and if I do not have the common point, all works perfectly!
So I think that the common point between the outer and the inner ring makes me in trouble...

Regards,
Christophe Fritz

--- In mitab@yaho..., Uffe Kousgaard <uffe@...> wrote:
>
> If you do this part correctly, MITAB can handle the inner/outer ring
> correctly. But you need to know which is which and use the correct sign
> when indicating the polygon index. Use a negative number every time you
> start a new outer polygon.
>
> Example with 3 outer polygons:
> 0: outer
> 1: inner
> 2: inner
> -3: outer
> 4: inner
> -5: outer
> 6: inner
>
> In your example you just need 0 and 1 for the 2 parts.
>
> This is parameter "part" in function mitab_c_set_points.
>
> Regards
> Uffe Kousgaard
>
>
> developer.forsk wrote:
> > Hello,
> >
> > - If I generate the TAB/MAP files and open them in MapInfo, the hole is drawn as a second contour and no hole is present !
> >
> > Does anyone know if this is a known problem in the MITAB library ? Or does anyone have a solution to avoid this problem ?
> >
> > Best regards
> >
> >
>



Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.