...
ServiceInfo | shapefile | postgis | wms | wfs | description |
|---|---|---|---|---|---|
title |
|
| for display in user interface | ||
keywords |
| ||||
description |
| ||||
publisher |
|
|
| ||
schema | type of service | ||||
source |
| ||||
icon | for display in user interface | ||||
| shapefile | postgis | wms | wfs | additions |
access fees |
|
|
|
| do not care |
ResourceInfo | shapefile | postgis | wms | wfs | notes |
|---|---|---|---|---|---|
title |
|
| for display in user interface | ||
keywords |
|
|
| ||
description |
| ||||
name |
|
|
|
| already part of data access api? |
schema | type of data | ||||
source |
| ||||
icon | for display in user interface | ||||
bounds |
| ||||
crs |
|
|
|
| matches bounds crs |
| shapefile | postgis | wms | wfs | additions |
latlonextent |
|
| do we care? |
These info classes will be moved into org.geotools.data as part of the proposal (see This is NOT catalog above).
...
Move catalog stuff out of the way to an unsupported/module to prevent confusion
Add org.geotools.data.ServiceInfo and org.geotools.data.ResourceInfo (remove a few stray getTile methods)
Add getInfo methods to WFSDataStore for gabriel to review
Add getInfo methods to ShapefileDataSTore for Jesse to review
Add getInfo method to AbstractGridCoverage2DReader
Add getInfo method to DataStore and stub at the AbstractDataStore, JDBCDataStore, ContentDataStore, Implement for stand alone implementations like ArcSDE- Take
Take the best of geotools or udig getInfo code as the implementation - Cut
Cut over uDig to use this code as the final sanity check
This was done to communicate WFS GetCapabilities information - Provide an example use in the user guide
API Changes
BEFORE
| Code Block |
|---|
package org.geotools.catalog;
interface ServiceInfo {
...
}
|
| Code Block |
|---|
package org.geotools.catalog;
interface GeoResourceInfo {
...
}
|
...
Move ServiceInfo to org.geotools.data.ServiceInfo
| Code Block |
|---|
package org.geotools.data;
interface ServiceInfo {
String getTitle();
String getDescription();
Icon getIcon();
Set<String> getKeywords();
URI getPublisher();
URI getSchema();
URI getSource();
}
|
Move GeoResourceInfo to org.geotools.data.ResourceInfo:
| Code Block |
|---|
package org.geotools.data;
interface ResourceInfo {
// Dublin Core
String getName();
String getTitle();
String getDescription();
Icon getIcon();
Set<String> getKeywords();
URI getSchema();
// And a little bit more
ReferencedEnvelope getBounds();
CoordinateReferenceSystem getCRS();
}
|
ServiceInfo can be accessed from DataStore:
| Code Block |
|---|
import org.geotools.data.ServiceInfo;
interface DataStore {
ServiceInfo getInfo();
}
|
ResourceInfo can be accessed from FeatureSource:
| Code Block |
|---|
import org.geotools.data.ResourceInfo;
interface FeatureSource {
ResourceInfo getInfo();
}
|
ServiceInfo and ResourceInfo can be accessed from AbstractGridCoverageReader2DReader:
| Code Block |
|---|
import org.geotools.data.ServiceInfo;
import org.geotools.data.ResourceInfo;
interface AbstractGridCoverageReader2DReader{
ServiceInfo getInfo();
ResourceInfo getInfo( String subname );
}
|
ServiceInfo and ResourceInfo can be accessed from WebMapServer:
| Code Block |
|---|
class WebMapServer extends AbstractOpenWebService {
ServiceInfo getInfo();
}
class Layer {
ResourceInfo getInfo();
}
|
...