Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-users] Raster on udig

Hi Jody,

Thank you for your reply!
And, sorry for the delayed response.
 
Shame on me,for such a lack of detail on my request! :-(
 
> I am going to hope you are using the new
>(unannounced) uDig 1.2-M6?

No, still using version 1.1. (the stable one!)
In fact I am using BeeGIS… on a tablet PC, with Vista! :-(
 
Well, the problem has been solved by Jesse that suggested to be a memory problem and to increase “–Xmx”java maximum heap size parameter.
 
So, after editing the “beegis.ini” file and changing to “–Xmx1200m”, udig 1.1 (BeeGIS) started to render all the TIFF files produced by gdal_translate.
 
For other users, with the same problem, I recommend the following command (from FWTools):
 
gdal_translate -co "TILED=NO" -co "PROFILE=BASELINE" –co “TFW=YES” 154352.ecw 154352base.tiff
 
If you want some more performance (recommended) but larger files:
 
gdal_translate -co "TILED=YES" “TFW=YES” 154352base.tiff 154352base_to.tiff
(for tiles)
 
gdaladdo -r average 154352base_to.tiff 2 4 8 16 32 64 128
(for overviews)
 
 
But using a lot of raster files on udig v 1.1 is definitely not recommended…
So I ended up using another solution: a WMS server! How?
 
Well, using the Geoserver inside GISVM Server. ( http://gisvm.com )
Just configured a Coverage with all those tiff files inside GISVM Server (run with VMWare player on the tablet PC) and load that wms layer on udig (BeeGIS).
By the way, I am also using GISVM Server, Postgresql / PostGIS for data colection handling...

It’s bit slow (it’s Vista based!!!) but doesn’t crash, like udig 1.1 does when you load more than 2 images files (200 MB each)!
 
 
> or hire a consultant if things are really tough.
 
Ok, I deserved that!!! ;-)
 
Cheers,
Ricardo


----- Mensagem original ----
De: Jody Garnett <jody.garnett@xxxxxxxxx>
Para: Ricardo Pinho <rpinho_eng@xxxxxxxxxxxx>
Cc: udig-users@xxxxxxxxxxxxxxxxxxxxx
Enviadas: Sábado, 8 de Agosto de 2009 4:33:28
Assunto: Re: [udig-users] Raster on udig

Hi Ricardo:

I am going to hope you are using the new (unannounced) uDig 1.2-M6?
And hopefully you can clarify what platform you are on. I have been
using ECW, MRSID and GeoTiff constantly the last couple days during
testing.

So I am going to have to learn more about your data; what projection
it is in; is the projection in a .prj file or is it part of the
metadata inside your GeoTiff. And so on.

There definition of a projection is a little bit whacked; different
organizations often say the same thing using slightly different names.
We have gone to a good effort to sort out "alias" for for common
products like ESRI; and of course respect the official standards. But
that does not mean we have met data produced in the same way you have
done it.

There are also a few uncommon projections that we do not have an
implementation for.

The fact that you are getting errors out of gdal_translate really
sounds like you have an odd dataset that needs to be fixed up before
it can be used. Can you open a JIRA bug and attach a *small* sample
file? FInally you may need to jump on #gdal IRC channel and ask for
help; or hire a consultant if things are really tough.

Jody

On Fri, Aug 7, 2009 at 11:52 PM, Ricardo Pinho<rpinho_eng@xxxxxxxxxxxx> wrote:
>
> Hi,
>
> I'm having trouble on using Raster files on current stable udig version.
> My original files are ECW, that udig can't read.
>
> So I've tried to convert them to TIFF, using gdal_translate, but none of the conversion I did worked when I try to use them on udig.
> Some sample command examples.
>
> gdal_translate -co "TILED=NO" -co "PROFILE=BASELINE" 144-1.ecw 144-1base.tiff
> error!
>
> gdal_translate -co "TILED=YES" 144-1base.tiff 144-1base_tiled.tiff
> error!
>
> gdal_translate -co "TILED=YES" 144-1.ecw 144-1tiled.tiff
> error!
>
> gdaladdo -r average 144-1base.tiff 2 4 8 16 32 64 128
> error!
>
> gdaladdo -r average 144-1base_tiled.tiff 2 4 8 16 32 64 128
> error!
>
> gdaladdo -r average 144-1tiled.tiff 2 4 8 16 32 64 128
> error!
>
>
> Can anyone help me on this?!
>
> Thank you,
> Ricardo Pinho


      ____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com


Back to the top