|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.cs.configuration.proj4.ProjFileResource
public class ProjFileResource
The ProjFileResource reads a list of proj4 definitions from a file.
| Constructor Summary | |
|---|---|
ProjFileResource(PROJ4CRSProvider provider,
java.util.Properties properties)
|
|
| Method Summary | |
|---|---|
java.util.Set<CRSCodeType> |
getAvailableCodes()
|
Transformation |
getTransformation(CoordinateSystem sourceCRS,
CoordinateSystem targetCRS)
Implementations should find a given transformation (chain) which transforms coordinates of the given coordinate system into coordinates of the target crs. |
java.util.Map<java.lang.String,java.lang.String> |
getURIAsType(java.lang.String uri)
Opens a stream to a resource which is defined by the uri. |
Helmert |
getWGS84Transformation(GeographicCRS 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(PROJ4CRSProvider provider,
java.util.Properties properties)
provider - properties - | Method Detail |
|---|
public Helmert getWGS84Transformation(GeographicCRS sourceCRS)
CRSResourcenull
getWGS84Transformation in interface CRSResource<java.util.Map<java.lang.String,java.lang.String>>sourceCRS - to retrieve the transformation for.
Helmert transformation or null if no such transformation was defined.
public java.util.Map<java.lang.String,java.lang.String> getURIAsType(java.lang.String uri)
throws java.io.IOException
XLinkResolver
getURIAsType in interface XLinkResolver<java.util.Map<java.lang.String,java.lang.String>>uri - to locate
null if no resource was found.
java.io.IOException - If an error occurred while locating or opening the resource.public java.util.Set<CRSCodeType> getAvailableCodes()
public Transformation getTransformation(CoordinateSystem sourceCRS,
CoordinateSystem targetCRS)
CRSResourcenull
getTransformation in interface CRSResource<java.util.Map<java.lang.String,java.lang.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 | |||||||||