use of de.micromata.opengis.kml.v_2_2_0.LinearRing in project ddf by codice.
the class KmlToJtsCoordinateConverterTest method setupClass.
@BeforeClass
public static void setupClass() {
InputStream stream = KmlToJtsCoordinateConverterTest.class.getResourceAsStream("/kmlLinearRing.kml");
Kml kml = Kml.unmarshal(stream);
LinearRing kmlLinearRing = ((LinearRing) ((Placemark) kml.getFeature()).getGeometry());
testKmlCoordinates = kmlLinearRing.getCoordinates();
}
Aggregations