Re: [JGrass-users] [JGrass-Utenti] Projection and format issues
Status: Beta
Brought to you by:
jgrass
|
From: Andrea A. <and...@gm...> - 2007-01-08 08:55:05
|
Hi Benoit, I redirect the mail to the English user list, so we can be gladly write in English. > and best wishes for this new year. Thanks to you and best wishes back. I've been on vacation, so sorry for the delay. > o pentium IV, 512 Mo Ram, 'Intel 82852/82855 GM/GME Graphic controller' > graphic card. > > * I have used the tutorial 'jgrass_manual_ENG' to test the main menus > with the spearfish dataset, but I'm actually meeting problems with few > points to go further. > > o first of all, when trying to open the original spearfish location, I > have the following message > > 'jgrass.map.GrassLocationException: Error accessing GRASS location file > file:/home/grassdata\spearfish\PERMANENT\DEFAULT_WIND' This is an annoying bug thatr was introduced in the last release. We already fixed it but have problems with the new release. We will probably release an unofficial version with some of the issues solved. > Untill now, I have been around this issue by copying the spearfish > directory into a new one (c:/grassdata), and creating a new location from > this directory. Anyway, this problem might be in connexion with the > following. This is ok, also you could simply create a new workspace mapped on your original folder. > o I have tried to create a new location to import my own DEM data and > manipulate them. My data are in SRTM format and WGS84 - LatLong. I meet > problems : > > 1/ to create a workspace in such a reference system (the process is > stopped from the window 'Select Grass Geographic window', although a > directory is created on the hard drive) > 2/ to import data into the workspace actually created. > > As far as I have read, Jgrass is not very happy with the WGS 84 > lat/long, but I cannot manage to save my DEM with a projection. I have > tried tu use Manifold and Landserf, but the projection is not saved, I end > back with lat/long data. > After some tries, I have managed to create a file into the 'fcell' > directory, by importing an ascii grid format (.grd). Unfortunately, it > displays nothing by now, although it weights 1,6 Mo... > > I guess I'm not to far from a solution, but another (and competent) > point of view could help me to solve the problem, I'm very sorry, but lat/long is not supported i n JGrass at the moment. The only workaround is (for what I remember): - to create the destination workspace in a metric projection - from there use r.in.gdal to import the data in lat-long, but telling the command to create a _new location_ for that data - at that point you have an invisible workspace in lat-long from which you can reproject to your metric location I know it is not so funny, but at the moment it is the only way. Ciao Andrea |