|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.data.geomedia.attributeio.GeoMediaGeometryAdapter
Title: GeoTools2 Development
Description:
Copyright: Copyright (c) 2003
Company:
Converts geometry objects between JTS geometry types and GeoMedia GDO serlaized geometry blobs. The following tables describe the mappings:
Constructor Summary | |
GeoMediaGeometryAdapter()
Creates a new GeoMediaGeometryAdapter object. |
Method Summary | |
com.vividsolutions.jts.geom.Geometry |
deSerialize(byte[] input)
Converts GeoMedia blobs to JTS geometry types. |
byte[] |
serialize(com.vividsolutions.jts.geom.Geometry input)
Converts a JTS geometry to a GeoMedia geometry blob which can be stored in a geomedia spatial database. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GeoMediaGeometryAdapter()
Method Detail |
public com.vividsolutions.jts.geom.Geometry deSerialize(byte[] input) throws java.io.IOException, GeoMediaGeometryTypeNotKnownException, GeoMediaUnsupportedGeometryTypeException
input
- GeoMedia geometry blob read from geomedia spatial database.
java.io.IOException
GeoMediaGeometryTypeNotKnownException
GeoMediaUnsupportedGeometryTypeException
public byte[] serialize(com.vividsolutions.jts.geom.Geometry input) throws java.io.IOException, GeoMediaUnsupportedGeometryTypeException
input
- JTS Geometry
java.io.IOException
GeoMediaUnsupportedGeometryTypeException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |