|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectShapefileFileResourceInfo
public class ShapefileFileResourceInfo
Information about the contents of a shapefile on disk.
Constructor Summary | |
---|---|
ShapefileFileResourceInfo(ShapefileDataStore shapefile)
|
Method Summary | |
---|---|
ReferencedEnvelope |
getBounds()
Bounding box of the resource (in the native CRS), envelope isNull otherwise. |
CoordinateReferenceSystem |
getCRS()
Returns the CRS of the resource if known. |
String |
getDescription()
Resource's description or abstract. |
Set<String> |
getKeywords()
Keywords associated with this resource Known Mappings: Maps to Dublin Core's Subject element |
String |
getName()
Name of the resource with the context of its service. |
URI |
getSchema()
A URI used to identify the resource type. |
String |
getTitle()
Resource's title. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShapefileFileResourceInfo(ShapefileDataStore shapefile)
Method Detail |
---|
public ReferencedEnvelope getBounds()
ResourceInfo
You can transform this envelope to Lat Long with a single line:
info.getBounds().transform( DefaultGeographicCRS.WGS84, true );
Here are several other options for LatLong:
getBounds
in interface ResourceInfo
public CoordinateReferenceSystem getCRS()
ResourceInfo
Known Mappings:
getCRS
in interface ResourceInfo
null
if unknown.public String getDescription()
ResourceInfo
Known Mappings:
getDescription
in interface ResourceInfo
null
if unavailablepublic Set<String> getKeywords()
ResourceInfo
Known Mappings:
getKeywords
in interface ResourceInfo
null
unavailable.public String getName()
ResourceInfo
Known Mappings:
getName
in interface ResourceInfo
public URI getSchema()
ResourceInfo
Known Mappings:
getSchema
in interface ResourceInfo
public String getTitle()
ResourceInfo
The title is human readable text representing the resource, in the current locale if available.
getTitle
in interface ResourceInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |