From: <jga...@sv...> - 2005-04-28 23:46:41
|
Author: jgarnett Date: 2005-04-28 16:51:54 -0700 (Thu, 28 Apr 2005) New Revision: 13321 Modified: geotools/trunk/gt/module/main/src/org/geotools/feature/GeometryAttribu= teType.java Log: Revise out GeometryFactory so that schema and creation are separated Modified: geotools/trunk/gt/module/main/src/org/geotools/feature/Geometry= AttributeType.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- geotools/trunk/gt/module/main/src/org/geotools/feature/GeometryAttrib= uteType.java 2005-04-28 23:14:15 UTC (rev 13320) +++ geotools/trunk/gt/module/main/src/org/geotools/feature/GeometryAttrib= uteType.java 2005-04-28 23:51:54 UTC (rev 13321) @@ -51,8 +51,8 @@ /** * Retrieve the CS_CoordinateSystem used by this GeometryAttributeTy= pe. * <p> - * The class CoordinateSystem holds a GeometryFactory that is used f= or - * creating new content. By extension this includes the SRID, + * OUT OF DATE: The class CoordinateSystem holds a GeometryFactory + * that is used for creating new content. By extension this includes= the SRID, * PercisionModel and CoordinateSequenceFactory information. * </p> *=20 @@ -62,9 +62,18 @@ =20 /** * The Geometryfactory used for creating new content. + * <p> + * Replace with the following code:<pre><code> + * Map hints =3D new HashMap(); + * hints.put( CoordinateReferneceSystem.class, type.getCoordinateSys= tem() );=20 + * GeometryFactory gf =3D FactoryFinder.getGeometryFactory( Map hint= s ); *=20 + * // You can now use gf create methods + * </code></pre> + *=20 * @return GeometryFactory used for new Content + * @deprecated Please use GeometrFactory associated with your Featur= eFactory + * using the hinting system. */ - public GeometryFactory getGeometryFactory(); =20 - + public GeometryFactory getGeometryFactory(); =20 } |