Angular $http service.
URL to the WFS server
The ngeo query result service.
The options to configure the ngeo wfs permalink service with.
Clear the results.
Clear every features for all result sources and reset the total counter as well.
Create OGC filters for the filter groups extracted from the query params.
Filter groups.
OGC filters.
Features.
The extent of all features.
Build a WFS GetFeature request for the given query parameter data, send the request and add the received features to QueryResult.
Query data for the WFS request.
The ol3 map object to get the current projection from.
Type.
Filter.
The ol3 map object to get the current projection from.
Show features or only zoom to feature extent?
Join a list of filters with and(...)
.
The filters to join.
The joined filters.
Join a list of filters with a given join function.
The filters to join.
The function to join two filters.
The joined filters.
Join a list of filters with or(...)
.
The filters to join.
The joined filters.
Generated using TypeDoc
WFS permalink service that can be used to load features with a WFS GetFeature request given query parameters.
Resulting features are then highlighted and the map is zoomed to the nearest map extent.
Configuration:
ngeoWfsPermalinkOptions: wfsTypes: - featureType:
label:
- ...
Parameters:
wfs_layer
tells what layer will be queriedwfs_showFeatures
(boolean) tells if the features should be highlighted and listed (when true) or if the map should only be recentered on the features (when false). Default is true.wfs_<layer attribute name>=<a comma-separated list of values>
Example: http://example.com?wfs_layer=parcels&wfs_city=Oslo&wfs_number=12,34,56 will load parcels #12, 34 and 56 of the city of Oslo.
It is possible to define several groups of filtering parameters by:
wfs_ngroups
parameter telling how many groups are definedwfs_0_<layer attribute name>
Example: http://example.com?wfs_layer=parcels&wfs_ngroups=2&wfs_0_city=Oslo&wfs_0_number=12,34,56&wfs_1_city=Paris&wfs_1_number=78,90 will load parcels #12, 34 and 56 of the city of Oslo as well as parcels #78 and 90 of the city of Paris.
service
ngeoWfsPermalink