Unix Technical Forum

sdo_geom.sdo_area gives negative areas

This is a discussion on sdo_geom.sdo_area gives negative areas within the Oracle Miscellaneous forums, part of the Oracle Database category; --> Hi, I used the sdo_geom.sdo_area function on some polygons in my database. The result is a negative number, the ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-10-2008, 03:03 PM
=?ISO-8859-15?Q?Jens_M=FCller?=
 
Posts: n/a
Default sdo_geom.sdo_area gives negative areas

Hi,

I used the sdo_geom.sdo_area function on some polygons in my database.

The result is a negative number, the absolute value seems to be right.

At a first glance, I did not find anything on this in the docs. Is this
maybe due to a wrong direction (clockwise vs. counter-clockwise) of the
points?

If so, is this "bad" apart from the negative area values?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-10-2008, 03:04 PM
Shakespeare
 
Posts: n/a
Default Re: sdo_geom.sdo_area gives negative areas


"Jens Müller" <usenet-11-2007@tessarakt.de> schreef in bericht
news:68gehsF2sp00uU1@mid.individual.net...
> Hi,
>
> I used the sdo_geom.sdo_area function on some polygons in my database.
>
> The result is a negative number, the absolute value seems to be right.
>
> At a first glance, I did not find anything on this in the docs. Is this
> maybe due to a wrong direction (clockwise vs. counter-clockwise) of the
> points?
>
> If so, is this "bad" apart from the negative area values?


Yes, wrong direction is is bad. When your geometry is in the wrong
direction, it is a 'hole' or a 'donut'. You will encounter problems
calculating overlaps etc. About the negative area: I can't recall this has
anything to do with the direction. What tolerance do you use?

Shakespeare


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:14 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com