public final class GeomFromWkbConverter extends Object implements BinaryToGeometryConverter
| Constructor and Description |
|---|
GeomFromWkbConverter() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
convertBackward(com.vividsolutions.jts.geom.Geometry to,
String... params)
Converts a given instance of
Geometry back to the origin format FROM. |
com.vividsolutions.jts.geom.Geometry |
convertForward(byte[] from,
String... params)
Converts a given instance
FROM to a Geometry. |
String |
getFormatDescription() |
String |
getFormatDisplayName() |
Object |
getFormatExample() |
String |
getFormatHtmlDescription() |
String |
getFormatHtmlName() |
String |
getFormatName() |
public com.vividsolutions.jts.geom.Geometry convertForward(byte[] from,
String... params)
throws de.cismet.commons.converter.ConversionException
FROM to a Geometry. The first parameter must be the EPSG
code, e.g. EPSG:4326.convertForward in interface GeometryConverter<byte[]>convertForward in interface de.cismet.commons.converter.Converter<byte[],com.vividsolutions.jts.geom.Geometry>from - the originating object that shall be converted to a Geometryparams - first parameter must be the EPSG codeGeometry which was create from the FROM instancede.cismet.commons.converter.ConversionException - if any error occurs during conversionpublic byte[] convertBackward(com.vividsolutions.jts.geom.Geometry to,
String... params)
throws de.cismet.commons.converter.ConversionException
GeometryConverterGeometry back to the origin format FROM. The first
parameter must be the EPSG code, e.g. EPSG:4326.convertBackward in interface GeometryConverter<byte[]>convertBackward in interface de.cismet.commons.converter.Converter<byte[],com.vividsolutions.jts.geom.Geometry>to - the geometry that shall be converted back to an instance of FROMparams - no parameters neededFROM which was create from the Geometry instancede.cismet.commons.converter.ConversionException - if any error occurs during conversionpublic String getFormatName()
getFormatName in interface de.cismet.commons.converter.FormatHintpublic String getFormatDisplayName()
getFormatDisplayName in interface de.cismet.commons.converter.FormatHintpublic String getFormatHtmlName()
getFormatHtmlName in interface de.cismet.commons.converter.FormatHintpublic String getFormatDescription()
getFormatDescription in interface de.cismet.commons.converter.FormatHintpublic String getFormatHtmlDescription()
getFormatHtmlDescription in interface de.cismet.commons.converter.FormatHintpublic Object getFormatExample()
getFormatExample in interface de.cismet.commons.converter.FormatHintCopyright © 2012–2025 cismet GmbH. All rights reserved.