Re: [Geotools-gt2-users] Create Layer Gif file

2009-02-12 Thread abel
Thanks michael, it is my example for render gif. AbstractGridCoverage2DReader reader; GridCoverage2D coverage; try { URL urlGif = file.toURL(); Hints hi = new Hints(Hints.DEFAULT_COORDINATE_REFERENCE_SYSTEM, DefaultGeographicCRS.WGS84);

Re: [Geotools-gt2-users] Geotools Rule Description

2009-02-12 Thread Benoît Thiébault
Thanks Jody, that works great. Is there a way to externalize the threshold / value table ? In fact, I don't know what the thresholds values will be (I could have values ranging from 1 to 100 or from 1 to 1000) and I would like to be able to adapt it depending on the data range. If I want the

Re: [Geotools-gt2-users] Create Layer Gif file

2009-02-12 Thread Simone Giannecchini
Ciao Apreciado, sorry, I might have lost part of this discussion, but could you please tell me a bit more about what you are trying to do? I am not 100% sure I am understanding your issue. Simone. --- Ing. Simone Giannecchini GeoSolutions S.A.S.

[Geotools-gt2-users] Q on Geotools projections

2009-02-12 Thread Davis Ford
Hi, I have a simple point obtained from Google Earth and I want to calculate a buffer around this in units of miles. So, I think the general pattern is like this: Geometry source= new WKTReader().read(POINT(-82.90755596903085 42.40409951227155)); CoordinateReferenceSystem sourceCRS =

Re: [Geotools-gt2-users] Q on Geotools projections

2009-02-12 Thread Jody Garnett
I am going to try and quickly answer; but you will need others to fill in the details: - I often know a good equal area projection for the area I will be working in (EPSG:3005 bc albers is a good CRS for working in western canada for example). - you could study how bc albers is defined and make

[Geotools-gt2-users] Case matching with Filters and GeoTools 2.4.4

2009-02-12 Thread Raif S. Naffah
hello all, i recently learned on the GeoServer users list that string equality with ignore case (in WFS Filters) only work with WFS 1.1.0. i'm trying to replicate programatically the Demo Request sample for WFS_getFeature for both 1.0 and 1.1 versions but i'm having problems with the latter

Re: [Geotools-gt2-users] Q on Geotools projections

2009-02-12 Thread Davis Ford
Thank you Jody -- I appreciate the answer. I'd be interested in figuring out how to generate a CRS on the fly. I will investigate this more. Any pointers / tips / references are greatly appreciated. Final quick question: is there a general projected CRS that would work for North America? I am

Re: [Geotools-gt2-users] Q on Geotools projections

2009-02-12 Thread Jody Garnett
I did it once when implementing an auto projection for WMS support (see org.geotools.referencing.crs.AUTOCRSAuthorityFactory.AUTO42004) . But the real thing is here rather than looking up a formal definition using CRS.decode(EPSG:3005) ... you would be wither generating some WKT and then parsing

[Geotools-gt2-users] How to set coordinate system simple example

2009-02-12 Thread Martin STRIZ
Dear Users, I'm very beginner in GeoTools and Java.I try to write very simple java program with will transform coordinates from WGS84 to Gauss-Kruger coordinates. So, on the beginning I would like to define some coordinate system by using this method: public CoordinateReferenceSystem SetC()