Package com.gaia3d.converter.kml
Interface AttributeReader
- All Known Implementing Classes:
DefaultKmlReader,FastKmlReader,GeoJsonInstanceConverter,GeoPackageInstanceConverter,JacksonKmlReader,ShapeInstanceConverter
public interface AttributeReader
-
Method Summary
Modifier and TypeMethodDescriptiondefault intcalculatePointCount(org.locationtech.jts.geom.Geometry polygon, org.geotools.api.referencing.crs.CoordinateReferenceSystem sourceCRS, double proportion, double diameter) default StringcastStringFromObject(Object object, String defaultValue) default voidemitPoint(String name, org.locationtech.jts.geom.Point point, double altitude, double heading, double scale, Map<String, String> attributes, org.locationtech.proj4j.CoordinateReferenceSystem targetCrs, Consumer<TileTransformInfo> consumer) default voidemitPolygonPoints(String name, org.locationtech.jts.geom.Polygon polygon, org.geotools.api.referencing.crs.CoordinateReferenceSystem sourceCrs, double density, double scale, double altitude, double heading, Map<String, String> attributes, org.locationtech.proj4j.CoordinateReferenceSystem targetCrs, Consumer<TileTransformInfo> consumer) default voidemitTileTransformInfos(String name, org.locationtech.jts.geom.Geometry geometry, org.geotools.api.referencing.crs.CoordinateReferenceSystem sourceCrs, double density, double scale, double altitude, double heading, Map<String, String> attributes, org.locationtech.proj4j.CoordinateReferenceSystem targetCrs, Consumer<TileTransformInfo> consumer) extractAttributes(org.geotools.api.feature.simple.SimpleFeature feature) default List<org.locationtech.jts.geom.Point> getRandomContainsPoints(org.locationtech.jts.geom.Geometry polygon, org.locationtech.jts.geom.GeometryFactory geometryFactory, int count) default List<org.locationtech.jts.geom.Point> getRandomContainsPoints2(org.locationtech.jts.geom.Geometry polygon, org.locationtech.jts.geom.GeometryFactory geometryFactory, int count) default List<org.locationtech.jts.geom.Point> getRandomPointsWithDensity(org.locationtech.jts.geom.Geometry polygon, double proportion, double diameter) default List<org.locationtech.jts.geom.Point> getRandomPointsWithDensity(org.locationtech.jts.geom.Geometry polygon, int count) default voidreadEach(File file, Consumer<TileTransformInfo> consumer) default org.locationtech.jts.geom.GeometrytransformGeometry(org.locationtech.jts.geom.Geometry polygon, org.geotools.api.referencing.crs.CoordinateReferenceSystem sourceCRS)
-
Method Details
-
read
-
readAll
-
readEach
-
transformGeometry
default org.locationtech.jts.geom.Geometry transformGeometry(org.locationtech.jts.geom.Geometry polygon, org.geotools.api.referencing.crs.CoordinateReferenceSystem sourceCRS) throws org.geotools.api.referencing.FactoryException, org.geotools.api.referencing.operation.TransformException - Throws:
org.geotools.api.referencing.FactoryExceptionorg.geotools.api.referencing.operation.TransformException
-
calculatePointCount
default int calculatePointCount(org.locationtech.jts.geom.Geometry polygon, org.geotools.api.referencing.crs.CoordinateReferenceSystem sourceCRS, double proportion, double diameter) throws org.geotools.api.referencing.FactoryException, org.geotools.api.referencing.operation.TransformException - Throws:
org.geotools.api.referencing.FactoryExceptionorg.geotools.api.referencing.operation.TransformException
-
getRandomPointsWithDensity
default List<org.locationtech.jts.geom.Point> getRandomPointsWithDensity(org.locationtech.jts.geom.Geometry polygon, int count) -
getRandomPointsWithDensity
default List<org.locationtech.jts.geom.Point> getRandomPointsWithDensity(org.locationtech.jts.geom.Geometry polygon, double proportion, double diameter) -
getRandomContainsPoints
default List<org.locationtech.jts.geom.Point> getRandomContainsPoints(org.locationtech.jts.geom.Geometry polygon, org.locationtech.jts.geom.GeometryFactory geometryFactory, int count) -
getRandomContainsPoints2
default List<org.locationtech.jts.geom.Point> getRandomContainsPoints2(org.locationtech.jts.geom.Geometry polygon, org.locationtech.jts.geom.GeometryFactory geometryFactory, int count) -
extractAttributes
-
emitTileTransformInfos
default void emitTileTransformInfos(String name, org.locationtech.jts.geom.Geometry geometry, org.geotools.api.referencing.crs.CoordinateReferenceSystem sourceCrs, double density, double scale, double altitude, double heading, Map<String, String> attributes, org.locationtech.proj4j.CoordinateReferenceSystem targetCrs, Consumer<TileTransformInfo> consumer) -
emitPolygonPoints
default void emitPolygonPoints(String name, org.locationtech.jts.geom.Polygon polygon, org.geotools.api.referencing.crs.CoordinateReferenceSystem sourceCrs, double density, double scale, double altitude, double heading, Map<String, String> attributes, org.locationtech.proj4j.CoordinateReferenceSystem targetCrs, Consumer<TileTransformInfo> consumer) -
emitPoint
-
castStringFromObject
-