semanticwfs
Version 0.1.0.0
|
Implements OGC API Features and WFS webservice functionality. More...
Public Member Functions | |
WebService () throws IOException | |
Constructor for this class. More... | |
Response | openapiJSON () |
Response | openapiYAML () |
void | generateOpenAPIDefinitions () |
Generates OpenAPI definitions of the SemanticWFS services for the use with OGC API Features. More... | |
Response | createExceptionResponse (Exception e, String format) |
Generates an exception response. More... | |
Response | entryPointPOST ( @Parameter(description="Service type definition") @DefaultValue("WFS") @QueryParam("SERVICE") String service, @Parameter(description="Request definition") @DefaultValue("GetCapabilities") @QueryParam("REQUEST") String request, @Parameter(description="Version of the web service") @DefaultValue("2.0.0") @QueryParam("VERSION") String version, @Parameter(description="The feature type name to be queried") @DefaultValue("") @QueryParam("TYPENAME") String typename, @Parameter(description="The feature type(s) name(s) to be queried") @DefaultValue("") @QueryParam("TYPENAMES") String typenames, @Parameter(description="The name of the CRS to be returned") @DefaultValue("") @QueryParam("SRSNAME") String srsName, @DefaultValue("gml") @QueryParam("EXCEPTIONS") String exceptions, @Parameter(description="A bounding box used for filtering results") @DefaultValue("") @QueryParam("BBOX") String bbox, @DefaultValue("") @QueryParam("VALUEREFERENCE") String propertyname, @Parameter(description="Sorting order definition") @DefaultValue("ASC") @QueryParam("SORTBY") String sortBy, @DefaultValue("") @QueryParam("STYLES") String style, @DefaultValue("results") @QueryParam("RESULTTYPE") String resultType, @DefaultValue("") @QueryParam("RESOURCEID") String resourceids, @DefaultValue("") @QueryParam("GMLOBJECTID") String gmlobjectid, @DefaultValue("0") @QueryParam("STARTINDEX") String startindex, @DefaultValue("") @QueryParam("FILTER") String filter, @DefaultValue("") @QueryParam("FILTERLANGUAGE") String filterLanguage, @DefaultValue("gml") @QueryParam("OUTPUTFORMAT") String output, @DefaultValue("5") @QueryParam("COUNT") String count) |
Entrypoint implementation for OGC API Features for POST requests. More... | |
Response | vectorTiles (@DefaultValue("CSW") @QueryParam("SERVICE") String service, @DefaultValue("GetCapabilities") @QueryParam("REQUEST") String request, @DefaultValue("2.0.2") @QueryParam("VERSION") String version, @DefaultValue("") @QueryParam("TYPENAME") String typename, @DefaultValue("") @QueryParam("TYPENAMES") String typenames, @DefaultValue("gml") @QueryParam("OUTPUTFORMAT") String output) |
Returns a vector tile representation of a given feature type. More... | |
Response | style ( @Parameter(description="The service type which is addressed") @DefaultValue("WFS") @QueryParam("SERVICE") String service, @Parameter(description="Request type of this query") @DefaultValue("GetStyle") @QueryParam("REQUEST") String request, @Parameter(description="Feature type names") @DefaultValue("") @QueryParam("TYPENAME") String typename, @Parameter(description="Feature type names") @DefaultValue("") @QueryParam("TYPENAMES") String typenames, @Parameter(description="Outputformat of the style which is returned") @DefaultValue("gml") @QueryParam("OUTPUTFORMAT") String output) |
Returns a style information in a given format for a given featuretype and styleid. More... | |
Response | getCollectionStyle ( @Parameter(description="Feature type name") @PathParam("collectionid") String collectionid, @Parameter(description="Style id") @PathParam("styleid") String styleid, @Parameter(description="Return format") @DefaultValue("html") @QueryParam("f") String format) |
Gets a style for a given featuretype with a given style identifier. More... | |
Response | getCollectionStyles ( @Parameter(description="Feature type name") @PathParam("collectionid") String collectionid, @Parameter(description="Return type") @DefaultValue("html") @QueryParam("f") String format) |
Gets a list of all styles for a given featuretype. More... | |
Response | entryPointCSW ( @Parameter(description="Service type") @DefaultValue("CSW") @QueryParam("SERVICE") String service, @Parameter(description="Request type") @DefaultValue("GetCapabilities") @QueryParam("REQUEST") String request, @Parameter(description="Version of the webservice") @DefaultValue("2.0.2") @QueryParam("VERSION") String version, @Parameter(description="Feature type names") @DefaultValue("") @QueryParam("TYPENAME") String typename, @Parameter(description="Feature type names") @DefaultValue("") @QueryParam("TYPENAMES") String typenames, @Parameter(description="Return type") @DefaultValue("gml") @QueryParam("OUTPUTFORMAT") String output) |
CSW endpoint implementation. More... | |
Response | entryPointCSWPost (@DefaultValue("CSW") @QueryParam("SERVICE") String service, @DefaultValue("GetCapabilities") @QueryParam("REQUEST") String request, @DefaultValue("2.0.2") @QueryParam("VERSION") String version, @DefaultValue("") @QueryParam("TYPENAME") String typename, @DefaultValue("") @QueryParam("TYPENAMES") String typenames, @DefaultValue("gml") @QueryParam("OUTPUTFORMAT") String output) |
CSW endpoint implementation (POST version). More... | |
Response | entryPoint ( @Parameter(description="Service type") @DefaultValue("WFS") @QueryParam("SERVICE") String service, @Parameter(description="Request type") @DefaultValue("GetCapabilities") @QueryParam("REQUEST") String request, @Parameter(description="Service version") @DefaultValue("2.0.0") @QueryParam("VERSION") String version, @Parameter(description="Feature type names") @DefaultValue("") @QueryParam("TYPENAME") String typename, @Parameter(description="Feature type names") @DefaultValue("") @QueryParam("TYPENAMES") String typenames, @Parameter(description="CRS type") @DefaultValue("") @QueryParam("SRSNAME") String srsName, @DefaultValue("gml") @QueryParam("EXCEPTIONS") String exceptions, @Parameter(description="Bounding box for filtering the results") @DefaultValue("") @QueryParam("BBOX") String bbox, @DefaultValue("") @QueryParam("VALUEREFERENCE") String propertyname, @Parameter(description="Sorting order") @DefaultValue("ASC") @QueryParam("SORTBY") String sortBy, @DefaultValue("") @QueryParam("STYLES") String style, @DefaultValue("results") @QueryParam("RESULTTYPE") String resultType, @DefaultValue("") @QueryParam("RESOURCEID") String resourceids, @DefaultValue("") @QueryParam("GMLOBJECTID") String gmlobjectid, @DefaultValue("0") @QueryParam("STARTINDEX") String startindex, @Parameter(description="Filter expression") @DefaultValue("") @QueryParam("FILTER") String filter, @Parameter(description="Filter query language") @DefaultValue("") @QueryParam("FILTERLANGUAGE") String filterLanguage, @Parameter(description="Return format") @DefaultValue("gml") @QueryParam("OUTPUTFORMAT") String output, @Parameter(description="Maximum amount of results to return") @DefaultValue("5") @QueryParam("COUNT") String count) |
WFS endpoint implementation. More... | |
Response | docJSON ( @Parameter(description="Return format") @DefaultValue("json") @QueryParam("f") String format) |
Response | collectionsJSON ( @Parameter(description="Return format") @DefaultValue("json") @QueryParam("f") String format) |
Response | collectionsXML ( @Parameter(description="Return format") @DefaultValue("xml") @QueryParam("f") String format) |
Response | collectionsHTML ( @Parameter(description="Return format") @DefaultValue("html") @QueryParam("f") String format) |
Response | collections ( @Parameter(description="Return format", style=ParameterStyle.FORM) @DefaultValue("html") @QueryParam("f") String format) |
Returns a list of feature types/collections. More... | |
Response | getFeatureByIdJSON ( @Parameter(description="The collection id") @PathParam("collectionid") String collectionid, @Parameter(description="The feature id") @PathParam("featureid") String featureid, @Parameter(description="The style to be applied") @DefaultValue("") @QueryParam("mapstyle") String style, @Parameter(description="The format to be returned") @DefaultValue("json") @QueryParam("f") String format) |
Returns a feature given its feature id. More... | |
Response | getFeatureByIdXML ( @Parameter(description="The collection id") @PathParam("collectionid") String collectionid, @Parameter(description="The feature id") @PathParam("featureid") String featureid, @Parameter(description="The style to be applied") @DefaultValue("") @QueryParam("mapstyle") String style, @Parameter(description="The format to be returned") @DefaultValue("gml") @QueryParam("f") String format) |
Returns a feature given its feature id. More... | |
Response | docCollectionItemJSON ( @Parameter(description="The id of the collection to be considered") @PathParam("collectionid") String collectionid, @Parameter(description="The id of the feature to be considered") @PathParam("ext") String ext, @Parameter(description="The id of the feature to be considered") @PathParam("featureid") String featureid, @Parameter(description="The format in which the collection should be returned", example="geojson") @DefaultValue("ldapi") @QueryParam("_format") String format, @Parameter(description="The maximum amount of features to be returned", example="10") @DefaultValue("10") @QueryParam("_pageSize") Integer limit, @Parameter(description="An optional where statement to be used in the SPARQL query", example="10") @DefaultValue("") @QueryParam("_select") String select, @Parameter(description="An optional where statement to be used in the SPARQL query", example="10") @DefaultValue("") @QueryParam("_where") String where, @Parameter(description="The page of the Linked Data API resource to return", example="1") @DefaultValue("1") @QueryParam("_page") Integer page, @Parameter(description="Detailed or minimized view to be returned") @DefaultValue("") @QueryParam("_view") String view, @Parameter(description="The sorting of the given results") @DefaultValue("") @QueryParam("_sort") String sort, @Parameter(description="An optional orderBy statement to be used in the SPARQL query") @DefaultValue("") @QueryParam("_orderBy") String orderBy, @Parameter(description="A subclass definition of the class defining the featurecollection") @DefaultValue("") @QueryParam("type") String type, @Parameter(description="Defines resources with a specified parameter value to be returned") @DefaultValue("") @QueryParam("param") List< String > paramval, @Parameter(description="Defines resources with a specified parameter value greater or equal the given value to be returned") @DefaultValue("") @QueryParam("max-param") String maxparamval, @Parameter(description="Defines resources with a specified parameter value smaller or equal the given value to be returned") @DefaultValue("") @QueryParam("min-param") String minparamval, @Parameter(description="Defines resources with a specified parameter value greater than the given value to be returned") @DefaultValue("") @QueryParam("maxEx-param") String maxExparamval, @Parameter(description="Defines resources with a specified parameter value smaller than the given value to be returned") @DefaultValue("") @QueryParam("minEx-param") String minExparamval, @Parameter(description="Returns only resources with the specified parameter") @QueryParam("exists-param") String existsparam, @Parameter(description="An offset to be considered when returning features", example="10") @DefaultValue("0") @QueryParam("offset") String offset) |
Response | getFeatureByIdHTML ( @Parameter(description="The collection id") @PathParam("collectionid") String collectionid, @Parameter(description="The feature id") @PathParam("featureid") String featureid, @Parameter(description="The style to be applied") @DefaultValue("") @QueryParam("mapstyle") String style, @Parameter(description="The format to be returned") @DefaultValue("html") @QueryParam("f") String format) |
Returns a feature given its feature id. More... | |
Response | getFeatureById ( @Parameter(description="The collection id") @PathParam("collectionid") String collectionid, @Parameter(description="The feature id") @PathParam("featureid") String featureid, @Parameter(description="The style to be applied") @DefaultValue("") @QueryParam("style") String style, @Parameter(description="The format to be returned") @DefaultValue("html") @QueryParam("f") String format) |
Returns a feature given its feature id. More... | |
Response | queryables (@Parameter(description="The id of the collection to be considered") @PathParam("collectionid") String collectionid, @Parameter(description="The format in which the collection should be returned", example="geojson") @DefaultValue("html") @QueryParam("f") String format) |
Returns information about the queryables of ths given feature type. More... | |
Response | landingPageHTML (@Parameter(description="The format of the landingpage") @DefaultValue("html") @QueryParam("f") String format) |
Response | landingPageJSON (@Parameter(description="The format of the landingpage") @DefaultValue("json") @QueryParam("f") String format) |
Response | landingPageXML (@Parameter(description="The format of the landingpage") @DefaultValue("xml") @QueryParam("f") String format) |
Response | landingPage (@Parameter(description="The format of the landingpage") @DefaultValue("html") @QueryParam("f") String format) |
Returns the landing page of the OGC API Features service. More... | |
Response | getCollectionsMetadata (@Parameter(description="The format of the collection page") @DefaultValue("html") @QueryParam("f") String format) |
Returns the metadata of collections registered in the SemanticWFS. More... | |
Response | getCollectionMetadata (@PathParam("collectionid") String collectionid, @Parameter(description="The metadata schema to be used") @DefaultValue("gmd") @QueryParam("metadataformat") String mdformat, @Parameter(description="The format to downlift metadata") @DefaultValue("html") @QueryParam("f") String format, @DefaultValue("false") @QueryParam("collectioncall") String collectioncall) |
Gets metadata of a given collection. More... | |
Response | collectionInformationJSON ( @Parameter(description="The id of the collection to be considered") @PathParam("collectionid") String collectionid, @Parameter(description="The format in which the collection should be returned", example="geojson") @DefaultValue("json") @QueryParam("f") String format, @Parameter(description="The maximum amount of features to be returned", example="10") @DefaultValue("10") @QueryParam("limit") String limit, @Parameter(description="An offset to be considered when returning features", example="10") @DefaultValue("0") @QueryParam("offset") String offset, @Parameter(description="Defines a bounding box from which to return the given features") @QueryParam("bbox") String bbox) |
Response | collectionInformationXML ( @Parameter(description="The id of the collection to be considered") @PathParam("collectionid") String collectionid, @Parameter(description="The format in which the collection should be returned", example="geojson") @DefaultValue("xml") @QueryParam("f") String format, @Parameter(description="The maximum amount of features to be returned", example="10") @DefaultValue("10") @QueryParam("limit") String limit, @Parameter(description="An offset to be considered when returning features", example="10") @DefaultValue("0") @QueryParam("offset") String offset, @Parameter(description="Defines a bounding box from which to return the given features") @QueryParam("bbox") String bbox) |
Response | collectionInformationHTML ( @Parameter(description="The id of the collection to be considered") @PathParam("collectionid") String collectionid, @Parameter(description="The format in which the collection should be returned", example="geojson") @DefaultValue("html") @QueryParam("f") String format, @Parameter(description="The maximum amount of features to be returned", example="10") @DefaultValue("10") @QueryParam("limit") String limit, @Parameter(description="An offset to be considered when returning features", example="10") @DefaultValue("0") @QueryParam("offset") String offset, @Parameter(description="Defines a bounding box from which to return the given features") @QueryParam("bbox") String bbox) |
Response | docCollectionJSON ( @Parameter(description="The id of the collection to be considered") @PathParam("collectionid") String collectionid, @Parameter(description="The format if given as a file extension") @DefaultValue("") @PathParam("ext") String ext, @Parameter(description="The format in which the collection should be returned", example="ttl") @DefaultValue("ldapi") @QueryParam("_format") String format, @Parameter(description="The maximum amount of features to be returned", example="10") @DefaultValue("10") @QueryParam("_pageSize") Integer limit, @Parameter(description="An optional where statement to be used in the SPARQL query", example="10") @DefaultValue("") @QueryParam("_select") String select, @Parameter(description="An optional where statement to be used in the SPARQL query", example="10") @DefaultValue("") @QueryParam("_where") String where, @Parameter(description="The page of the Linked Data API resource to return", example="1") @DefaultValue("1") @QueryParam("_page") Integer page, @Parameter(description="Detailed or minimized view to be returned") @DefaultValue("") @QueryParam("_view") String view, @Parameter(description="The sorting of the given results") @DefaultValue("") @QueryParam("_sort") String sort, @Parameter(description="An optional orderBy statement to be used in the SPARQL query") @DefaultValue("") @QueryParam("_orderBy") String orderBy, @Parameter(description="A subclass definition of the class defining the featurecollection") @DefaultValue("") @QueryParam("type") String type, @Parameter(description="Defines resources with a specified parameter value to be returned") @DefaultValue("") @QueryParam("param") List< String > paramval, @Parameter(description="Defines resources with a specified parameter value greater or equal the given value to be returned") @DefaultValue("") @QueryParam("max-param") String maxparamval, @Parameter(description="Defines resources with a specified parameter value smaller or equal the given value to be returned") @DefaultValue("") @QueryParam("min-param") String minparamval, @Parameter(description="Defines resources with a specified parameter value greater than the given value to be returned") @DefaultValue("") @QueryParam("maxEx-param") String maxExparamval, @Parameter(description="Defines resources with a specified parameter value smaller than the given value to be returned") @DefaultValue("") @QueryParam("minEx-param") String minExparamval, @Parameter(description="Returns only resources with the specified parameter") @QueryParam("exists-param") String existsparam, @Parameter(description="An offset to be considered when returning features", example="10") @DefaultValue("0") @QueryParam("offset") Integer offset) |
Response | collectionInformation ( @Parameter(description="The id of the collection to be considered") @PathParam("collectionid") String collectionid, @Parameter(description="The format in which the collection should be returned", example="geojson") @DefaultValue("html") @QueryParam("f") String format, @Parameter(description="The maximum amount of features to be returned", example="10") @DefaultValue("10") @QueryParam("limit") String limit, @Parameter(description="An offset to be considered when returning features", example="10") @DefaultValue("0") @QueryParam("offset") String offset, @Parameter(description="Defines a bounding box from which to return the given features") @QueryParam("bbox") String bbox) |
Returns a given collection description or parts of it. More... | |
Response | getSchema ( @Parameter(description="The collection id for which to return the schema") @PathParam("collectionid") String collectionid, @Parameter(description="The format in which the schema should be returned", example="json") @DefaultValue("gml") @QueryParam("f") String format) |
Returns a schema of a given collection. More... | |
Response | collectionItemsJSON (@Context HttpHeaders headers, @Parameter(description="The id of the collection") @PathParam("collectionid") String collectionid, @Parameter(description="The format of the result") @DefaultValue("json") @QueryParam("f") String format, @Parameter(description="The query limit", style=ParameterStyle.FORM) @DefaultValue("10") @QueryParam("limit") Integer limit, @Parameter(description="The offset to consider when fetching items") @DefaultValue("0") @QueryParam("offset") Integer offset, @Parameter(description="A bounding box", style=ParameterStyle.FORM) @DefaultValue("") @QueryParam("bbox") String bbox, @Parameter(description="The styling of the item when returned") @DefaultValue("") @QueryParam("style") String style, @Parameter(description="The crs of the data to be returned") @DefaultValue("EPSG:4326") @QueryParam("crs") String crs, @Parameter(description="The crs of a given bounding box") @DefaultValue("") @QueryParam("bbox-crs") String bboxcrs, @Parameter(description="A filter expression") @DefaultValue("") @QueryParam("filter") String filter, @Parameter(description="The language in which the filter expression is formulated") @DefaultValue("") @QueryParam("filter-lang") String filterlang, @Parameter(description="A temporal filter expression") @DefaultValue("") @QueryParam("datetime") String datetime) |
Response | collectionItemsXML (@Context HttpHeaders headers, @Parameter(description="The id of the collection") @PathParam("collectionid") String collectionid, @Parameter(description="The format of the result") @DefaultValue("gml") @QueryParam("f") String format, @Parameter(description="The query limit", style=ParameterStyle.FORM) @DefaultValue("10") @QueryParam("limit") Integer limit, @Parameter(description="The offset to consider when fetching items") @DefaultValue("0") @QueryParam("offset") Integer offset, @Parameter(description="A bounding box", style=ParameterStyle.FORM) @DefaultValue("") @QueryParam("bbox") String bbox, @Parameter(description="The styling of the item when returned") @DefaultValue("") @QueryParam("style") String style, @Parameter(description="The crs of the data to be returned") @DefaultValue("EPSG:4326") @QueryParam("crs") String crs, @Parameter(description="The crs of a given bounding box") @DefaultValue("") @QueryParam("bbox-crs") String bboxcrs, @Parameter(description="A filter expression") @DefaultValue("") @QueryParam("filter") String filter, @Parameter(description="The language in which the filter expression is formulated") @DefaultValue("") @QueryParam("filter-lang") String filterlang, @Parameter(description="A temporal filter expression") @DefaultValue("") @QueryParam("datetime") String datetime) |
Response | collectionItemsHTML (@Context HttpHeaders headers, @Parameter(description="The id of the collection") @PathParam("collectionid") String collectionid, @Parameter(description="The format of the result") @DefaultValue("html") @QueryParam("f") String format, @Parameter(description="The query limit", style=ParameterStyle.FORM) @DefaultValue("10") @QueryParam("limit") Integer limit, @Parameter(description="The offset to consider when fetching items") @DefaultValue("0") @QueryParam("offset") Integer offset, @Parameter(description="A bounding box", style=ParameterStyle.FORM) @DefaultValue("") @QueryParam("bbox") String bbox, @Parameter(description="The styling of the item when returned") @DefaultValue("") @QueryParam("style") String style, @Parameter(description="The crs of the data to be returned") @DefaultValue("") @QueryParam("crs") String crs, @Parameter(description="The crs of a given bounding box") @DefaultValue("") @QueryParam("bbox-crs") String bboxcrs, @Parameter(description="A filter expression") @DefaultValue("") @QueryParam("filter") String filter, @Parameter(description="The language in which the filter expression is formulated") @DefaultValue("") @QueryParam("filter-lang") String filterlang, @Parameter(description="A temporal filter expression") @DefaultValue("") @QueryParam("datetime") String datetime) |
Response | collectionItems (@Context HttpHeaders headers, @Parameter(description="The id of the collection") @PathParam("collectionid") String collectionid, @Parameter(description="The format of the result") @DefaultValue("html") @QueryParam("f") String format, @Parameter(description="The query limit", style=ParameterStyle.FORM) @DefaultValue("10") @QueryParam("limit") Integer limit, @Parameter(description="The offset to consider when fetching items") @DefaultValue("0") @QueryParam("offset") Integer offset, @Parameter(description="The boundingbox to used for querying", style=ParameterStyle.FORM) @DefaultValue("") @QueryParam("bbox") String bbox, @Parameter(description="The styling of the item when returned") @DefaultValue("") @QueryParam("mapstyle") String style, @Parameter(description="The crs of the data to be returned") @DefaultValue("EPSG:4326") @QueryParam("crs") String crs, @Parameter(description="The crs of a given bounding box") @DefaultValue("") @QueryParam("bbox-crs") String bboxcrs, @Parameter(description="A filter expression") @DefaultValue("") @QueryParam("filter") String filter, @Parameter(description="The language in which the filter expression is formulated") @DefaultValue("") @QueryParam("filter-lang") String filterlang, @Parameter(description="A temporal filter expression", style=ParameterStyle.FORM) @DefaultValue("") @QueryParam("datetime") String datetime) |
Returns a number of features from a given featuretype. More... | |
Response | conformanceJSON (@Parameter(description="The format of the conformance page") @DefaultValue("json") @QueryParam("f") String format) |
Response | conformanceXML (@Parameter(description="The format of the conformance page") @DefaultValue("xml") @QueryParam("f") String format) |
Response | conformanceHTML (@Parameter(description="The format of the conformance page") @DefaultValue("html") @QueryParam("f") String format) |
Response | conformance (@Parameter(description="The format of the conformance page") @DefaultValue("html") @QueryParam("f") String format) |
Gets conformance information about the OGC API Features service. More... | |
Response | constructCapabilitiesWFS10 (String version, String versionnamespace) throws XMLStreamException |
Constructs a capabilities document for a WFS in version 1.0 . More... | |
Response | constructCapabilitiesCSW (String version, String versionnamespace) throws XMLStreamException |
Constructs a capabilities document for a CSW service . More... | |
Response | constructCapabilities (String version, String versionnamespace) throws XMLStreamException |
Constructs a capabilities document for a WFS in version 1.1 . More... | |
void | describeConformance (IndentingXMLStreamWriter writer, String versionnamespace, String namespace) throws XMLStreamException |
Describes the conformance part of a WFS webservices. More... | |
Response | getCapabilities ( @Parameter(description="The version of the WFS service to target") @DefaultValue("2.0.0") @QueryParam("version") String version) throws XMLStreamException |
Returns the capabilities document for a WFS service. More... | |
void | describeFeatureTypeWFS10 (XMLStreamWriter writer, JSONObject featuretype, String versionnamespace, String version) throws XMLStreamException |
Describes a feature type according to the WFS1.0 specification. More... | |
void | describeFeatureType (XMLStreamWriter writer, JSONObject featuretype, String versionnamespace, String version) throws XMLStreamException |
Creates a feature type description. More... | |
void | describeSpatialCapabilities (XMLStreamWriter writer, String versionnamespace, String namespace) throws XMLStreamException |
Writes the spatial capabilities part of the WFS document. More... | |
void | describeSpatialCapabilitiesWFS10 (XMLStreamWriter writer, String versionnamespace, String namespace) throws XMLStreamException |
Creates the spatial capabilities document for a WFS in version 1.0. More... | |
void | describeScalarCapabilities (XMLStreamWriter writer, String versionnamespace, String namespace) throws XMLStreamException |
Writes the scalar capabilities document for a WFS. More... | |
Response | describeFeatureType ( @Parameter(description="The feature type name to describe") @QueryParam("typename") String typename, @Parameter(description="The version of the WFS service") @DefaultValue("version") @QueryParam("version") String version) throws XMLStreamException |
Describes a feature type as an answer to a WFS request. More... | |
Response | describeFeatureTypeJSON ( @Parameter(description="The feature type to describe") @QueryParam("typename") String typename, @Parameter(description="The version of the WFS service") @DefaultValue("version") @QueryParam("version") String version) |
Describes a feature type in JSON. More... | |
Response | getGeoClassesFromOntology ( @Parameter(description="The SPARQL endpoint to load classes from") @QueryParam("endpoint") String endpoint) |
Gets geospatial classes from a SPARQL endpoint. More... | |
Response | getEndpoints () |
Gets available SPARQL endpoitns from the triplestore configuration. More... | |
Response | getPropertiesByClass ( @Parameter(description="The SPARQL endpoint to load properties from") @QueryParam("endpoint") String endpoint, @Parameter(description="The class from which properties should be loaded") @QueryParam("class") String classs) |
Gets available properties associated with a certain class. More... | |
Response | getFeature (@QueryParam("typename") String typename, @Parameter(description="The output format of the WFS service request") @DefaultValue("json") @QueryParam("outputFormat") String output, @Parameter(description="The amount of features to be returned", example="10") @DefaultValue("10") @QueryParam("count") String count, @Parameter(description="The starting index of the WFS request") @DefaultValue("0") @QueryParam("startindex") String startindex, @Parameter(description="The name of the CRS to be used") @DefaultValue("") @QueryParam("srsName") String srsName, @Parameter(description="Indicates the sorting order") @DefaultValue("ASC") @QueryParam("sortBy") String sortBy, @Parameter(description="The style to apply to the returned collection if any") @DefaultValue("") @QueryParam("mapstyles") String style, @Parameter(description="The version of the WFS", example="2.0.0") @DefaultValue("2.0.0") @QueryParam("version") String version, @Parameter(description="Indicates a specific resource id to be queried") @DefaultValue("") @QueryParam("resourceid") String resourceids, @Parameter(description="A WFS filter expression") @DefaultValue("") @QueryParam("filter") String filter, @Parameter(description="The filter language to be used in the filterExpression parameter") @DefaultValue("CQL") @QueryParam("filterLanguage") String filterLanguage, @Parameter(description="The result type to return") @DefaultValue("results") @QueryParam("resultType") String resultType) throws JSONException, XMLStreamException |
Response | getGmlObject (@QueryParam("typename") String typename, @QueryParam("GmlObjectId") String gmlobjectid, @DefaultValue("4") @QueryParam("traverseXlinkDepth") String traverseXlinkDepth, @DefaultValue("gml") @QueryParam("outputFormat") String output) |
Response | getPropertyValue ( @Parameter(description="Feature type to query") @QueryParam("typename") String typename, @QueryParam("valuereference") String propertyname, @DefaultValue("json") @QueryParam("outputFormat") String output, @DefaultValue("") @QueryParam("resourceids") String resourceids, @DefaultValue("") @QueryParam("filter") String filter, @DefaultValue("0") @QueryParam("count") String count, @DefaultValue("results") @QueryParam("resultType") String resultType) |
Boolean | addFeatureType ( @Parameter(description="The SPARQL query used to retrive the feature type") @QueryParam("query") String sparqlQuery, @Parameter(description="The featuretype name") @QueryParam("typename") String name, @Parameter(description="The variable indicating the individual in the query") @DefaultValue("item") @QueryParam("indvar") String indvar, @Parameter(description="The limit of the initial sample to retrieve") @DefaultValue("500") @QueryParam("bboxlimit") String bboxlimit, @Parameter(description="The class to query") @QueryParam("class") String classs, @Parameter(description="The service type which is queried") @DefaultValue("WFS") @QueryParam("type") String type, @Parameter(description="The feature type description") @DefaultValue("") @QueryParam("description") String description, @Parameter(description="The EPSG of the feature type to be added") @DefaultValue("EPSG:4326") @QueryParam("targetCRS") String targetCRS, @Parameter(description="The namespace used for the feature type") @QueryParam("namespace") String namespace, @Parameter(description="The triple store to query when loading the feature type") @QueryParam("triplestore") String triplestore, @Parameter(description="The username needed for authentication") @DefaultValue("") @QueryParam("username") String username, @Parameter(description="The password needed for authentication") @DefaultValue("") @QueryParam("password") String password, @Parameter(description="The authtoken for authentication") @DefaultValue("") @QueryParam("authtoken") String authtoken) |
Adds a feature type to the SemanticWFS. More... | |
Boolean | addEndpoint (@Parameter(description="The name of the SPARQL endpoint to add") @QueryParam("name") String name, @Parameter(description="The address of the SPARQL endpoint") @QueryParam("endpoint") String endpoint, @Parameter(description="The type property used in this SPARQL endpoint") @QueryParam("typerel") String typerel, @Parameter(description="The geometry property used by this SPARQL endpoint") @QueryParam("georel") String georel, @Parameter(description="Username for authorization") @QueryParam("username") String username, @Parameter(description="Password for authorization") @QueryParam("password") String password, @Parameter(description="Authtoken if the user is already logged in") @DefaultValue("") @QueryParam("authtoken") String authtoken) |
Adds a SPARQL endpoint to the triplestoreconf configuration. More... | |
Boolean | saveFeatureTypes ( @Parameter(description="JSON object containing feature types to be saved") @QueryParam("featjson") String featureTypesJSON, @Parameter(description="Authtoken for authorization") @DefaultValue("") @QueryParam("authtoken") String authtoken) |
Saves feature types in the SemanticWFS Service. More... | |
Response | login (@Parameter(description="Username for authorization") @QueryParam("username") String username, @Parameter(description="Password for authorization") @QueryParam("password") String password) |
Performs a login returning an authtoken if successful. More... | |
String | getFeatureTypes () |
Returns featuretypes known by the SemanticWFS service. More... | |
String | prefixes () |
Returns prefixes known by the SemanticWFS service. More... | |
String | addPrefixes (@QueryParam("query") String sparqlQuery, @QueryParam("typename") String name, @QueryParam("namespace") String namespace, @QueryParam("triplestore") String triplestore) |
Response | queryConfigs () |
Returns the query configuration document. More... | |
String | queryService ( @Parameter(description="SPARQL query to be resolved") @QueryParam("query") String query, @Parameter(description="SPARQL endpoint to query") @QueryParam("endpoint") String endpoint) |
Exposes a query service which returns a SPARQL query result as REST. More... | |
String | queryService ( @Parameter(description="SPARQL query to be resolved") @QueryParam("query") String query, @Parameter(description="SPARQL endpoint to be queried") @QueryParam("endpoint") String endpoint, @Parameter(description="Indicates whether geojson should be returned to be shown in a map view") @QueryParam("geojson") String geojson) |
Exposes a query service which returns a SPARQL query result as REST. More... | |
String | transaction () |
Transaction method of the WFS specification. More... | |
String | lockFeature () |
Lock Feature method of the WFS specification. More... | |
Public Attributes | |
XMLStreamWriter | xmlwriter |
String | SERVICETYPEVERSION = "2.0.0" |
String | SERVERURL = "http://localhost:8080/WFSGeoSPARQL/rest/wfs?" |
Static Public Attributes | |
static JSONObject | triplestoreconf = null |
static JSONObject | wfsconf = null |
static final MediaType | openapijson =new MediaType("application", "vnd.oai.openapi+json;version=3.0") |
static Map< String, Map< String, String > > | featureTypeCache = new TreeMap<>() |
static Map< String, Map< String, String > > | nameSpaceCache = new TreeMap<>() |
static Map< String, Tuple< Date, String > > | hitCache = new TreeMap<>() |
static Map< String, Map< String, StyleObject > > | styleCache = new TreeMap<>() |
static Map< String, Double[]> | bboxCache = new TreeMap<>() |
static long | milliesInDays = 24 * 60 * 60 * 1000 |
Package Attributes | |
String | htmlHead |
Implements OGC API Features and WFS webservice functionality.
WebService | ( | ) | throws IOException |
Constructor for this class.
Loads configuration files and performs initializations.
IOException | on error |
Boolean addEndpoint | ( | @Parameter(description="The name of the SPARQL endpoint to add") @QueryParam("name") String | name, |
@Parameter(description="The address of the SPARQL endpoint") @QueryParam("endpoint") String | endpoint, | ||
@Parameter(description="The type property used in this SPARQL endpoint") @QueryParam("typerel") String | typerel, | ||
@Parameter(description="The geometry property used by this SPARQL endpoint") @QueryParam("georel") String | georel, | ||
@Parameter(description="Username for authorization") @QueryParam("username") String | username, | ||
@Parameter(description="Password for authorization") @QueryParam("password") String | password, | ||
@Parameter(description="Authtoken if the user is already logged in") @DefaultValue("") @QueryParam("authtoken") String | authtoken | ||
) |
Adds a SPARQL endpoint to the triplestoreconf configuration.
name | The name of the SPARQL endpoint |
endpoint | The SPARQL endpoint address |
typerel | The type relation of the SPARQL endpoint |
georel | The geometrical relation of the SPARQL endpoint |
username | A username required to save the configuration |
password | A password required to save the configuration |
authtoken | An authtoken authorizing the configuration |
References UserType.Administrator, UserType.Configurer, UserManagementConnection.getInstance(), User.getUserlevel(), and UserManagementConnection.loginAuthToken().
Boolean addFeatureType | ( | @Parameter(description="The SPARQL query used to retrive the feature type") @QueryParam("query") String | sparqlQuery, |
@Parameter(description="The featuretype name") @QueryParam("typename") String | name, | ||
@Parameter(description="The variable indicating the individual in the query") @DefaultValue("item") @QueryParam("indvar") String | indvar, | ||
@Parameter(description="The limit of the initial sample to retrieve") @DefaultValue("500") @QueryParam("bboxlimit") String | bboxlimit, | ||
@Parameter(description="The class to query") @QueryParam("class") String | classs, | ||
@Parameter(description="The service type which is queried") @DefaultValue("WFS") @QueryParam("type") String | type, | ||
@Parameter(description="The feature type description") @DefaultValue("") @QueryParam("description") String | description, | ||
@Parameter(description="The EPSG of the feature type to be added") @DefaultValue("EPSG:4326") @QueryParam("targetCRS") String | targetCRS, | ||
@Parameter(description="The namespace used for the feature type") @QueryParam("namespace") String | namespace, | ||
@Parameter(description="The triple store to query when loading the feature type") @QueryParam("triplestore") String | triplestore, | ||
@Parameter(description="The username needed for authentication") @DefaultValue("") @QueryParam("username") String | username, | ||
@Parameter(description="The password needed for authentication") @DefaultValue("") @QueryParam("password") String | password, | ||
@Parameter(description="The authtoken for authentication") @DefaultValue("") @QueryParam("authtoken") String | authtoken | ||
) |
Adds a feature type to the SemanticWFS.
sparqlQuery | The SPARQL query to be used by this feature type. |
name | The feature type name |
indvar | The individual variable |
bboxlimit | |
classs | |
type | |
description | |
targetCRS | |
namespace | |
triplestore | |
username | |
password | |
authtoken |
References UserType.Administrator, UserType.Configurer, UserManagementConnection.getInstance(), User.getUserlevel(), and UserManagementConnection.loginAuthToken().
String addPrefixes | ( | @QueryParam("query") String | sparqlQuery, |
@QueryParam("typename") String | name, | ||
@QueryParam("namespace") String | namespace, | ||
@QueryParam("triplestore") String | triplestore | ||
) |
Response collectionInformation | ( | @Parameter(description="The id of the collection to be considered") @PathParam("collectionid") String | collectionid, |
@Parameter(description="The format in which the collection should be returned", example="geojson") @DefaultValue("html") @QueryParam("f") String | format, | ||
@Parameter(description="The maximum amount of features to be returned", example="10") @DefaultValue("10") @QueryParam("limit") String | limit, | ||
@Parameter(description="An offset to be considered when returning features", example="10") @DefaultValue("0") @QueryParam("offset") String | offset, | ||
@Parameter(description="Defines a bounding box from which to return the given features") @QueryParam("bbox") String | bbox | ||
) |
Returns a given collection description or parts of it.
collectionid | The id of the collection to be considered |
format | The format in which to return the collection |
limit | The maximum amount of features to return |
offset | The offset from which to start returning features |
bbox | The boundingbox in which the returned features should fit |
References ResultFormatter.definition, TripleStoreConnector.getFeatureTypeInformation(), ResultFormatter.getFormatter(), ResultFormatter.labelMap, ResultFormatter.resultMap, and ResultFormatter.urlformat.
Response collectionInformationHTML | ( | @Parameter(description="The id of the collection to be considered") @PathParam("collectionid") String | collectionid, |
@Parameter(description="The format in which the collection should be returned", example="geojson") @DefaultValue("html") @QueryParam("f") String | format, | ||
@Parameter(description="The maximum amount of features to be returned", example="10") @DefaultValue("10") @QueryParam("limit") String | limit, | ||
@Parameter(description="An offset to be considered when returning features", example="10") @DefaultValue("0") @QueryParam("offset") String | offset, | ||
@Parameter(description="Defines a bounding box from which to return the given features") @QueryParam("bbox") String | bbox | ||
) |
Response collectionInformationJSON | ( | @Parameter(description="The id of the collection to be considered") @PathParam("collectionid") String | collectionid, |
@Parameter(description="The format in which the collection should be returned", example="geojson") @DefaultValue("json") @QueryParam("f") String | format, | ||
@Parameter(description="The maximum amount of features to be returned", example="10") @DefaultValue("10") @QueryParam("limit") String | limit, | ||
@Parameter(description="An offset to be considered when returning features", example="10") @DefaultValue("0") @QueryParam("offset") String | offset, | ||
@Parameter(description="Defines a bounding box from which to return the given features") @QueryParam("bbox") String | bbox | ||
) |
Response collectionInformationXML | ( | @Parameter(description="The id of the collection to be considered") @PathParam("collectionid") String | collectionid, |
@Parameter(description="The format in which the collection should be returned", example="geojson") @DefaultValue("xml") @QueryParam("f") String | format, | ||
@Parameter(description="The maximum amount of features to be returned", example="10") @DefaultValue("10") @QueryParam("limit") String | limit, | ||
@Parameter(description="An offset to be considered when returning features", example="10") @DefaultValue("0") @QueryParam("offset") String | offset, | ||
@Parameter(description="Defines a bounding box from which to return the given features") @QueryParam("bbox") String | bbox | ||
) |
Response collectionItems | ( | @Context HttpHeaders | headers, |
@Parameter(description="The id of the collection") @PathParam("collectionid") String | collectionid, | ||
@Parameter(description="The format of the result") @DefaultValue("html") @QueryParam("f") String | format, | ||
@Parameter(description="The query limit", style=ParameterStyle.FORM) @DefaultValue("10") @QueryParam("limit") Integer | limit, | ||
@Parameter(description="The offset to consider when fetching items") @DefaultValue("0") @QueryParam("offset") Integer | offset, | ||
@Parameter(description="The boundingbox to used for querying", style=ParameterStyle.FORM) @DefaultValue("") @QueryParam("bbox") String | bbox, | ||
@Parameter(description="The styling of the item when returned") @DefaultValue("") @QueryParam("mapstyle") String | style, | ||
@Parameter(description="The crs of the data to be returned") @DefaultValue("EPSG:4326") @QueryParam("crs") String | crs, | ||
@Parameter(description="The crs of a given bounding box") @DefaultValue("") @QueryParam("bbox-crs") String | bboxcrs, | ||
@Parameter(description="A filter expression") @DefaultValue("") @QueryParam("filter") String | filter, | ||
@Parameter(description="The language in which the filter expression is formulated") @DefaultValue("") @QueryParam("filter-lang") String | filterlang, | ||
@Parameter(description="A temporal filter expression", style=ParameterStyle.FORM) @DefaultValue("") @QueryParam("datetime") String | datetime | ||
) |
Returns a number of features from a given featuretype.
collectionid | The featuretype to return from |
format | The format of the result |
limit | The maximum amount of features to return |
offset | The offset from which to return features |
bbox | The bounding box in which features which should be returned are contained |
style | The style to apply |
bboxcrs | The CRS of the boundingbox to apply |
filter | A filter expression |
filterlang | The filter expression language |
datetime | A time constraint |
References TripleStoreConnector.executeQuery(), ResultFormatter.fileextension, TripleStoreConnector.getFeatureTypeInformation(), ResultFormatter.getFormatter(), ResultFormatter.mimeType, WebService.nameSpaceCache, and ResultFormatter.resultMap.
Response collectionItemsHTML | ( | @Context HttpHeaders | headers, |
@Parameter(description="The id of the collection") @PathParam("collectionid") String | collectionid, | ||
@Parameter(description="The format of the result") @DefaultValue("html") @QueryParam("f") String | format, | ||
@Parameter(description="The query limit", style=ParameterStyle.FORM) @DefaultValue("10") @QueryParam("limit") Integer | limit, | ||
@Parameter(description="The offset to consider when fetching items") @DefaultValue("0") @QueryParam("offset") Integer | offset, | ||
@Parameter(description="A bounding box", style=ParameterStyle.FORM) @DefaultValue("") @QueryParam("bbox") String | bbox, | ||
@Parameter(description="The styling of the item when returned") @DefaultValue("") @QueryParam("style") String | style, | ||
@Parameter(description="The crs of the data to be returned") @DefaultValue("") @QueryParam("crs") String | crs, | ||
@Parameter(description="The crs of a given bounding box") @DefaultValue("") @QueryParam("bbox-crs") String | bboxcrs, | ||
@Parameter(description="A filter expression") @DefaultValue("") @QueryParam("filter") String | filter, | ||
@Parameter(description="The language in which the filter expression is formulated") @DefaultValue("") @QueryParam("filter-lang") String | filterlang, | ||
@Parameter(description="A temporal filter expression") @DefaultValue("") @QueryParam("datetime") String | datetime | ||
) |
Response collectionItemsJSON | ( | @Context HttpHeaders | headers, |
@Parameter(description="The id of the collection") @PathParam("collectionid") String | collectionid, | ||
@Parameter(description="The format of the result") @DefaultValue("json") @QueryParam("f") String | format, | ||
@Parameter(description="The query limit", style=ParameterStyle.FORM) @DefaultValue("10") @QueryParam("limit") Integer | limit, | ||
@Parameter(description="The offset to consider when fetching items") @DefaultValue("0") @QueryParam("offset") Integer | offset, | ||
@Parameter(description="A bounding box", style=ParameterStyle.FORM) @DefaultValue("") @QueryParam("bbox") String | bbox, | ||
@Parameter(description="The styling of the item when returned") @DefaultValue("") @QueryParam("style") String | style, | ||
@Parameter(description="The crs of the data to be returned") @DefaultValue("EPSG:4326") @QueryParam("crs") String | crs, | ||
@Parameter(description="The crs of a given bounding box") @DefaultValue("") @QueryParam("bbox-crs") String | bboxcrs, | ||
@Parameter(description="A filter expression") @DefaultValue("") @QueryParam("filter") String | filter, | ||
@Parameter(description="The language in which the filter expression is formulated") @DefaultValue("") @QueryParam("filter-lang") String | filterlang, | ||
@Parameter(description="A temporal filter expression") @DefaultValue("") @QueryParam("datetime") String | datetime | ||
) |
Response collectionItemsXML | ( | @Context HttpHeaders | headers, |
@Parameter(description="The id of the collection") @PathParam("collectionid") String | collectionid, | ||
@Parameter(description="The format of the result") @DefaultValue("gml") @QueryParam("f") String | format, | ||
@Parameter(description="The query limit", style=ParameterStyle.FORM) @DefaultValue("10") @QueryParam("limit") Integer | limit, | ||
@Parameter(description="The offset to consider when fetching items") @DefaultValue("0") @QueryParam("offset") Integer | offset, | ||
@Parameter(description="A bounding box", style=ParameterStyle.FORM) @DefaultValue("") @QueryParam("bbox") String | bbox, | ||
@Parameter(description="The styling of the item when returned") @DefaultValue("") @QueryParam("style") String | style, | ||
@Parameter(description="The crs of the data to be returned") @DefaultValue("EPSG:4326") @QueryParam("crs") String | crs, | ||
@Parameter(description="The crs of a given bounding box") @DefaultValue("") @QueryParam("bbox-crs") String | bboxcrs, | ||
@Parameter(description="A filter expression") @DefaultValue("") @QueryParam("filter") String | filter, | ||
@Parameter(description="The language in which the filter expression is formulated") @DefaultValue("") @QueryParam("filter-lang") String | filterlang, | ||
@Parameter(description="A temporal filter expression") @DefaultValue("") @QueryParam("datetime") String | datetime | ||
) |
Response collections | ( | @Parameter(description="Return format", style=ParameterStyle.FORM) @DefaultValue("html") @QueryParam("f") String | format | ) |
Returns a list of feature types/collections.
format | The format in which the result is returned |
References ResultFormatter.getFormatter(), ResultFormatter.mimeType, and ResultFormatter.resultMap.
Response collectionsHTML | ( | @Parameter(description="Return format") @DefaultValue("html") @QueryParam("f") String | format | ) |
Response collectionsJSON | ( | @Parameter(description="Return format") @DefaultValue("json") @QueryParam("f") String | format | ) |
Response collectionsXML | ( | @Parameter(description="Return format") @DefaultValue("xml") @QueryParam("f") String | format | ) |
Response conformance | ( | @Parameter(description="The format of the conformance page") @DefaultValue("html") @QueryParam("f") String | format | ) |
Gets conformance information about the OGC API Features service.
format | The return format for the conformance declaration |
Response conformanceHTML | ( | @Parameter(description="The format of the conformance page") @DefaultValue("html") @QueryParam("f") String | format | ) |
Response conformanceJSON | ( | @Parameter(description="The format of the conformance page") @DefaultValue("json") @QueryParam("f") String | format | ) |
Response conformanceXML | ( | @Parameter(description="The format of the conformance page") @DefaultValue("xml") @QueryParam("f") String | format | ) |
Response constructCapabilities | ( | String | version, |
String | versionnamespace | ||
) | throws XMLStreamException |
Constructs a capabilities document for a WFS in version 1.1 .
version | The version of the WFS service |
versionnamespace | The namespace to use |
XMLStreamException | on error |
Response constructCapabilitiesCSW | ( | String | version, |
String | versionnamespace | ||
) | throws XMLStreamException |
Constructs a capabilities document for a CSW service .
version | The version of the WFS service |
versionnamespace | The namespace to use |
XMLStreamException | on error |
Response constructCapabilitiesWFS10 | ( | String | version, |
String | versionnamespace | ||
) | throws XMLStreamException |
Constructs a capabilities document for a WFS in version 1.0 .
version | The version of the WFS service |
versionnamespace | The namespace to use |
XMLStreamException | on error |
References ResultFormatter.resultMap.
Response createExceptionResponse | ( | Exception | e, |
String | format | ||
) |
Generates an exception response.
e | The exception to get the message from |
format | The return format |
void describeConformance | ( | IndentingXMLStreamWriter | writer, |
String | versionnamespace, | ||
String | namespace | ||
) | throws XMLStreamException |
Describes the conformance part of a WFS webservices.
writer | The XML writer |
versionnamespace | The versionnamespace |
namespace | The namespace to follow |
XMLStreamException | on error |
Response describeFeatureType | ( | @Parameter(description="The feature type name to describe") @QueryParam("typename") String | typename, |
@Parameter(description="The version of the WFS service") @DefaultValue("version") @QueryParam("version") String | version | ||
) | throws XMLStreamException |
Describes a feature type as an answer to a WFS request.
typename | The feature type to describe |
version | The version of the WFS |
XMLStreamException | on error |
References TripleStoreConnector.getFeatureTypeInformation().
void describeFeatureType | ( | XMLStreamWriter | writer, |
JSONObject | featuretype, | ||
String | versionnamespace, | ||
String | version | ||
) | throws XMLStreamException |
Creates a feature type description.
writer | the XMLWriter for writing the feature type description |
featuretype | the feature type to describe |
versionnamespace | the versionnamespace to use |
version | the version to write |
XMLStreamException | on error |
References TripleStoreConnector.getBoundingBoxFromTripleStoreData(), and ResultFormatter.resultMap.
Response describeFeatureTypeJSON | ( | @Parameter(description="The feature type to describe") @QueryParam("typename") String | typename, |
@Parameter(description="The version of the WFS service") @DefaultValue("version") @QueryParam("version") String | version | ||
) |
Describes a feature type in JSON.
typename | The type name to describe |
version | The version of the WFS |
References TripleStoreConnector.getFeatureTypeInformation().
void describeFeatureTypeWFS10 | ( | XMLStreamWriter | writer, |
JSONObject | featuretype, | ||
String | versionnamespace, | ||
String | version | ||
) | throws XMLStreamException |
Describes a feature type according to the WFS1.0 specification.
writer | XMLWriter to write the specification |
featuretype | the feature type to consider |
versionnamespace | the versionnamespace to write |
version | the version to use |
XMLStreamException | on error |
References TripleStoreConnector.getBoundingBoxFromTripleStoreData(), and ResultFormatter.resultMap.
void describeScalarCapabilities | ( | XMLStreamWriter | writer, |
String | versionnamespace, | ||
String | namespace | ||
) | throws XMLStreamException |
Writes the scalar capabilities document for a WFS.
writer | The XMLStreamWriter to write the capabilities document with |
versionnamespace | The versionnamespace to use |
namespace | The namespace to use for writing |
XMLStreamException | on error |
void describeSpatialCapabilities | ( | XMLStreamWriter | writer, |
String | versionnamespace, | ||
String | namespace | ||
) | throws XMLStreamException |
Writes the spatial capabilities part of the WFS document.
writer | The XMLWriter to write the document part |
versionnamespace | The versionnamespace to write |
namespace | The namespace to use |
XMLStreamException | on error |
void describeSpatialCapabilitiesWFS10 | ( | XMLStreamWriter | writer, |
String | versionnamespace, | ||
String | namespace | ||
) | throws XMLStreamException |
Creates the spatial capabilities document for a WFS in version 1.0.
writer | The XMLWriter to write the documentation with |
versionnamespace | The versionnamespace to use for writing |
namespace | The namespace to use |
XMLStreamException | on error |
Response docCollectionItemJSON | ( | @Parameter(description="The id of the collection to be considered") @PathParam("collectionid") String | collectionid, |
@Parameter(description="The id of the feature to be considered") @PathParam("ext") String | ext, | ||
@Parameter(description="The id of the feature to be considered") @PathParam("featureid") String | featureid, | ||
@Parameter(description="The format in which the collection should be returned", example="geojson") @DefaultValue("ldapi") @QueryParam("_format") String | format, | ||
@Parameter(description="The maximum amount of features to be returned", example="10") @DefaultValue("10") @QueryParam("_pageSize") Integer | limit, | ||
@Parameter(description="An optional where statement to be used in the SPARQL query", example="10") @DefaultValue("") @QueryParam("_select") String | select, | ||
@Parameter(description="An optional where statement to be used in the SPARQL query", example="10") @DefaultValue("") @QueryParam("_where") String | where, | ||
@Parameter(description="The page of the Linked Data API resource to return", example="1") @DefaultValue("1") @QueryParam("_page") Integer | page, | ||
@Parameter(description="Detailed or minimized view to be returned") @DefaultValue("") @QueryParam("_view") String | view, | ||
@Parameter(description="The sorting of the given results") @DefaultValue("") @QueryParam("_sort") String | sort, | ||
@Parameter(description="An optional orderBy statement to be used in the SPARQL query") @DefaultValue("") @QueryParam("_orderBy") String | orderBy, | ||
@Parameter(description="A subclass definition of the class defining the featurecollection") @DefaultValue("") @QueryParam("type") String | type, | ||
@Parameter(description="Defines resources with a specified parameter value to be returned") @DefaultValue("") @QueryParam("param") List< String > | paramval, | ||
@Parameter(description="Defines resources with a specified parameter value greater or equal the given value to be returned") @DefaultValue("") @QueryParam("max-param") String | maxparamval, | ||
@Parameter(description="Defines resources with a specified parameter value smaller or equal the given value to be returned") @DefaultValue("") @QueryParam("min-param") String | minparamval, | ||
@Parameter(description="Defines resources with a specified parameter value greater than the given value to be returned") @DefaultValue("") @QueryParam("maxEx-param") String | maxExparamval, | ||
@Parameter(description="Defines resources with a specified parameter value smaller than the given value to be returned") @DefaultValue("") @QueryParam("minEx-param") String | minExparamval, | ||
@Parameter(description="Returns only resources with the specified parameter") @QueryParam("exists-param") String | existsparam, | ||
@Parameter(description="An offset to be considered when returning features", example="10") @DefaultValue("0") @QueryParam("offset") String | offset | ||
) |
References TripleStoreConnector.executeLDAPIQuery(), ResultFormatter.fileextension, ResultFormatter.getFormatter(), and ResultFormatter.mimeType.
Response docCollectionJSON | ( | @Parameter(description="The id of the collection to be considered") @PathParam("collectionid") String | collectionid, |
@Parameter(description="The format if given as a file extension") @DefaultValue("") @PathParam("ext") String | ext, | ||
@Parameter(description="The format in which the collection should be returned", example="ttl") @DefaultValue("ldapi") @QueryParam("_format") String | format, | ||
@Parameter(description="The maximum amount of features to be returned", example="10") @DefaultValue("10") @QueryParam("_pageSize") Integer | limit, | ||
@Parameter(description="An optional where statement to be used in the SPARQL query", example="10") @DefaultValue("") @QueryParam("_select") String | select, | ||
@Parameter(description="An optional where statement to be used in the SPARQL query", example="10") @DefaultValue("") @QueryParam("_where") String | where, | ||
@Parameter(description="The page of the Linked Data API resource to return", example="1") @DefaultValue("1") @QueryParam("_page") Integer | page, | ||
@Parameter(description="Detailed or minimized view to be returned") @DefaultValue("") @QueryParam("_view") String | view, | ||
@Parameter(description="The sorting of the given results") @DefaultValue("") @QueryParam("_sort") String | sort, | ||
@Parameter(description="An optional orderBy statement to be used in the SPARQL query") @DefaultValue("") @QueryParam("_orderBy") String | orderBy, | ||
@Parameter(description="A subclass definition of the class defining the featurecollection") @DefaultValue("") @QueryParam("type") String | type, | ||
@Parameter(description="Defines resources with a specified parameter value to be returned") @DefaultValue("") @QueryParam("param") List< String > | paramval, | ||
@Parameter(description="Defines resources with a specified parameter value greater or equal the given value to be returned") @DefaultValue("") @QueryParam("max-param") String | maxparamval, | ||
@Parameter(description="Defines resources with a specified parameter value smaller or equal the given value to be returned") @DefaultValue("") @QueryParam("min-param") String | minparamval, | ||
@Parameter(description="Defines resources with a specified parameter value greater than the given value to be returned") @DefaultValue("") @QueryParam("maxEx-param") String | maxExparamval, | ||
@Parameter(description="Defines resources with a specified parameter value smaller than the given value to be returned") @DefaultValue("") @QueryParam("minEx-param") String | minExparamval, | ||
@Parameter(description="Returns only resources with the specified parameter") @QueryParam("exists-param") String | existsparam, | ||
@Parameter(description="An offset to be considered when returning features", example="10") @DefaultValue("0") @QueryParam("offset") Integer | offset | ||
) |
References TripleStoreConnector.executeLDAPIQuery(), ResultFormatter.fileextension, ResultFormatter.getFormatter(), ResultFormatter.mimeType, and WebService.triplestoreconf.
Response docJSON | ( | @Parameter(description="Return format") @DefaultValue("json") @QueryParam("f") String | format | ) |
Response entryPoint | ( | @Parameter(description="Service type") @DefaultValue("WFS") @QueryParam("SERVICE") String | service, |
@Parameter(description="Request type") @DefaultValue("GetCapabilities") @QueryParam("REQUEST") String | request, | ||
@Parameter(description="Service version") @DefaultValue("2.0.0") @QueryParam("VERSION") String | version, | ||
@Parameter(description="Feature type names") @DefaultValue("") @QueryParam("TYPENAME") String | typename, | ||
@Parameter(description="Feature type names") @DefaultValue("") @QueryParam("TYPENAMES") String | typenames, | ||
@Parameter(description="CRS type") @DefaultValue("") @QueryParam("SRSNAME") String | srsName, | ||
@DefaultValue("gml") @QueryParam("EXCEPTIONS") String | exceptions, | ||
@Parameter(description="Bounding box for filtering the results") @DefaultValue("") @QueryParam("BBOX") String | bbox, | ||
@DefaultValue("") @QueryParam("VALUEREFERENCE") String | propertyname, | ||
@Parameter(description="Sorting order") @DefaultValue("ASC") @QueryParam("SORTBY") String | sortBy, | ||
@DefaultValue("") @QueryParam("STYLES") String | style, | ||
@DefaultValue("results") @QueryParam("RESULTTYPE") String | resultType, | ||
@DefaultValue("") @QueryParam("RESOURCEID") String | resourceids, | ||
@DefaultValue("") @QueryParam("GMLOBJECTID") String | gmlobjectid, | ||
@DefaultValue("0") @QueryParam("STARTINDEX") String | startindex, | ||
@Parameter(description="Filter expression") @DefaultValue("") @QueryParam("FILTER") String | filter, | ||
@Parameter(description="Filter query language") @DefaultValue("") @QueryParam("FILTERLANGUAGE") String | filterLanguage, | ||
@Parameter(description="Return format") @DefaultValue("gml") @QueryParam("OUTPUTFORMAT") String | output, | ||
@Parameter(description="Maximum amount of results to return") @DefaultValue("5") @QueryParam("COUNT") String | count | ||
) |
WFS endpoint implementation.
service | The service identifier |
request | The request identifier |
version | The service version |
typename | The feature type name to request |
typenames | The feature type name to request |
srsName | |
exceptions | |
bbox | |
propertyname | |
sortBy | |
style | |
resultType | |
resourceids | |
gmlobjectid | |
startindex | |
filter | |
filterLanguage | |
output | |
count |
Response entryPointCSW | ( | @Parameter(description="Service type") @DefaultValue("CSW") @QueryParam("SERVICE") String | service, |
@Parameter(description="Request type") @DefaultValue("GetCapabilities") @QueryParam("REQUEST") String | request, | ||
@Parameter(description="Version of the webservice") @DefaultValue("2.0.2") @QueryParam("VERSION") String | version, | ||
@Parameter(description="Feature type names") @DefaultValue("") @QueryParam("TYPENAME") String | typename, | ||
@Parameter(description="Feature type names") @DefaultValue("") @QueryParam("TYPENAMES") String | typenames, | ||
@Parameter(description="Return type") @DefaultValue("gml") @QueryParam("OUTPUTFORMAT") String | output | ||
) |
CSW endpoint implementation.
service | The service identifier |
request | The request identifier |
version | The service version |
typename | The feature type name to request |
typenames | The feature type name to request |
output | The requested return format |
Response entryPointCSWPost | ( | @DefaultValue("CSW") @QueryParam("SERVICE") String | service, |
@DefaultValue("GetCapabilities") @QueryParam("REQUEST") String | request, | ||
@DefaultValue("2.0.2") @QueryParam("VERSION") String | version, | ||
@DefaultValue("") @QueryParam("TYPENAME") String | typename, | ||
@DefaultValue("") @QueryParam("TYPENAMES") String | typenames, | ||
@DefaultValue("gml") @QueryParam("OUTPUTFORMAT") String | output | ||
) |
CSW endpoint implementation (POST version).
service | The service identifier |
request | The request identifier |
version | The service version |
typename | The feature type name to request |
typenames | The feature type name to request |
output | The requested return format |
Response entryPointPOST | ( | @Parameter(description="Service type definition") @DefaultValue("WFS") @QueryParam("SERVICE") String | service, |
@Parameter(description="Request definition") @DefaultValue("GetCapabilities") @QueryParam("REQUEST") String | request, | ||
@Parameter(description="Version of the web service") @DefaultValue("2.0.0") @QueryParam("VERSION") String | version, | ||
@Parameter(description="The feature type name to be queried") @DefaultValue("") @QueryParam("TYPENAME") String | typename, | ||
@Parameter(description="The feature type(s) name(s) to be queried") @DefaultValue("") @QueryParam("TYPENAMES") String | typenames, | ||
@Parameter(description="The name of the CRS to be returned") @DefaultValue("") @QueryParam("SRSNAME") String | srsName, | ||
@DefaultValue("gml") @QueryParam("EXCEPTIONS") String | exceptions, | ||
@Parameter(description="A bounding box used for filtering results") @DefaultValue("") @QueryParam("BBOX") String | bbox, | ||
@DefaultValue("") @QueryParam("VALUEREFERENCE") String | propertyname, | ||
@Parameter(description="Sorting order definition") @DefaultValue("ASC") @QueryParam("SORTBY") String | sortBy, | ||
@DefaultValue("") @QueryParam("STYLES") String | style, | ||
@DefaultValue("results") @QueryParam("RESULTTYPE") String | resultType, | ||
@DefaultValue("") @QueryParam("RESOURCEID") String | resourceids, | ||
@DefaultValue("") @QueryParam("GMLOBJECTID") String | gmlobjectid, | ||
@DefaultValue("0") @QueryParam("STARTINDEX") String | startindex, | ||
@DefaultValue("") @QueryParam("FILTER") String | filter, | ||
@DefaultValue("") @QueryParam("FILTERLANGUAGE") String | filterLanguage, | ||
@DefaultValue("gml") @QueryParam("OUTPUTFORMAT") String | output, | ||
@DefaultValue("5") @QueryParam("COUNT") String | count | ||
) |
Entrypoint implementation for OGC API Features for POST requests.
service | |
request | |
version | |
typename | |
typenames | |
srsName | |
exceptions | |
bbox | |
propertyname | |
sortBy | |
style | |
resultType | |
resourceids | |
gmlobjectid | |
startindex | |
filter | |
filterLanguage | |
output | |
count |
void generateOpenAPIDefinitions | ( | ) |
Generates OpenAPI definitions of the SemanticWFS services for the use with OGC API Features.
Response getCapabilities | ( | @Parameter(description="The version of the WFS service to target") @DefaultValue("2.0.0") @QueryParam("version") String | version | ) | throws XMLStreamException |
Returns the capabilities document for a WFS service.
version | The version of the WFS service to target |
XMLStreamException | on error |
Response getCollectionMetadata | ( | @PathParam("collectionid") String | collectionid, |
@Parameter(description="The metadata schema to be used") @DefaultValue("gmd") @QueryParam("metadataformat") String | mdformat, | ||
@Parameter(description="The format to downlift metadata") @DefaultValue("html") @QueryParam("f") String | format, | ||
@DefaultValue("false") @QueryParam("collectioncall") String | collectioncall | ||
) |
Gets metadata of a given collection.
collectionid | The feture type of the collection |
mdformat | The metadata format to use |
format | The downlift format in which to return the metadata |
collectioncall | indicates whether this method has been called from a higher level method |
References ResultMetadataFormatter.formatter(), TripleStoreConnector.getFeatureTypeInformation(), ResultMetadataFormatter.getFormatter(), and ResultMetadataFormatter.mimeType.
Response getCollectionsMetadata | ( | @Parameter(description="The format of the collection page") @DefaultValue("html") @QueryParam("f") String | format | ) |
Returns the metadata of collections registered in the SemanticWFS.
format | The metadataformat in which to return the results |
Response getCollectionStyle | ( | @Parameter(description="Feature type name") @PathParam("collectionid") String | collectionid, |
@Parameter(description="Style id") @PathParam("styleid") String | styleid, | ||
@Parameter(description="Return format") @DefaultValue("html") @QueryParam("f") String | format | ||
) |
Gets a style for a given featuretype with a given style identifier.
collectionid | the featuretype name |
styleid | the styleid |
format | the format in which the style is returned |
References TripleStoreConnector.getStyle(), StyleObject.toHTML(), StyleObject.toJSON(), StyleObject.toString(), and StyleObject.toXML().
Response getCollectionStyles | ( | @Parameter(description="Feature type name") @PathParam("collectionid") String | collectionid, |
@Parameter(description="Return type") @DefaultValue("html") @QueryParam("f") String | format | ||
) |
Gets a list of all styles for a given featuretype.
collectionid | the featuretype name |
f | the format in which the style is returned |
References TripleStoreConnector.getStyleNames().
Response getEndpoints | ( | ) |
Gets available SPARQL endpoitns from the triplestore configuration.
Response getFeature | ( | @QueryParam("typename") String | typename, |
@Parameter(description="The output format of the WFS service request") @DefaultValue("json") @QueryParam("outputFormat") String | output, | ||
@Parameter(description="The amount of features to be returned", example="10") @DefaultValue("10") @QueryParam("count") String | count, | ||
@Parameter(description="The starting index of the WFS request") @DefaultValue("0") @QueryParam("startindex") String | startindex, | ||
@Parameter(description="The name of the CRS to be used") @DefaultValue("") @QueryParam("srsName") String | srsName, | ||
@Parameter(description="Indicates the sorting order") @DefaultValue("ASC") @QueryParam("sortBy") String | sortBy, | ||
@Parameter(description="The style to apply to the returned collection if any") @DefaultValue("") @QueryParam("mapstyles") String | style, | ||
@Parameter(description="The version of the WFS", example="2.0.0") @DefaultValue("2.0.0") @QueryParam("version") String | version, | ||
@Parameter(description="Indicates a specific resource id to be queried") @DefaultValue("") @QueryParam("resourceid") String | resourceids, | ||
@Parameter(description="A WFS filter expression") @DefaultValue("") @QueryParam("filter") String | filter, | ||
@Parameter(description="The filter language to be used in the filterExpression parameter") @DefaultValue("CQL") @QueryParam("filterLanguage") String | filterLanguage, | ||
@Parameter(description="The result type to return") @DefaultValue("results") @QueryParam("resultType") String | resultType | ||
) | throws JSONException, XMLStreamException |
References TripleStoreConnector.executeQuery(), and TripleStoreConnector.getFeatureTypeInformation().
Response getFeatureById | ( | @Parameter(description="The collection id") @PathParam("collectionid") String | collectionid, |
@Parameter(description="The feature id") @PathParam("featureid") String | featureid, | ||
@Parameter(description="The style to be applied") @DefaultValue("") @QueryParam("style") String | style, | ||
@Parameter(description="The format to be returned") @DefaultValue("html") @QueryParam("f") String | format | ||
) |
Returns a feature given its feature id.
collectionid | The feature type |
featureid | The feature id to return |
style | The style in which to style the feature |
format | The format in which to return the feature |
References TripleStoreConnector.executeQuery(), TripleStoreConnector.getFeatureTypeInformation(), and ResultFormatter.resultMap.
Response getFeatureByIdHTML | ( | @Parameter(description="The collection id") @PathParam("collectionid") String | collectionid, |
@Parameter(description="The feature id") @PathParam("featureid") String | featureid, | ||
@Parameter(description="The style to be applied") @DefaultValue("") @QueryParam("mapstyle") String | style, | ||
@Parameter(description="The format to be returned") @DefaultValue("html") @QueryParam("f") String | format | ||
) |
Returns a feature given its feature id.
collectionid | The feature type |
featureid | The feature id to return |
style | The style in which to style the feature |
format | The format in which to return the feature |
Response getFeatureByIdJSON | ( | @Parameter(description="The collection id") @PathParam("collectionid") String | collectionid, |
@Parameter(description="The feature id") @PathParam("featureid") String | featureid, | ||
@Parameter(description="The style to be applied") @DefaultValue("") @QueryParam("mapstyle") String | style, | ||
@Parameter(description="The format to be returned") @DefaultValue("json") @QueryParam("f") String | format | ||
) |
Returns a feature given its feature id.
collectionid | The feature type |
featureid | The feature id to return |
style | The style in which to style the feature |
format | The format in which to return the feature |
Response getFeatureByIdXML | ( | @Parameter(description="The collection id") @PathParam("collectionid") String | collectionid, |
@Parameter(description="The feature id") @PathParam("featureid") String | featureid, | ||
@Parameter(description="The style to be applied") @DefaultValue("") @QueryParam("mapstyle") String | style, | ||
@Parameter(description="The format to be returned") @DefaultValue("gml") @QueryParam("f") String | format | ||
) |
Returns a feature given its feature id.
collectionid | The feature type |
featureid | The feature id to return |
style | The style in which to style the feature |
format | The format in which to return the feature |
String getFeatureTypes | ( | ) |
Returns featuretypes known by the SemanticWFS service.
References User.toString().
Response getGeoClassesFromOntology | ( | @Parameter(description="The SPARQL endpoint to load classes from") @QueryParam("endpoint") String | endpoint | ) |
Gets geospatial classes from a SPARQL endpoint.
endpoint | The SPARQL endpoint |
References TripleStoreConnector.getClassesFromOntology().
Response getGmlObject | ( | @QueryParam("typename") String | typename, |
@QueryParam("GmlObjectId") String | gmlobjectid, | ||
@DefaultValue("4") @QueryParam("traverseXlinkDepth") String | traverseXlinkDepth, | ||
@DefaultValue("gml") @QueryParam("outputFormat") String | output | ||
) |
Response getPropertiesByClass | ( | @Parameter(description="The SPARQL endpoint to load properties from") @QueryParam("endpoint") String | endpoint, |
@Parameter(description="The class from which properties should be loaded") @QueryParam("class") String | classs | ||
) |
Gets available properties associated with a certain class.
endpoint | The SPARQL endpoint to query |
classs | The class to use in the query |
References TripleStoreConnector.getPropertiesByClass().
Response getPropertyValue | ( | @Parameter(description="Feature type to query") @QueryParam("typename") String | typename, |
@QueryParam("valuereference") String | propertyname, | ||
@DefaultValue("json") @QueryParam("outputFormat") String | output, | ||
@DefaultValue("") @QueryParam("resourceids") String | resourceids, | ||
@DefaultValue("") @QueryParam("filter") String | filter, | ||
@DefaultValue("0") @QueryParam("count") String | count, | ||
@DefaultValue("results") @QueryParam("resultType") String | resultType | ||
) |
References TripleStoreConnector.executePropertyValueQuery(), and TripleStoreConnector.getFeatureTypeInformation().
Response getSchema | ( | @Parameter(description="The collection id for which to return the schema") @PathParam("collectionid") String | collectionid, |
@Parameter(description="The format in which the schema should be returned", example="json") @DefaultValue("gml") @QueryParam("f") String | format | ||
) |
Returns a schema of a given collection.
collectionid | The feature collection id |
format | The format in which to return the collection |
Response landingPage | ( | @Parameter(description="The format of the landingpage") @DefaultValue("html") @QueryParam("f") String | format | ) |
Returns the landing page of the OGC API Features service.
format | The format in which the page is to be returned |
References ResultFormatter.resultMap.
Response landingPageHTML | ( | @Parameter(description="The format of the landingpage") @DefaultValue("html") @QueryParam("f") String | format | ) |
Response landingPageJSON | ( | @Parameter(description="The format of the landingpage") @DefaultValue("json") @QueryParam("f") String | format | ) |
Response landingPageXML | ( | @Parameter(description="The format of the landingpage") @DefaultValue("xml") @QueryParam("f") String | format | ) |
String lockFeature | ( | ) |
Response login | ( | @Parameter(description="Username for authorization") @QueryParam("username") String | username, |
@Parameter(description="Password for authorization") @QueryParam("password") String | password | ||
) |
Performs a login returning an authtoken if successful.
username | The username |
password | The password |
References User.authToken, UserManagementConnection.getInstance(), and UserManagementConnection.login().
Response openapiJSON | ( | ) |
References OpenAPIMediaType.OA3_TYPE.
Response openapiYAML | ( | ) |
String prefixes | ( | ) |
Returns prefixes known by the SemanticWFS service.
References TripleStoreConnector.prefixCollection.
Response queryables | ( | @Parameter(description="The id of the collection to be considered") @PathParam("collectionid") String | collectionid, |
@Parameter(description="The format in which the collection should be returned", example="geojson") @DefaultValue("html") @QueryParam("f") String | format | ||
) |
Returns information about the queryables of ths given feature type.
collectionid | The feature type to retrieve information about |
format | The format in which to retrieve the information |
References TripleStoreConnector.getFeatureTypeInformation(), ResultFormatter.getFormatter(), and TripleStoreConnector.getStyleNames().
Response queryConfigs | ( | ) |
Returns the query configuration document.
String queryService | ( | @Parameter(description="SPARQL query to be resolved") @QueryParam("query") String | query, |
@Parameter(description="SPARQL endpoint to be queried") @QueryParam("endpoint") String | endpoint, | ||
@Parameter(description="Indicates whether geojson should be returned to be shown in a map view") @QueryParam("geojson") String | geojson | ||
) |
Exposes a query service which returns a SPARQL query result as REST.
query | The query to send |
endpoint | The endpoint to query |
geojson | indicates whether to return an additional representation as GeoJSON for a map view |
References TripleStoreConnector.executeQuery().
String queryService | ( | @Parameter(description="SPARQL query to be resolved") @QueryParam("query") String | query, |
@Parameter(description="SPARQL endpoint to query") @QueryParam("endpoint") String | endpoint | ||
) |
Exposes a query service which returns a SPARQL query result as REST.
query | The query to send |
endpoint | The endpoint to query |
References TripleStoreConnector.executeQuery().
Boolean saveFeatureTypes | ( | @Parameter(description="JSON object containing feature types to be saved") @QueryParam("featjson") String | featureTypesJSON, |
@Parameter(description="Authtoken for authorization") @DefaultValue("") @QueryParam("authtoken") String | authtoken | ||
) |
Saves feature types in the SemanticWFS Service.
featureTypesJSON | The featuretype JSON to save |
authtoken | The authtoken authorizing the save operation |
References UserType.Administrator, UserType.Configurer, UserManagementConnection.getInstance(), User.getUserlevel(), and UserManagementConnection.loginAuthToken().
Response style | ( | @Parameter(description="The service type which is addressed") @DefaultValue("WFS") @QueryParam("SERVICE") String | service, |
@Parameter(description="Request type of this query") @DefaultValue("GetStyle") @QueryParam("REQUEST") String | request, | ||
@Parameter(description="Feature type names") @DefaultValue("") @QueryParam("TYPENAME") String | typename, | ||
@Parameter(description="Feature type names") @DefaultValue("") @QueryParam("TYPENAMES") String | typenames, | ||
@Parameter(description="Outputformat of the style which is returned") @DefaultValue("gml") @QueryParam("OUTPUTFORMAT") String | output | ||
) |
Returns a style information in a given format for a given featuretype and styleid.
service | The service descriptor |
request | The requset parameter |
typename | |
typenames | |
output |
String transaction | ( | ) |
Response vectorTiles | ( | @DefaultValue("CSW") @QueryParam("SERVICE") String | service, |
@DefaultValue("GetCapabilities") @QueryParam("REQUEST") String | request, | ||
@DefaultValue("2.0.2") @QueryParam("VERSION") String | version, | ||
@DefaultValue("") @QueryParam("TYPENAME") String | typename, | ||
@DefaultValue("") @QueryParam("TYPENAMES") String | typenames, | ||
@DefaultValue("gml") @QueryParam("OUTPUTFORMAT") String | output | ||
) |
|
static |
|
static |
Referenced by TripleStoreConnector.getPropertyFromMapping().
|
static |
|
package |
|
static |
|
static |
|
static |
String SERVERURL = "http://localhost:8080/WFSGeoSPARQL/rest/wfs?" |
String SERVICETYPEVERSION = "2.0.0" |
|
static |
Referenced by TripleStoreConnector.getStyle().
|
static |
Referenced by WebService.docCollectionJSON(), and TripleStoreConnector.executeQuery().
|
static |
Referenced by HTMLFormatter.formatter(), and MapMLFormatter.formatter().
XMLStreamWriter xmlwriter |