Thanks for the info Daniele. My code definitely did not go on the
same. I saw the warning message, but immediately after that it was
throwing an UnsatisfiedLinkError and stopping before it could write the
image. It was a very short method that just did an ImageIO.write() to
write a BufferedImage to a File as PNG.
Matt
Daniele Romagnoli wrote:
Ok, Now I have downloaded the GT-2.5M2 bin and I have
noticed that some imageio-ext jars are in the release.
I dont know why some unreleased libraries are in the build since they
are needed only by unsupported modules.
Anyway, your code should "go on" the same, since the it isn't a real
crash but "only" a Warning message (I know it... It's a "scary"
message. We will change the behavior of the ImageIO-ext gdal loading
attempt).
Regards,
Daniele
On Fri, May 9, 2008 at 2:53 PM, Matt Foster
< [EMAIL PROTECTED]>
wrote:
I started working some with
2.5M2 yesterday, and initially I'm getting
some better results. I'll provide more details as I get into it more.
Oh...I did have some problems at first, where my call to
ImageIO.write() kept getting the imageio that seems to be packaged as a
gt2 extension (?). I don't have GDAL SWIG bindings installed, and my
code kept crashing as it was trying to load gdaljni. I finally had to
delete the imageio-ext-* jars to get it to stop doing that. I'm using
Netbeans 6, and it was not sufficient to just remove those jars in the
NB library manager. Maybe it's a Netbeans issue...
Matt
Michael Bedward wrote:
Ciao Simone
I'm working with 2.5 trunk
Any tips you can offer would be very welcome !
Michael
On Fri, May 9, 2008 at 10:36 PM, Simone Giannecchini <[EMAIL PROTECTED]> wrote:
Ciao Michael,
which version of geotools are you playing with?
I'd like to try and give some help...
Ciao,
Simone.
On Fri, May 9, 2008 at 2:22 PM, Michael Bedward
<[EMAIL PROTECTED]> wrote:
me too :-)
in other words - I've also been trying to display single band
coverages with float or double data. I've been trying to do it
programmatically by creating a simple ColorMap and using this in the
creation of a RasterSymbolizer. I then use
GridCoverageRenderer.paint() with this symbolizer and get yet another
grayscale image <sigh>
There are some sexy images of dems, temperature coverages etc on the
geotools site. What's the secret ?
Michael
On Fri, May 9, 2008 at 12:09 AM, Matt Foster <[EMAIL PROTECTED]> wrote:
Greetings...I'm trying to make a raster from a matrix of floats via a
GridCoverage2D object. I get the GridCoverage created with no problems, but
the resulting raster does not get colored properly according to the ColorMap
I created in an SLD file. From what I can tell, it appears that the entire
range of data from my float[][] array gets put into a single Category in the
GridSampleDimension. Looking at the source in RasterSymbolizerSupport it
looks like the data need to be categorized, such that the Categories can
match up to entries in the ColorMap. Is that basically correct?
It appears that my options may be somewhat limited. I think I may have to
manually "roll my own" GridSampleDimension with categories specific to my
dataset. Does anyone have a better option?
TIA for any input.
Matt
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
--
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928
http://www.geo-solutions.it
-------------------------------------------------------
--
The cosmos is all that is or ever was or ever will be.
-- Carl Sagan
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
--
-------------------------------------------------------
Eng. Daniele Romagnoli
Software Engineer
GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267
http://www.geo-solutions.it
-------------------------------------------------------
--
The cosmos is all that is or ever was or ever will be.
-- Carl Sagan
|
begin:vcard
fn:Matt Foster - N0EYE
n:Foster;Matt
org:;NWS Forecast Office - Norman OK
email;internet:[EMAIL PROTECTED]
title:Information Technology Officer
tel;work:(405) 325-3406
x-mozilla-html:TRUE
version:2.1
end:vcard
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users