Details
Description
The WFS 2.0 specification defines the concept of ResourceID:
- ResouceId: Implements the ResourceId operator with the rid parameter to allow predicates to be written that allow a specific resource to be queried.
- Version Navigation: Implements ResourceId operator with the parameters that allow versions of resources to be queried (version, startTime, endTime)
The WFS 2.0 specification allows you to only "select" one of Filter, ResourceID or BBox at a time. This restriction is lifted for the GeoTools implementation of Filter.
The addition of ResourceId is the subject of the following change proposal:
Activity
Jody Garnett
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | resourceid.patch [ 57369 ] |
Jody Garnett
made changes -
| Attachment | resource_and_query.patch [ 57434 ] |
Mark Leslie
made changes -
| Attachment | resourceid_test.patch [ 57480 ] |
Jody Garnett
made changes -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Jody Garnett
made changes -
| Description |
The WFS 2.0 specification defines the concept of ResourceID:
* ResouceId: Implements the ResourceId operator with the rid parameter to allow predicates to be written that allow a specific resource to be queried. * Version Navigation: Implements ResourceId operator with the parameters that allow versions of resources to be queried (version, startTime, endTime) The WFS 2.0 specification allows you to only "select" one of Filter, ResourceID or BBox at a time. This restriction is lifted for the GeoTools implementation of Filter. The addition of ResourceId is the subject of the following change proposal: http://docs.codehaus.org/display/GEOTOOLS/ResouceId |
The WFS 2.0 specification defines the concept of ResourceID:
* ResouceId: Implements the ResourceId operator with the rid parameter to allow predicates to be written that allow a specific resource to be queried. * Version Navigation: Implements ResourceId operator with the parameters that allow versions of resources to be queried (version, startTime, endTime) The WFS 2.0 specification allows you to only "select" one of Filter, ResourceID or BBox at a time. This restriction is lifted for the GeoTools implementation of Filter. The addition of ResourceId is the subject of the following change proposal: http://docs.codehaus.org/display/GEOTOOLS/ResourceId |
Jody Garnett
made changes -
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Fix Version/s | 8.0-M3 [ 17864 ] | |
| Fix Version/s | 8.0-M2 [ 17480 ] | |
| Resolution | Fixed [ 1 ] |
interface FeatureId{
String getD();
String getVersion();
/**
* @return <ID>[@<version>]
*/
String rid();
}
This would be used to identifie features returned (as is the case now). On the other side the Filter expression Id<ResourceId> would be used to stage Queries:
interface FeatureId extends Identifier {
String getID();
boolean matches(Object feature);
Version getVersion();
Date getStartTime();
Date getEndTime();
public interface Version {
VersionAction getVersionAction();
Long getIndex();
Date getTimeStamp();
}
public enum VersionAction {
FIRST,
LAST,
ALL,
NEXT,
PREVIOUS
}
}