/** * @param falseNorthing * @param falseEasting * @param naturalOrigin * @param units * @param scale */ public LambertAzimuthalEqualArea( double falseNorthing, double falseEasting, Point2d naturalOrigin, IUnit units, double scale ) { this( falseNorthing, falseEasting, naturalOrigin, units, scale, new CRSIdentifiable( new EPSGCode( 9820 ) ) ); }
CRSCodeType code = codes[i]; if ( code instanceof EPSGCode ) { epsgCode = ( (EPSGCode) code ).getCodeNo(); } else { String codeString = code.getOriginal();
/** * Sets the id to EPSG:9804 * * @param geographicCRS * @param falseNorthing * @param falseEasting * @param naturalOrigin * @param units * @param scale */ public Mercator( double falseNorthing, double falseEasting, Point2d naturalOrigin, Unit units, double scale ) { this( falseNorthing, falseEasting, naturalOrigin, units, scale, new CRSIdentifiable( new EPSGCode( 9804 ) ) ); }
/** * Sets the false-easting to 50000, false-northing to 0 or 10000000 (depending on the hemisphere), the * projection-longitude is calculated from the zone and the projection-latitude is set to 0. The scale will be * 0.9996. * * @param zone * to add * @param northernHemisphere * true if the projection is on the northern hemisphere * @param geographicCRS * @param units */ public TransverseMercator( int zone, boolean northernHemisphere, IUnit units ) { this( zone, northernHemisphere, units, new CRSIdentifiable( new EPSGCode( 9807 ) ) ); }
/** * Sets the id of this projection to epsg::9809 (Oblique Stereographic) * * @param geographicCRS * @param falseNorthing * @param falseEasting * @param naturalOrigin * @param units * @param scale */ public StereographicAlternative( double falseNorthing, double falseEasting, Point2d naturalOrigin, IUnit units, double scale ) { this( falseNorthing, falseEasting, naturalOrigin, units, scale, new CRSIdentifiable( new EPSGCode( 9809 ) ) ); }
/** * * @param firstParallelLatitude * the latitude (in radians) of the first parallel. (Snyder phi_1). * @param secondParallelLatitude * the latitude (in radians) of the second parallel. (Snyder phi_2). * @param geographicCRS * @param falseNorthing * @param falseEasting * @param naturalOrigin * @param units * @param scale */ public LambertConformalConic( double firstParallelLatitude, double secondParallelLatitude, double falseNorthing, double falseEasting, Point2d naturalOrigin, IUnit units, double scale ) { this( firstParallelLatitude, secondParallelLatitude, falseNorthing, falseEasting, naturalOrigin, units, scale, new CRSIdentifiable( new EPSGCode( 9802 ) ) ); }
/** * Sets the id to EPSG:9807 * * @param northernHemisphere * true if on the northern hemisphere false otherwise. * @param geographicCRS * @param falseNorthing * @param falseEasting * @param naturalOrigin * @param units * @param scale */ public TransverseMercator( boolean northernHemisphere, double falseNorthing, double falseEasting, Point2d naturalOrigin, IUnit units, double scale ) { this( northernHemisphere, falseNorthing, falseEasting, naturalOrigin, units, scale, new CRSIdentifiable( new EPSGCode( 9807 ) ) ); }
/** * Sets the id to EPSG::9645 ( General polynomial of degree 2 ). * * @param firstParameters * of the polynomial * @param secondParameters * of the polynomial * @param sourceCRS * of this transformation * @param targetCRS * of this transformation * @param scaleX * to apply to incoming data's x value, if 1 (or 0) no scale will be applied. * @param scaleY * to apply to incoming data's y value, if 1 (or 0) no scale will be applied. */ public LeastSquareApproximation( List<Double> firstParameters, List<Double> secondParameters, ICRS sourceCRS, ICRS targetCRS, float scaleX, float scaleY ) { this( firstParameters, secondParameters, sourceCRS, targetCRS, scaleX, scaleY, new CRSIdentifiable( new EPSGCode( 9645 ) ) ); }
CRSCodeType[] ids = new EPSGCode[] { new EPSGCode( Integer.parseInt( id ) ) }; if ( !ellipsoidName.equals( id ) ) { ids = new CRSCodeType[] { CRSCodeType.valueOf( EPSG_PRE + id ), CRSCodeType.valueOf( OGC_URN + id ),
int convID = rs.getInt( 1 ); if ( convID != 0 ) { newCodeType = new EPSGCode( convID );
int ellipsId = getEPSGCode( ellips ); if ( eId != 0 ) { d.setDefaultId( new EPSGCode( newId ), true ); d.setDefaultName( datumName, true ); d.setDefaultVersion( dVersion, true ); + d.getCodeAndName() + " did not have an epsg code, but the values match, updating ellipsoid epsg code as well." ); ellips.setDefaultId( new EPSGCode( eId ), true ); ellips.setDefaultName( ellpsName, true ); ellips.setDefaultVersion( eVersion, true ); ellips.setDefaultDescription( ellpsRemark, true ); d.setDefaultId( new EPSGCode( newId ), true ); d.setDefaultName( datumName, true ); d.setDefaultVersion( dVersion, true );