|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ExternalGeospatialVectorReader
Interface to encapsulate geospatial data lookup implementations for vector data.
Some tests like GeographicErrorTest need to read simple feature vector data.
This interface was designed to decouple tests from specific implementations that can
perform these operations.
Since tests need to dynamically instantiate them, their constructors should not require any parameters.
| Method Summary | |
|---|---|
java.lang.Double |
getDistance(java.lang.Double longitude,
java.lang.Double latitude,
java.lang.String attributeId,
java.lang.String value)
Returns the distance between x,y point and a polygon associated with an attribute name/value. |
java.lang.String |
getFeature(java.lang.Double longitude,
java.lang.Double latitude,
java.lang.String attributeId)
Returns a feature value given a point and an attribute. |
| Method Detail |
|---|
java.lang.String getFeature(java.lang.Double longitude,
java.lang.Double latitude,
java.lang.String attributeId)
throws TestProcessingException
Returns a feature value given a point and an attribute.
longitude - Longitude in decimal degrees (datum WGS84).latitude - Latitude in decimal degrees (datum WGS84).attributeId - Vector attribute identifier (like population, country name, etc).
TestProcessingException
java.lang.Double getDistance(java.lang.Double longitude,
java.lang.Double latitude,
java.lang.String attributeId,
java.lang.String value)
throws TestProcessingException
Returns the distance between x,y point and a polygon associated with an attribute name/value.
longitude - Longitude in decimal degrees (datum WGS84).latitude - Latitude in decimal degrees (datum WGS84).attributeId - Vector attribute identifier (like population, country name, etc).value - Value the attribute identifier (like "Brazil", "Madagascar", "Bahia", etc).
TestProcessingException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||