Enam a écrit :
> I have been porting the entire renderer.j2d package from 2.1 to 2.3.

Cool! Would you like to put it in some "unsupported" module of Geotools, in case
some other user would like to use it?

> I'm almost there but except for the following:
> 
> 1) private Unit units = Unit.DIMENSIONLESS; in RenderingStatistics.java.
> What do I use here ?

Unit.ONE

> 2) Is there any alternative to GeometryCollection and
> org.geotools.renderer.geom.Geometry in geotools 2.3 ?

Not yet, so it have to be ported too...

> 3) Polyline in RenderedGeometries. What do I use here ?

Polyline have to be ported too...

> 4) MathTransform2D.IDENTITY. What do I use here ?

IdentityMathTransform.create(2)

> 5) JTSGeometries. Any alternative to this ?

No, need to be ported.

> 6) private CoordinateSystem coordinateSystem =
> Geometry.DEFAULT_COORDINATE_SYSTEM; (Should this actually be
> CoordinateReferenceSystem ?) Found in RenderedLayerFactory. What is this
> DEFAULT_COORDINATE_SYSTEM and what should be used now ?

Every legacy "CoordinateSystem" should become "CoordinateReferenceSystem". In
the specific case of Geometry.DEFAULT_COORDINATE_SYSTEM, I don't know. What is
its value?

Just as a guess, the replacement may be DefaultGeographicCRS.WGS84.


> 7) TextStyle2D.isAbsoluteLineDisplacement(). What does this method do and is
> there a replacement for it too ?

I'm not familiar with this one...

        Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to