org.gcube.contentmanagement.timeseries.geotools.finder
Class GeoAreaFinder

java.lang.Object
  extended by org.gcube.contentmanagement.timeseries.geotools.finder.GeoAreaFinder

public class GeoAreaFinder
extends Object

This class has the duty to find the area associated to an input string

Author:
coro

Constructor Summary
GeoAreaFinder(ConnectionsManager connManager, String ref_country)
           
 
Method Summary
 List<String> findCSquareCodes(String inputArea, List<String> previousCsquareCodes)
           
 List<String> findDirectlyCSquareCodes(String FAOAreaCode, List<String> previousCsquareCodes)
           
 List<String> getGeometries(List<String> csquareCodes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoAreaFinder

public GeoAreaFinder(ConnectionsManager connManager,
                     String ref_country)
Method Detail

findCSquareCodes

public List<String> findCSquareCodes(String inputArea,
                                     List<String> previousCsquareCodes)
                              throws Exception
Throws:
Exception

getGeometries

public List<String> getGeometries(List<String> csquareCodes)
                           throws Exception
Throws:
Exception

findDirectlyCSquareCodes

public List<String> findDirectlyCSquareCodes(String FAOAreaCode,
                                             List<String> previousCsquareCodes)


Copyright © 2013. All Rights Reserved.