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,