Package org.openstreetmap.josm.tools
Interface GeoProperty<T>
- Type Parameters:
T- the property
- All Known Implementing Classes:
DefaultGeoProperty
public interface GeoProperty<T>
A method to look up a property of the earth surface.
User input for the
GeoPropertyIndex.-
Method Summary
-
Method Details
-
get
Look up the property for a point.- Parameters:
ll- the point coordinates- Returns:
- property value at that point. Must not be null.
-
get
Look up the property for a coordinate rectangle.- Parameters:
box- the rectangle- Returns:
- the property, if it is the same in the entire rectangle; null otherwise
-