Hans,

I wish it were that simple, but the NE corner is not necessarily the 
same as the point defined by _xmax and _ymax. For example, create a 
polygon with points (0 0 3 0 2 1 1 1 0 0). The results of the 
BoundsExtractor are _xmax=3 and _ymax=1. But the actual NE corner, 
the one that I am looking for, has coordinates 2,1. It's a bit of an 
extreme example, but the survey grid I'm working with has numbers 
polygons of this type.

Regards,

Lyndon Kok

--- In [email protected], Hans van der Maarel <[EMAIL PROTECTED]> wrote:
>
> Lyndon,
> 
> > Hi all, I have a polygon dataset, and I am trying to extact the NE
> > corner of each of the polygons in the dataset. The polygons are
> > rectangular (it is a survey grid dataset), but each polygon may 
have
> > any number of points (i.e. not just corner points). Any ideas on 
how to
> > accomplish this?
> 
> The BoundsExtractor will extract the coordinates of the lower left 
and 
> upper right corner. Upper right (_xmax and _ymax) is the one you're 
> looking for.
> -- 
> Hans van der Maarel
> Red Geographics
> 
> Zevenbergsepoort 44b            www.redgeographics.com
> 4791 AE  Klundert               [EMAIL PROTECTED]
> The Netherlands                 phone: +31-168-401035
>




For insights into what's up at Safe Software and what's on the development 
horizon, visit Safe's blog at spatial-etl.blogspot.com.

Safe Software has also made slides available that outline enhancements planned 
for FME 2007. The slides are from the "Road Ahead" presentation given on Day 2 
of the FME Worldwide Users Conference. To view these slides, visit 
www.safe.com/2006uc.

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/fme/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/fme/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to