Hi all:
 
 I was trying to fix an example[1] but I'm lost in the dark. The example
says:

 Geometry screenGeometry = geometry.transform( screenCRS, transform );

 But I don't know how to get a Geometry, so I go to the Geometry section
in the user manual[2] but:

 GeometryBuilder builder = new
GeometryBuilder(DefaultGeographicCRS.WGS84);

 it doesn't work because org.geotools.geometry.GeometryBuilder package
(I'm using 2.3) doesn't exist.
 And even if I get this working: how can I create the screenCRS?
 
 I've look at the source code of
RendererUtilities.worldToScreenTransform but it's not applicable to make
a simple example.

 Please. I need help in A LOT of simple things. I will send then back to
the list as _working_ code snippets so the user manual gets updated and
other people can learn from my faults.

        Thanks!
 

 P.S: IMHO the user manual has many "underexplained" examples. It's very
hard to a newcomer to learn how to use GeoTools in deep. I know many of
you life from supporting GeoTools by contract, but I also think that
having a good documentation would make that a lot of people use the
library and this will end in many more company programmers using
GeoTools, programmers from companies that will pay you for support. :)

[1] http://docs.codehaus.org/display/GEOTDOC/04+What+Axis+is+X
[2] http://docs.codehaus.org/display/GEOTDOC/01+Building+Geometry
+Objects

On jue, 2008-01-17 at 18:56 +0000, Diego Fdez.Durán wrote:
> I'm going to try fixing the example after dinner.
> 
> On Thu, January 17, 2008 17:48, Jody Garnett wrote:
> > I have updated that page with your code example:
> > http://docs.codehaus.org/display/GEOTDOC/04+What+Axis+is+X
> >
> > Were you able to spot the error in the original instructions or should I
> > just remove them?
> >
> 
> 
-- 
Diego Fdez. Durán <[EMAIL PROTECTED]> | http://www.goedi.net
GPG : 925C 9A21 7A11 3B13 6E43 50DB F579 D119 90D2 66BB

Attachment: signature.asc
Description: Esta parte del mensaje está firmada digitalmente

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to