Forum Stats

  • 3,872,132 Users
  • 2,266,392 Discussions


Programatically Creating a SDO GEOMETRY Object and Finding its Centroid

714851 Member Posts: 21
edited Mar 26, 2010 4:37PM in JDeveloper and ADF
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


This discussion has been closed.