public Projection create(Properties props) throws ProjectionException {
  try {
    LatLonPoint llp=convertToLLP((Point2D)props.get(ProjectionFactory.CENTER));
    float scale=PropUtils.floatFromProperties(props,ProjectionFactory.SCALE,10000000);
    int height=PropUtils.intFromProperties(props,ProjectionFactory.HEIGHT,100);
    int width=PropUtils.intFromProperties(props,ProjectionFactory.WIDTH,100);
    double central_meridian=PropUtils.doubleFromProperties(props,CentralMeridianProperty,centralMeridian);
    double sp_one=PropUtils.doubleFromProperties(props,StandardParallelOneProperty,standardParallel1);
    double sp_two=PropUtils.doubleFromProperties(props,StandardParallelTwoProperty,standardParallel2);
    double rl=PropUtils.doubleFromProperties(props,ReferenceLatitudeProperty,referenceLatitude);
    double fe=PropUtils.doubleFromProperties(props,FalseEastingProperty,falseEasting);
    double fn=PropUtils.doubleFromProperties(props,FalseNorthingProperty,falseNorthing);
    Ellipsoid ellps=(Ellipsoid)props.get(ProjectionFactory.DATUM);
    return new LambertConformal(llp,scale,width,height,central_meridian,sp_one,sp_two,rl,fe,fn,ellps);
  }
 catch (  Exception e) {
    if (Debug.debugging("proj")) {
      Debug.output("LambertConformalLoader: problem creating LambertConformal projection " + e.getMessage());
    }
  }
  throw new ProjectionException("LambertConformalLoader: problem creating LambertConformal projection");
}

public Projection create ( Properties props ) throws ProjectionException { try { LatLonPoint llp = convertToLLP ( ( Point2D ) props . get ( ProjectionFactory . CENTER ) ) ; float scale = PropUtils . floatFromProperties ( props , ProjectionFactory . SCALE , 10000000 ) ; int height = PropUtils . intFromProperties ( props , ProjectionFactory . HEIGHT , 100 ) ; int width = PropUtils . intFromProperties ( props , ProjectionFactory . WIDTH , 100 ) ; double central_meridian = PropUtils . doubleFromProperties ( props , CentralMeridianProperty , centralMeridian ) ; double sp_one = PropUtils . doubleFromProperties ( props , StandardParallelOneProperty , standardParallel1 ) ; double sp_two = PropUtils . doubleFromProperties ( props , StandardParallelTwoProperty , standardParallel2 ) ; double rl = PropUtils . doubleFromProperties ( props , ReferenceLatitudeProperty , referenceLatitude ) ; double fe = PropUtils . doubleFromProperties ( props , FalseEastingProperty , falseEasting ) ; double fn = PropUtils . doubleFromProperties ( props , FalseNorthingProperty , falseNorthing ) ; Ellipsoid ellps = ( Ellipsoid ) props . get ( ProjectionFactory . DATUM ) ; return new LambertConformal ( llp , scale , width , height , central_meridian , sp_one , sp_two , rl , fe , fn , ellps ) ; } catch ( Exception e ) { if ( Debug . debugging ( "proj" ) ) { Debug . output ( "LambertConformalLoader: problem creating LambertConformal projection " + e . getMessage ( ) ) ; } } throw new ProjectionException ( "LambertConformalLoader: problem creating LambertConformal projection" ) ; }
create the projection with the given parameters .
