Skip to Main Content

Java Development Tools

Programatically Creating a SDO GEOMETRY Object and Finding its Centroid

714851Mar 26 2010 — edited Mar 26 2010
Dear Gurus,

I have the following requirement.
List of Lat Long pairs will be loaded from a text file.
Ex: List<String> list = new ArrayList<String>(); //Here String is lat value,long value_
Each list contains lat lon pairs of a polygon.
Similarly we have n number of lists.
From each list, using the lat long pairs i need to find out the centroid. Can you please suggest me the best way of doing it.

** Note : we don't have any DB operations. Everything needs to be done using Java API.

Thanks & Regards,
Kiran Konjeti
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 23 2010
Added on Mar 26 2010
1 comment
961 views