Re: [Geotools-gt2-users] First program error :

2009-01-20 Thread deneth karunarathne
dear Micheal ; It worked fine. Thankx a lot deneth On Sat, Jan 17, 2009 at 4:29 PM, Michael Bedward wrote: > Hi Deneth, > > I am guessing that you haven't got gt-shapefile as a dependency in > your pom.xml. If that's the case, add it and all should be well. > > Michael > -

Re: [Geotools-gt2-users] Vector to Raster conversion

2009-01-20 Thread Michael Bedward
Many thanks for this update Steve, I'll be using your code in the near future :) Michael 2009/1/21 Steve Ansari : > Hello all, > > I received a question about the rasterization code (Features to Grid > Coverage) and upgraded the code to Geotools 2.5.2. I've attached the main > class (FeatureRas

Re: [Geotools-gt2-users] creating coordinates in JTS using gps data

2009-01-20 Thread Michael Bedward
Firstly, I'm not sure what data format(s) your gps exports, but if GPX is one of them I suggest you have a look at the new gpx package... http://javadoc.geotools.fr/2.5/org/geotools/data/gpx/package-summary.html I haven't used this package but it may well do a lot of what you need. Meanwhile, if

Re: [Geotools-gt2-users] Rendering images of satellite data (polygons)

2009-01-20 Thread Michael Bedward
Hi Martin, That is such a clear description, would you mind if I added it to the user's guide ? Hi Jon, I can send you some code to create a feature collection from your first file's data if that's useful. Having the data as features would also allow you to locate and query overlaps between gro

Re: [Geotools-gt2-users] Reading binary Float32 rasters

2009-01-20 Thread Michael Bedward
Many thanks Simone ! This is very useful for me also... Michael -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword __

Re: [Geotools-gt2-users] reading & rendering dem & dted fi

2009-01-20 Thread Michael Bedward
> I'm so sorry for taking your time , now everything is OK.I made a little > stupid mistake =^D with eclipse & maven. Hi Duygu, No need to apologize - that's what the list is here for. Glad to hear you got it working ! Michael -

Re: [Geotools-gt2-users] Vector to Raster conversion

2009-01-20 Thread Steve Ansari
Hello all, I received a question about the rasterization code (Features to Grid Coverage) and upgraded the code to Geotools 2.5.2. I've attached the main class (FeatureRasterizer.java) and a test class (TestFeatureRasterizer.java). Here are the geotools jars needed to run this: geoapi-2.2-M1.j

Re: [Geotools-gt2-users] reading & rendering dem & dted fil

2009-01-20 Thread Duygu Altinok
Hi Michael , I'm so sorry for taking your time , now everything is OK.I made a little stupid mistake =^D with eclipse & maven.Thank you so much for your kindness and giving your time. Best , Duygu. Michael Bedward wrote: > >> I have problems with the library.When I type >> import org.geotoo

Re: [Geotools-gt2-users] Rendering images of satellite data (polygons)

2009-01-20 Thread Martin Desruisseaux
Jon Blower a écrit : > Hi Martin, > > Thanks very much for this detailed response but I think I haven't made > myself clear. The ground pixels are not regularly-spaced, nor are > they parallel/perpendicular to any coordinate axes. I effectively > have a List of Polygons, which may be arbitrarily

Re: [Geotools-gt2-users] Rendering images of satellite data (polygons)

2009-01-20 Thread Jon Blower
Hi Martin, Thanks very much for this detailed response but I think I haven't made myself clear. The ground pixels are not regularly-spaced, nor are they parallel/perpendicular to any coordinate axes. I effectively have a List of Polygons, which may be arbitrarily-oriented. This is vector, not r

Re: [Geotools-gt2-users] Rendering images of satellite data (polygons)

2009-01-20 Thread Martin Desruisseaux
Hello Jon Jon Blower a écrit : > I'm looking for a way of rendering an image of some satellite data. > Each "ground pixel" in the data is represented as a quadrilateral in > lat-lon coordinates, and each pixel is associated with a numerical > value (ozone concentration in this case). (I guess thi

Re: [Geotools-gt2-users] Reading binary Float32 rasters

2009-01-20 Thread Simone Giannecchini
Ciao Greg, if you are trying to read simple binary matrices float or double data I would suggest to have a look at both the GTOPO 30 reader and the Imageio RawImageReader which can be used to do most of what you need. In the end you should create a simple GCE GridCoverageReader, following gtopo30

Re: [Geotools-gt2-users] creating coordinates in JTS using gps data

2009-01-20 Thread ari fainchtein
Thanks for that. Even if my garmin61 gives me utm, how do I create polygons from utm or latitude long ? On 19/01/2009, at 21:17, "Michael Bedward" wrote: > Hi Ari, > > Well, before talking code - can you configure you gps to record UTM > coords ? I've only used a few but they all allowed

Re: [Geotools-gt2-users] Depricated function createFeatureTypeStyle/addFeatureTypeStyle

2009-01-20 Thread Michael Bedward
Hi Luong, That's a very out of date tutorial page with a big red warning box at the top :-) >> and i have just noticed that the function >> createFeatureTypeStyle/addFeatureTypeStyle is depricated for the class >> org.geotools.styling.StyleBuilder; and i can't even to find this class in Have a l

Re: [Geotools-gt2-users] Rendering images of satellite data (polygons)

2009-01-20 Thread Jon Blower
Hi Michael, Thanks very much for the reply. In one dataset the pixels are variable-sized with corner coords specified. Some of them overlap (as the instrument scans back and forth). In the other dataset I only have centre coords, and I can't seem to find any info about the nominal pixel size...

Re: [Geotools-gt2-users] Depricated function createFeatureTypeStyle/addFeatureTypeStyle

2009-01-20 Thread nvidia
nvidia wrote: > > Hi i'm following this tutorial > > http://docs.codehaus.org/display/GEOTOOLS/Putting+everything+together > > and i have just noticed that the function > createFeatureTypeStyle/addFeatureTypeStyle is depricated for the class > org.geotools.styling.StyleBuilder; and i can't e