|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.io.sdeapi.SDEAdapter
public class SDEAdapter
Adapter class for exporting deegree geometries to WKT and to wrap WKT code geometries to deegree geometries.
Constructor Summary | |
---|---|
SDEAdapter()
|
Method Summary | |
---|---|
static com.esri.sde.sdk.client.SeShape |
export(Geometry geom,
com.esri.sde.sdk.client.SeCoordinateReference crs)
|
static int |
findSDEType(java.lang.Object value)
Find an appropriate ArcSDE datataype for the given object value |
static int |
mapSDE2SQL(int sdetype)
Map ArcSDE datatypes to appropriate SQL datataypes. |
static int |
mapSQL2SDE(int sqltype)
Map SQL datatypes to appropriate ArcSDE datataypes. |
static void |
setRowValue(com.esri.sde.sdk.client.SeRow row,
int pos,
java.lang.Object value,
int sdetype)
Set a row value with the appropriate setting method. |
static Geometry |
wrap(com.esri.sde.sdk.client.SeShape shape,
CoordinateSystem coordinateSystem)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SDEAdapter()
Method Detail |
---|
public static Geometry wrap(com.esri.sde.sdk.client.SeShape shape, CoordinateSystem coordinateSystem) throws GeometryException, com.esri.sde.sdk.client.SeException
shape
- coordinateSystem
-
GeometryException
- if type unsupported or conversion failed
com.esri.sde.sdk.client.SeException
public static com.esri.sde.sdk.client.SeShape export(Geometry geom, com.esri.sde.sdk.client.SeCoordinateReference crs) throws GeometryException, com.esri.sde.sdk.client.SeException
geom
- geometrycrs
-
GeometryException
com.esri.sde.sdk.client.SeException
public static void setRowValue(com.esri.sde.sdk.client.SeRow row, int pos, java.lang.Object value, int sdetype) throws com.esri.sde.sdk.client.SeException
row
- pos
- -
the column position (0 - n)value
- -
the column valuesdetype
- -
the datatype, expressed as SeColumnDefinition constant or -1, if unknown
com.esri.sde.sdk.client.SeException
public static int findSDEType(java.lang.Object value)
value
-
public static int mapSQL2SDE(int sqltype)
sqltype
-
public static int mapSDE2SQL(int sdetype)
sdetype
-
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org