Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.deegree.crs.configuration.proj4
Class ProjFileResource

    java.lang.Object
      org.deegree.crs.configuration.proj4.ProjFileResource

All Implemented Interfaces:
  CRSResource<Map<String,String>>, XLinkResolver<Map<String,String>>

    public class ProjFileResource

extends Object
implements CRSResource<Map<String,String>>

The `ProjFileResource` class TODO add class documentation here.

Version:
  $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
  Rutger Bezema, last edited by: $Author: mschneider $

Constructor Summary
`ProjFileResource(PROJ4CRSProvider provider, Properties properties)`

Method Summary
`Set<String>` | `getAvailableIDs()`
`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.
`Map<String,String>` | `getURIAsType(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

### ProjFileResource

    public ProjFileResource(PROJ4CRSProvider provider,
                            Properties properties)

Parameters:
  `provider` -
  `properties` -

Method Detail

### getWGS84Transformation

    public Helmert getWGS84Transformation(GeographicCRS sourceCRS)

  Description copied from interface: `CRSResource`
  Implementations should find the helmert transformation which transforms coordinates of the geodetic datum into coordinates of the WGS84 datum. If no such transformation could be found, the implementation should return `null`

  Specified by:
    `getWGS84Transformation` in interface `CRSResource<Map<String,String>>`
  Parameters:
    `sourceCRS` - to retrieve the transformation for.
  Returns:
    the `Helmert` transformation or `null` if no such transformation was defined.

### getURIAsType

    public Map<String,String> getURIAsType(String uri)
                                    throws IOException

  Description copied from interface: `XLinkResolver`
  Opens a stream to a resource which is defined by the uri.

  Specified by:
    `getURIAsType` in interface `XLinkResolver<Map<String,String>>`
  Parameters:
    `uri` - to locate
  Returns:
    an opened InputStream to the given resource or `null` if no resource was found.
  Throws:
    `IOException` - If an error occurred while locating or opening the resource.

### getAvailableIDs

    public Set<String> getAvailableIDs()

  Returns:
    a set containing all available ids.

### getTransformation

    public Transformation getTransformation(CoordinateSystem sourceCRS,
                                            CoordinateSystem targetCRS)

  Description copied from interface: `CRSResource`
  Implementations should find a given transformation (chain) which transforms coordinates of the given coordinate system into coordinates of the target crs. If no such transformation could be found, the implementation should return `null`

  Specified by:
    `getTransformation` in interface `CRSResource<Map<String,String>>`
  Parameters:
    `sourceCRS` - start point of the transformation.
    `targetCRS` - end point of the transformations
  Returns:
    the `Transformation` or `null` if no such transformation was defined.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org