|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.cs.persistence.proj4.ProjFileResource
public class ProjFileResource
The ProjFileResource
reads a list of proj4 definitions from a file.
Constructor Summary | |
---|---|
ProjFileResource(File file)
|
Method Summary | |
---|---|
Set<CRSCodeType> |
getAvailableCodes()
|
Transformation |
getTransformation(ICRS sourceCRS,
ICRS targetCRS)
Implementations should find a given transformation (chain) which transforms coordinates of the given coordinate system into coordinates of the target crs. |
Map<String,String> |
getURIAsType(String uri)
Opens a stream to a resource which is defined by the uri. |
Helmert |
getWGS84Transformation(IGeographicCRS sourceCRS)
Implementations should find the helmert transformation which transforms coordinates of the geodetic datum into coordinates of the WGS84 datum. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProjFileResource(File file)
provider
- properties
- Method Detail |
---|
public Helmert getWGS84Transformation(IGeographicCRS sourceCRS)
CRSResource
null
getWGS84Transformation
in interface CRSResource<Map<String,String>>
sourceCRS
- to retrieve the transformation for.
Helmert
transformation or null
if no such transformation was defined.public Map<String,String> getURIAsType(String uri) throws IOException
XLinkResolver
getURIAsType
in interface XLinkResolver<Map<String,String>>
uri
- to locate
null
if no resource was found.
IOException
- If an error occurred while locating or opening the resource.public Set<CRSCodeType> getAvailableCodes()
public Transformation getTransformation(ICRS sourceCRS, ICRS targetCRS)
CRSResource
null
getTransformation
in interface CRSResource<Map<String,String>>
sourceCRS
- start point of the transformation.targetCRS
- end point of the transformations
Transformation
or null
if no such transformation was defined.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |