AnyLogic
Expand
Font size
All Implemented Interfaces:
IGeographicSearch<GISNode,GISPoint,GISRegion>

@AnyLogicInternalAPI
public class NominatimSearch
extends AbstractCachedNominatimSearch<GISNode,GISPoint,GISRegion>

Constructor Summary

ConstructorDescription
NominatimSearch(ShapeGISMap map, String packagePrefix) 

Method Summary

Modifier and TypeMethodDescription
final voidaddMultiRegion(List<GISNode> resultList, GISMultiRegionDescriptor multiRegionDescriptor) 
voiderror(String message) 
GISPointgetPoint(GISPointDescriptor pointDescriptor) 
GISRegiongetRegion(GISRegionDescriptor regionDescriptor) 
List<GISMultiRegion>searchMultiRegion(String query, double bottomLatitude, double leftLongitude, double topLatitude, double rightLongitude, boolean firstOnly) 
voidsetPrecisionInMeters(int precisionInMeters) 

Methods inherited from class com.anylogic.engine.gis.AbstractNominatimSearch

search, search, search, searchRegion

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

NominatimSearch

public NominatimSearch(ShapeGISMap map,
 String packagePrefix)

Method Details

getPoint

public GISPoint getPoint(GISPointDescriptor pointDescriptor)
Specified by:
getPoint in class AbstractNominatimSearch<GISNode,GISPoint,GISRegion>

getRegion

public GISRegion getRegion(GISRegionDescriptor regionDescriptor)
Specified by:
getRegion in class AbstractNominatimSearch<GISNode,GISPoint,GISRegion>

addMultiRegion

public final void addMultiRegion(List<GISNode> resultList,
 GISMultiRegionDescriptor multiRegionDescriptor)
Specified by:
addMultiRegion in class AbstractNominatimSearch<GISNode,GISPoint,GISRegion>

setPrecisionInMeters

public void setPrecisionInMeters(int precisionInMeters)

searchMultiRegion

public List<GISMultiRegion> searchMultiRegion(String query,
 double bottomLatitude,
 double leftLongitude,
 double topLatitude,
 double rightLongitude,
 boolean firstOnly)

error

public void error(String message)
Specified by:
error in class AbstractNominatimSearch<GISNode,GISPoint,GISRegion>