Package org.opengis.referencing.datum

Examples of org.opengis.referencing.datum.GeodeticDatum


    final GeographicCRS gcs = createGeographicCoordinateSystem(metadata);

    // was the projection user defined?
    // in such case we need to set the remaining parameters.
    if (projUserDefined) {
      final GeodeticDatum tempDatum = ((GeodeticDatum) gcs.getDatum());
      final DefaultEllipsoid tempEll = (DefaultEllipsoid) tempDatum
          .getEllipsoid();
      double inverseFlattening = tempEll.getInverseFlattening();
      double semiMajorAxis = tempEll.getSemiMajorAxis();
      // setting missing parameters
      parameters.parameter("semi_minor").setValue(
View Full Code Here


   *
   */
  private GeodeticDatum createGeodeticDatum(final Unit unit,
      final GeoTiffIIOMetadataDecoder metadata) throws IOException {
    // lookup the datum (w/o PrimeMeridian), error if "user defined"
    GeodeticDatum datum = null;
    final String datumCode = metadata
        .getGeoKey(GeoTiffGCSCodes.GeogGeodeticDatumGeoKey);

    if (datumCode == null) {
      throw new GeoTiffException(
View Full Code Here

    String name = metadata.getGeoKey(GeoTiffGCSCodes.GeogCitationGeoKey);
    if (name == null)
      name = "unnamed";

    // lookup the Geodetic datum
    final GeodeticDatum datum = createGeodeticDatum(linearUnit, metadata);

    // coordinate reference system
    GeographicCRS gcs = null;

    try {
View Full Code Here

TOP

Related Classes of org.opengis.referencing.datum.GeodeticDatum

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.