[fdo-users] RE: "Number of points must be 0 or >3" Error

Maksim Sestic max at geoinova.com
Mon Sep 17 12:02:47 EDT 2007


Dan, Frank,

You're right, it was a MPolygon (AcDbMPolygon) geometry with a strange
3-point dangling boundary within. Bah :-) Somehow I skipped to implement
error handler for that particular case.

Regards,
Maksim Sestic


Dan Stoica wrote:
> 
> If this is the case then the error message is correct: the FDO polygons
> must be be closed, which means at least 4 points.
> 
> Dan.
> 
> -----Original Message-----
> From: fdo-users-bounces at lists.osgeo.org
> [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Maksim Sestic
> Sent: Monday, September 17, 2007 11:50 AM
> To: fdo-users at lists.osgeo.org
> Subject: Re: [fdo-users] "Number of points must be 0 or >3" Error
> 
> 
> Frank,
> 
> There was a problem :-) in my polygon geometry, but this is a lesser
> problem. I was just pointing out to a typo in resulting error message. 
> 
> Regards,
> Maksim Sestic
> 
> 
> Frank Warmerdam-2 wrote:
>> 
>> Maksim Sestic wrote:
>>> Hi all,
>>> 
>>> Funny thing - I just received this error while checking in some
> polygons.
>>> Should it state ">=3", rather than ">3", since there are triangular
>>> polygons?
>>> 
>>> Regards,
>>> Maksim Sestic
>> 
>> Maksim,
>> 
>> Perhaps the polygons have to be explicitly closed, and so a 3 vertex
>> polygon would require a fourth point (the first again at the end)?
>> 
>> Best regards,
>> -- 
>>
> ---------------------------------------+--------------------------------
> ------
>> I set the clouds in motion - turn up   | Frank Warmerdam,
>> warmerdam at pobox.com
>> light and sound - activate the windows | http://pobox.com/~warmerdam
>> and watch the world go round - Rush    | President OSGeo,
> http://osgeo.org
>> 
>> _______________________________________________
>> fdo-users mailing list
>> fdo-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/fdo-users
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/%22Number-of-points-must-be-0-or-%3E3%22-Error-tf4
> 467236s18162.html#a12738567
> Sent from the fdo-users mailing list archive at Nabble.com.
> 
> _______________________________________________
> fdo-users mailing list
> fdo-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fdo-users
> _______________________________________________
> fdo-users mailing list
> fdo-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fdo-users
> 
> 

-- 
View this message in context: http://www.nabble.com/%22Number-of-points-must-be-0-or-%3E3%22-Error-tf4467236s18162.html#a12738903
Sent from the fdo-users mailing list archive at Nabble.com.



More information about the fdo-users mailing list