public class GeoService extends Object
GeoServiceWfs
Modifier and Type | Class and Description |
---|---|
static class |
GeoService.WfsZufiExceptionHandling |
Modifier and Type | Field and Description |
---|---|
(package private) String |
adressensucheKey |
(package private) String |
adressensucheLocalisator |
(package private) String |
adressensucheUrl |
(package private) org.geotools.data.DataStore |
dataStore |
(package private) org.opengis.filter.FilterFactory2 |
filterFactory |
(package private) GeoServiceWfs |
geoServiceWfs |
private static org.apache.log4j.Logger |
logger |
(package private) String |
mapExternExternUrl |
(package private) String |
mapExternName |
(package private) String |
mapExternProjection |
(package private) String |
mapExternUrl |
(package private) String |
mapLayersOneParams |
(package private) String |
mapLayersOneType |
(package private) String |
mapLayersPoiParams |
(package private) String |
mapLayersPoiType |
(package private) String |
mapLayersTwoParams |
(package private) String |
mapLayersTwoType |
(package private) String |
mapMaxExtent |
(package private) Integer |
mapOviMargin |
(package private) String |
mapProjection |
(package private) String |
mapResolutions |
(package private) String |
mapRestrictedExtent |
(package private) String |
mapUnits |
(package private) SettingsService |
settingsService |
(package private) String |
vorgangCoordinates |
(package private) String |
wfsVorgaengeFeatureNs |
(package private) String |
wfsVorgaengeFeaturePrefix |
(package private) String |
wfsVorgaengeFeatureType |
(package private) String |
wfsVorgaengeUrl |
(package private) String |
wfsZufiCapabilitiesUrl |
(package private) GeoService.WfsZufiExceptionHandling |
wfsZufiExceptionHandling |
(package private) double |
wfsZufiOviBuffer |
Constructor and Description |
---|
GeoService() |
Modifier and Type | Method and Description |
---|---|
String |
calculateAddress(com.vividsolutions.jts.geom.Point point)
Ermittlung der Adresse
|
String[] |
calculateAddressD3(com.vividsolutions.jts.geom.Point point)
Ermittlung der Adresse für d.3
|
Double |
calculateFeature(com.vividsolutions.jts.geom.Point ovi,
Attribute attribute)
Ermitteln des FeatureWertes für ein Feature mit geographischem Hintergrund
|
String |
getAdressensucheKey() |
String |
getAdressensucheLocalisator() |
String |
getAdressensucheUrl() |
org.geotools.data.DataStore |
getDataStore() |
protected List<GeoFeature> |
getGeoFeatures(com.vividsolutions.jts.geom.Point ovi,
double wfsZufiOviBuffer,
String typeName,
String geomPropertyName,
String propertyName)
Ermittelt die angefragten WFS-Features zu einem gegebenen Punkt und dessen Umkreis, die den
Umkreis schneiden.
|
protected Double[] |
getGeoFeatures(com.vividsolutions.jts.geom.Point ovi,
double wfsZufiOviBuffer,
String typeName,
String geomPropertyName,
String propertyName,
String propertyValue)
Ermittelt die FeatureWerte mit geographischem Hintergrund für ein Feature.
|
String |
getMapExternExternUrl() |
String |
getMapExternExternUrl(Vorgang vorgang)
Erstellung der URL zur Darstellung des Ortes eines Vorganges in einem externen System (z.B. im
Frontend).
|
String |
getMapExternName() |
String |
getMapExternProjection() |
String |
getMapExternUrl() |
String |
getMapExternUrl(Vorgang vorgang)
Erstellung der URL zur Darstellung des Ortes eines Vorganges in einem externen
Web-Mapping-System Die URL kann über die Einstellungen konfiguriert werden und kann die
folgenden Platzhalter beinhalten:
%xmin% , %ymin% ,
%xmax% , %ymax% , %x% , %y% , %id% |
String |
getMapLayersOneParams() |
String |
getMapLayersOneType() |
String |
getMapLayersPoiParams() |
String |
getMapLayersPoiType() |
String |
getMapLayersTwoParams() |
String |
getMapLayersTwoType() |
String |
getMapMaxExtent() |
Integer |
getMapOviMargin() |
String |
getMapProjection() |
String |
getMapResolutions() |
String |
getMapRestrictedExtent() |
String |
getMapUnits() |
String |
getVorgangCoordinates() |
String |
getVorgangCoordinates(Vorgang vorgang)
Erstellung der URL zur Darstellung des Ortes eines Vorganges in einem externen System (z.B. im
Frontend).
|
String |
getWfsVorgaengeFeatureNs() |
String |
getWfsVorgaengeFeaturePrefix() |
String |
getWfsVorgaengeFeatureType() |
String |
getWfsVorgaengeUrl() |
String |
getWfsZufiCapabilitiesUrl() |
GeoService.WfsZufiExceptionHandling |
getWfsZufiExceptionHandling() |
double |
getWfsZufiOviBuffer() |
void |
init()
Initialisierung für die Nutzung des WFS und in diesem Zusammenhang ggf. das Setzen von
Proxyparametern.
|
String |
searchAddress(String query)
Adressensuche
|
void |
setAdressensucheKey(String adressensucheKey) |
void |
setAdressensucheLocalisator(String adressensucheLocalisator) |
void |
setAdressensucheUrl(String adressensucheUrl) |
void |
setMapExternExternUrl(String mapExternExternUrl) |
void |
setMapExternName(String mapExternName) |
void |
setMapExternProjection(String mapExternProjection) |
void |
setMapExternUrl(String mapExternUrl) |
void |
setMapLayersOneParams(String mapLayersOneParams) |
void |
setMapLayersOneType(String mapLayersOneType) |
void |
setMapLayersPoiParams(String mapLayersPoiParams) |
void |
setMapLayersPoiType(String mapLayersPoiType) |
void |
setMapLayersTwoParams(String mapLayersTwoParams) |
void |
setMapLayersTwoType(String mapLayersTwoType) |
void |
setMapMaxExtent(String mapMaxExtent) |
void |
setMapOviMargin(Integer mapOviMargin) |
void |
setMapProjection(String mapProjection) |
void |
setMapResolutions(String mapResolutions) |
void |
setMapRestrictedExtent(String mapRestrictedExtent) |
void |
setMapUnits(String mapUnits) |
void |
setVorgangCoordinates(String vorgangCoordinates) |
void |
setWfsVorgaengeFeatureNs(String wfsVorgaengeFeatureNs) |
void |
setWfsVorgaengeFeaturePrefix(String wfsVorgaengeFeaturePrefix) |
void |
setWfsVorgaengeFeatureType(String wfsVorgaengeFeatureType) |
void |
setWfsVorgaengeUrl(String wfsVorgaengeUrl) |
void |
setWfsZufiCapabilitiesUrl(String wfsZufiCapabilitiesUrl) |
void |
setWfsZufiExceptionHandling(GeoService.WfsZufiExceptionHandling wfsZufiExceptionHandling) |
void |
setWfsZufiOviBuffer(double wfsZufiOviBuffer) |
private com.vividsolutions.jts.geom.Point |
transformMapProjectionToMapExternProjection(com.vividsolutions.jts.geom.Point point)
Koordinatentransformation von der internen Darstellung auf ein Koordinatensystem für die
Darstellung des Ortes eines Vorganges in einem externen System.
|
private static final org.apache.log4j.Logger logger
@Autowired GeoServiceWfs geoServiceWfs
@Autowired SettingsService settingsService
String mapProjection
String mapMaxExtent
String mapRestrictedExtent
String mapResolutions
String mapUnits
Integer mapOviMargin
String mapLayersOneType
String mapLayersOneParams
String mapLayersTwoType
String mapLayersTwoParams
String mapLayersPoiType
String mapLayersPoiParams
String mapExternProjection
String mapExternName
String mapExternUrl
String mapExternExternUrl
String vorgangCoordinates
String wfsVorgaengeUrl
String wfsVorgaengeFeatureNs
String wfsVorgaengeFeaturePrefix
String wfsVorgaengeFeatureType
String adressensucheUrl
String adressensucheKey
String adressensucheLocalisator
GeoService.WfsZufiExceptionHandling wfsZufiExceptionHandling
String wfsZufiCapabilitiesUrl
double wfsZufiOviBuffer
org.geotools.data.DataStore dataStore
org.opengis.filter.FilterFactory2 filterFactory
@PostConstruct public void init()
private com.vividsolutions.jts.geom.Point transformMapProjectionToMapExternProjection(com.vividsolutions.jts.geom.Point point)
point
- Punktkoordinate, die transformiert werden sollpublic String getMapExternUrl(Vorgang vorgang)
%xmin%
, %ymin%
,
%xmax%
, %ymax%
, %x%
, %y%
, %id%
vorgang
- Vorgang, für den die URL erzeugt werden sollmapExternUrl
public String searchAddress(String query)
query
- Suchtextpublic String calculateAddress(com.vividsolutions.jts.geom.Point point)
point
- Punktkoordinate, für die die Adresse ermittelt werden sollpublic String[] calculateAddressD3(com.vividsolutions.jts.geom.Point point)
point
- Punktkoordinate, für die die Adresse ermittelt werden sollpublic String getMapExternExternUrl(Vorgang vorgang)
%x%
, %y%
und %id%
,vorgang
- Vorgang, für den die URL erzeugt werden sollmapExternExternUrl
public String getVorgangCoordinates(Vorgang vorgang)
%x%
, %y%
und %id%
,vorgang
- Vorgang, für den die Koordinaten ausgegeben werden sollenpublic Double calculateFeature(com.vividsolutions.jts.geom.Point ovi, Attribute attribute)
ovi
- Punkt, für den das Feature ermittelt werden sollattribute
- Feature, für den der Wert ermittelt werden sollAttribute.GeoMeasure
protected Double[] getGeoFeatures(com.vividsolutions.jts.geom.Point ovi, double wfsZufiOviBuffer, String typeName, String geomPropertyName, String propertyName, String propertyValue)
GeoServiceWfs.getGeoFeatures(Point, double, String, String, String, String)
kann ein
ggf. gecachtes Ergebnis der Funktion aufgerufen werden.ovi
- Punkt für den die Features berechnet werden sollenwfsZufiOviBuffer
- Umkreis des Punktes der mit berücksichtigt werden solltypeName
- Typ des Features beim WFSgeomPropertyName
- Name des Geometrieattributs beim WFSpropertyName
- PropertyName beim WFSpropertyValue
- PropertyValue beim WFSGeoServiceWfs.getGeoFeatures(Point, double, String, String, String, String)
protected List<GeoFeature> getGeoFeatures(com.vividsolutions.jts.geom.Point ovi, double wfsZufiOviBuffer, String typeName, String geomPropertyName, String propertyName)
GeoServiceWfs.getGeoFeatures(Point, double, String, String, String)
kann ein ggf.
gecachtes Ergebnis der Funktion aufgerufen werden.ovi
- Punkt für den die WFS-Features ermittelt werden sollenwfsZufiOviBuffer
- Umkreis um den Punkt, der berücksichtigt werden solltypeName
- Typ des Features beim WFSgeomPropertyName
- Name des Geometrieattributs beim WFSpropertyName
- PropertyName beim WFSGeoServiceWfs.getGeoFeatures(Point, double,
String, String, String)
,
GeoFeature
public String getMapProjection()
public void setMapProjection(String mapProjection)
public String getMapMaxExtent()
public void setMapMaxExtent(String mapMaxExtent)
public String getMapRestrictedExtent()
public void setMapRestrictedExtent(String mapRestrictedExtent)
public String getMapResolutions()
public void setMapResolutions(String mapResolutions)
public String getMapUnits()
public void setMapUnits(String mapUnits)
public Integer getMapOviMargin()
public void setMapOviMargin(Integer mapOviMargin)
public String getMapLayersOneType()
public void setMapLayersOneType(String mapLayersOneType)
public String getMapLayersOneParams()
public void setMapLayersOneParams(String mapLayersOneParams)
public String getMapLayersTwoType()
public void setMapLayersTwoType(String mapLayersTwoType)
public String getMapLayersTwoParams()
public void setMapLayersTwoParams(String mapLayersTwoParams)
public String getMapLayersPoiType()
public void setMapLayersPoiType(String mapLayersPoiType)
public String getMapLayersPoiParams()
public void setMapLayersPoiParams(String mapLayersPoiParams)
public String getMapExternProjection()
public void setMapExternProjection(String mapExternProjection)
public String getMapExternName()
public void setMapExternName(String mapExternName)
public String getMapExternUrl()
public void setMapExternUrl(String mapExternUrl)
public String getMapExternExternUrl()
public void setMapExternExternUrl(String mapExternExternUrl)
public String getVorgangCoordinates()
public void setVorgangCoordinates(String vorgangCoordinates)
public String getWfsZufiCapabilitiesUrl()
public void setWfsZufiCapabilitiesUrl(String wfsZufiCapabilitiesUrl)
public double getWfsZufiOviBuffer()
public void setWfsZufiOviBuffer(double wfsZufiOviBuffer)
public GeoService.WfsZufiExceptionHandling getWfsZufiExceptionHandling()
public void setWfsZufiExceptionHandling(GeoService.WfsZufiExceptionHandling wfsZufiExceptionHandling)
public String getWfsVorgaengeUrl()
public void setWfsVorgaengeUrl(String wfsVorgaengeUrl)
public String getWfsVorgaengeFeatureNs()
public void setWfsVorgaengeFeatureNs(String wfsVorgaengeFeatureNs)
public String getWfsVorgaengeFeaturePrefix()
public void setWfsVorgaengeFeaturePrefix(String wfsVorgaengeFeaturePrefix)
public String getWfsVorgaengeFeatureType()
public void setWfsVorgaengeFeatureType(String wfsVorgaengeFeatureType)
public String getAdressensucheUrl()
public void setAdressensucheUrl(String adressensucheUrl)
public String getAdressensucheKey()
public void setAdressensucheKey(String adressensucheKey)
public String getAdressensucheLocalisator()
public void setAdressensucheLocalisator(String adressensucheLocalisator)
public org.geotools.data.DataStore getDataStore()
Copyright © 2019. All rights reserved.