|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.bsvrz.kex.bwsin.konfig.okstra.Okstra
public class Okstra
Modul OKSTRA.
Constructor Summary | |
---|---|
Okstra(Properties prop)
Erzeugt eine Instanz zum Zugriff auf die OKSTRA-Datenbasis. |
Method Summary | |
---|---|
void |
createSchema(org.geotools.feature.FeatureType arg0)
|
org.geotools.feature.Feature |
findAoA(String iD)
Findet das 'echte' Feature zu einer Abschnitt-oder-Ast Referenz. |
double |
getDoubleAttribute(org.geotools.feature.Feature f,
String name)
Gibt ein Attribut eines Features als double-Wert zurück. |
org.geotools.feature.Feature |
getFeature(OkstraFeature ofeature,
String fid)
Gibt ein Feature eines abgefragten Types zurück. |
org.geotools.feature.Feature |
getFeature(String ftype,
String fid)
Gibt ein Features eines abgefragten Types zurück. |
static de.bsvrz.sys.funclib.bitctrl.geolib.WGS84Polygon |
getFeatureKoordinatenAlsWGS84Polygon(org.geotools.feature.Feature f)
Gibt die Koordinatenliste eines Features als WGS84-Polygon zurück. |
static com.vividsolutions.jts.geom.Coordinate[] |
getFeatureKoordinatenWGS84(org.geotools.feature.Feature f)
Gibt die Koordinatenliste eines Features als WGS84-Koordninaten zurück. |
Map<String,org.geotools.feature.Feature> |
getFeatureMap(String featuretype)
Bildet eine Map von Features eines abgefragten Typs. |
org.geotools.data.FeatureReader |
getFeatureReader(org.geotools.data.Query arg0,
org.geotools.data.Transaction arg1)
|
static org.geotools.feature.Feature |
getFeatureReferenz(Object attribute)
Extrahiert die Feature-Referenz aus dem XLINK-Attribut und gibt das referenzierte Feature zurück. |
org.geotools.data.FeatureSource |
getFeatureSource(String arg0)
|
org.geotools.data.FeatureWriter |
getFeatureWriter(String arg0,
org.geotools.filter.Filter arg1,
org.geotools.data.Transaction arg2)
|
org.geotools.data.FeatureWriter |
getFeatureWriter(String arg0,
org.geotools.data.Transaction arg1)
|
org.geotools.data.FeatureWriter |
getFeatureWriterAppend(String arg0,
org.geotools.data.Transaction arg1)
|
static Okstra |
getInstance()
Gibt die Instanz auf das OKSTRA-Objekt zurück. |
static int |
getIntAttribute(org.geotools.feature.Feature f,
String name)
Gibt ein ganzzahliges Attribut eines Features zurück. |
org.geotools.data.LockingManager |
getLockingManager()
|
static String |
getRefFeatureId(String xpath)
Extrahiert die Feature-ID aus dem XPATH-Attribut und gibt diese als String zurück. |
static String |
getRefFeatureType(String xpath)
Extrahiert den Feature-Typ aus dem XPATH-Attribut und gibt diesen als String zurück. |
org.geotools.feature.FeatureType |
getSchema(String arg0)
|
String |
getSpecialAttribute(OkstraFeature of,
String fid,
String attname)
Spezialfunktion zum Lesen von Attributen, die von GeoTools nicht bereitgestellt werden können. |
String |
getSpecialAttribute2(OkstraFeature of,
String fid,
String attname)
Spezialfunktion zum Lesen von Attributen, die von GeoTools nicht bereitgestellt werden können. |
Object[] |
getSpecialAttributeList(OkstraFeature of,
String fid,
String attname)
Spezialfunktion zum Lesen von mehreren Attributen zum gleichen Namen, die von GeoTools nicht bereitgestellt werden können. |
Object[] |
getSpecialAttributeList2(OkstraFeature of,
String fid,
String attname)
Spezialfunktion zum Lesen von mehreren Attributen zum gleichen Namen, die von GeoTools nicht bereitgestellt werden können. |
String[] |
getTypeNames()
|
org.geotools.data.FeatureSource |
getView(org.geotools.data.Query arg0)
|
void |
updateSchema(String arg0,
org.geotools.feature.FeatureType arg1)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Okstra(Properties prop) throws ImportException
prop
- Properties
ImportException
- bei AusnahmenMethod Detail |
---|
public static de.bsvrz.sys.funclib.bitctrl.geolib.WGS84Polygon getFeatureKoordinatenAlsWGS84Polygon(org.geotools.feature.Feature f)
f
- Feature
WGS84Polygon
public static com.vividsolutions.jts.geom.Coordinate[] getFeatureKoordinatenWGS84(org.geotools.feature.Feature f)
f
- Feature
public static org.geotools.feature.Feature getFeatureReferenz(Object attribute) throws ImportException
attribute
- ein eine Feature-Referenz enthaltendes Feature-Attribut
Feature
ImportException
- bei Ausnahmenpublic static Okstra getInstance()
public static int getIntAttribute(org.geotools.feature.Feature f, String name) throws IllegalAttributeConversionException
f
- Feature
name
- Name des Attributes
IllegalAttributeConversionException
- wenn der Wert des Attributes nicht in eine Ganzzahl
konvertiert werden kannpublic static String getRefFeatureId(String xpath)
xpath
- ein eine Feature-Referenz enthaltendes Feature-Attribut
public static String getRefFeatureType(String xpath)
xpath
- ein eine Feature-Referenz enthaltendes Feature-Attribut
public void createSchema(org.geotools.feature.FeatureType arg0) throws IOException
createSchema
in interface org.geotools.data.DataStore
IOException
DataStore.createSchema(org.geotools.feature.FeatureType)
public org.geotools.feature.Feature findAoA(String iD) throws ImportException
iD
- Abschnitt-oder-Ast
ImportException
- bei Ausnahmenpublic double getDoubleAttribute(org.geotools.feature.Feature f, String name) throws IllegalAttributeConversionException
f
- Feature
name
- Name des Attributes
IllegalAttributeConversionException
- wenn der Wert des Attributes nicht in double konvertiert
werden kannpublic org.geotools.feature.Feature getFeature(OkstraFeature ofeature, String fid) throws ImportException
ofeature
- das abzufragende Featurefid
- Feature-ID
Feature
ImportException
- bei Ausnahmenpublic org.geotools.feature.Feature getFeature(String ftype, String fid) throws ImportException
ftype
- der Name des Feature-Typsfid
- Feature-ID
Feature
ImportException
- bei Ausnahmenpublic Map<String,org.geotools.feature.Feature> getFeatureMap(String featuretype) throws ImportException
featuretype
- der abgefragte Feature-Typ
ImportException
- bei Ausnahmenpublic org.geotools.data.FeatureReader getFeatureReader(org.geotools.data.Query arg0, org.geotools.data.Transaction arg1) throws IOException
getFeatureReader
in interface org.geotools.data.DataStore
IOException
DataStore.getFeatureReader(org.geotools.data.Query,
org.geotools.data.Transaction)
public org.geotools.data.FeatureSource getFeatureSource(String arg0) throws IOException
getFeatureSource
in interface org.geotools.data.DataStore
IOException
DataStore.getFeatureSource(java.lang.String)
public org.geotools.data.FeatureWriter getFeatureWriter(String arg0, org.geotools.filter.Filter arg1, org.geotools.data.Transaction arg2) throws IOException
getFeatureWriter
in interface org.geotools.data.DataStore
IOException
DataStore.getFeatureWriter(java.lang.String,
org.geotools.filter.Filter, org.geotools.data.Transaction)
public org.geotools.data.FeatureWriter getFeatureWriter(String arg0, org.geotools.data.Transaction arg1) throws IOException
getFeatureWriter
in interface org.geotools.data.DataStore
IOException
DataStore.getFeatureWriter(java.lang.String,
org.geotools.data.Transaction)
public org.geotools.data.FeatureWriter getFeatureWriterAppend(String arg0, org.geotools.data.Transaction arg1) throws IOException
getFeatureWriterAppend
in interface org.geotools.data.DataStore
IOException
DataStore.getFeatureWriterAppend(java.lang.String,
org.geotools.data.Transaction)
public org.geotools.data.LockingManager getLockingManager()
getLockingManager
in interface org.geotools.data.DataStore
DataStore.getLockingManager()
public org.geotools.feature.FeatureType getSchema(String arg0) throws IOException
getSchema
in interface org.geotools.data.DataStore
IOException
DataStore.getSchema(java.lang.String)
public String getSpecialAttribute(OkstraFeature of, String fid, String attname)
of
- OKSTRA-Featurefid
- Feature-IDattname
- Attributname
public String getSpecialAttribute2(OkstraFeature of, String fid, String attname) throws ImportException
of
- OKSTRA-Featurefid
- Feature-IDattname
- Attributname
ImportException
- bei Ausnahmenpublic Object[] getSpecialAttributeList(OkstraFeature of, String fid, String attname)
of
- OKSTRA-Featurefid
- Feature-IDattname
- Attributname
public Object[] getSpecialAttributeList2(OkstraFeature of, String fid, String attname)
of
- OKSTRA-Featurefid
- Feature-IDattname
- Attributname
public String[] getTypeNames() throws IOException
getTypeNames
in interface org.geotools.data.DataStore
IOException
DataStore.getTypeNames()
public org.geotools.data.FeatureSource getView(org.geotools.data.Query arg0) throws IOException, org.geotools.feature.SchemaException
getView
in interface org.geotools.data.DataStore
IOException
org.geotools.feature.SchemaException
DataStore.getView(org.geotools.data.Query)
public void updateSchema(String arg0, org.geotools.feature.FeatureType arg1) throws IOException
updateSchema
in interface org.geotools.data.DataStore
IOException
DataStore.updateSchema(java.lang.String,
org.geotools.feature.FeatureType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |