Re: [Geotools-gt2-users] Transform Screen to Lat/Long Posible error in UserManual

2008-01-18 Thread Diego Fdez.
I've already done what I wanted to do: Transform among screen coordinates and world coordinates (and back) using the code: -- AffineTransform world2screen = RendererUtilities.worldToScreenTransform(mapContext.getLayerBounds(), new Rectangle(panelMap.getWidth(), panelMap.getHeight()));

[Geotools-gt2-users] geotiff, overviews and alpha channel

2008-01-18 Thread jkubos
Hi all. I am processing images by GDAL (warp, then gdaladdo) to geotiff with alpha channel. When are images drawn by StreamingRenderer there are 2 problems: 1] I think that for rendering should be used overview with resolution better than result resolution - if exist. But it seems that

[Geotools-gt2-users] imagemosaic and geotiffs

2008-01-18 Thread jkubos
Hi all I would like to render image by StreamingRenderer composed from: - colored background - N layers * geotiffs in one layer are composed (setOverlap(LATEST_ON_TOP ) of RasterSymbolizer?) with opacity 1 * each layer prepared in previous step has opacity * so result is composed from

[Geotools-gt2-users] geotiff, overviews and alpha channel

2008-01-18 Thread jkubos
Hi all. I am processing images by GDAL (warp, then gdaladdo) to geotiff with alpha channel. When are images drawn by StreamingRenderer there are 2 problems: 1] I think that for rendering should be used overview with resolution better than result resolution - if exist. But it seems that

[Geotools-gt2-users] JAI on IBM AIX

2008-01-18 Thread Manuele Ventoruzzo
Hello all, I have to set up a Geotools based application on an IBM AIX environment that uses A Websphere application server. Therefore the operating system is AIX 64 bit and it uses a IBM Virtual Machine. Do you know if I can find a JAI implementation for AIX? That is, a version with hardware

Re: [Geotools-gt2-users] imagemosaic and geotiffs

2008-01-18 Thread Diego Fdez.
On vie, 2008-01-18 at 12:58 +0100, [EMAIL PROTECTED] wrote: Hi all I would like to render image by StreamingRenderer composed from: - colored background - N layers * geotiffs in one layer are composed (setOverlap(LATEST_ON_TOP ) of RasterSymbolizer?) with opacity 1 * each

[Geotools-gt2-users] User manual: Draw points selecting the right axis

2008-01-18 Thread Diego Fdez.
If rewrite the example code so I can transform among screen and world coordinates and back in a cleaner way, and fix many syntax errors in the example. I'm waiting for your comments :) -- CODE // Class vars private AffineTransform world2screen; private AffineTransform screen2world; private

Re: [Geotools-gt2-users] Splitting LineStrings at their intersection

2008-01-18 Thread Justin Deoliveira
Hi Chris, Sorry, its been a busy week and I have not had time to keep up with your questions. Its not immediately evident to me what is wrong with your code. I would have to debug it over on my end. You said your data is a shapefile with a few thousands rows in it? If there are no licensing or

Re: [Geotools-gt2-users] JAI on IBM AIX

2008-01-18 Thread Simone Giannecchini
Ciao Manuele, I don't think you'll be able to find a prebuilt version of either jai or imageio native that fits your platform. The source code for media lib and codec lib is not OS hence there is no way to build it on your own. About using pure java JAI and ImageIO and performance slowdown, it

Re: [Geotools-gt2-users] Splitting LineStrings at their intersection

2008-01-18 Thread Chris
Sorry, it is me again but I'm still stuck with the same problem: I tried the following Coordinate[] c = new Coordinate[]{(l1.getStartPoint()).getCoordinate(), p.getCoordinate()}; LineString l1a = new LineString(new CoordinateArraySequence(c), new GeometryFactory(new PrecisionModel(