[GRASS-user] problem in r.out.gdal for idrisi

2008-01-10 Thread temiz

hello

I need to export grass raster to idrisi (RST) format.

when I enter :

GRASS 6.3.cvs (bartin):~  r.out.gdal [EMAIL PROTECTED] format=RST 
type=Int16 output=/usr/local/loc0/mercan/aspusgs


I got same error message : with various type option :

ERROR 4: `/usr/local/loc0/mercan/aspusgs' not recognised as a supported 
file format.


ERROR: Cannot create [/usr/local/loc0/mercan/aspusgs] dataset using [RST]
  driver.


how can I solve the problem ?


regards

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] problem in r.out.gdal for idrisi

2008-01-10 Thread Martin Landa
2008/1/10, temiz [EMAIL PROTECTED]:

 1. ~~
   gdalinfo --formats | grep RST
   RST (rw+): Idrisi Raster A.1

 2.~~~
 GRASS 6.2.1 (bartin):~  r.out.gdal [EMAIL PROTECTED] format=RST
 output=/usr/local/loc0/mercan/asp_idrisi

 Error: value RST out of range for parameter format
Legal range:
 AAIGrid,BMP,BSB,DTED,ELAS,ENVI,FIT,GIF,GTiff,HFA,JPEG,MEM,MFF,MFF2,NITF,PAux,PNG,PNM,VRT,XPM

 Description:
  Exports GRASS raster data into various formats (requires GDAL)

 Keywords:
  raster, export

 Usage:
  r.out.gdal [-l] [input=string] [format=string] [type=string]
[output=string] [createopt=string[,string,...]]
[metaopt=string[,string,...]]

 Flags:
   -l   list supported output formats

 Parameters:
   input   Name of input raster map
  format   GIS format to write (case sensitive, see also -l flag)
   options:
 AAIGrid,BMP,BSB,DTED,ELAS,ENVI,FIT,GIF,GTiff,HFA,JPEG,
MEM,MFF,MFF2,NITF,PAux,PNG,PNM,VRT,XPM
   default: GTiff
type   file type
   options:
 Byte,Int16,UInt16,UInt32,Int32,Float32,Float64,CInt16,
CInt32,CFloat32,CFloat64
  output   Name of output file
   createopt   creation option to the output format driver. Multiple
 options may be listed
 metaopt   metadata key passed on the output dataset if possible


 Do I need to recompile the grass ?

no, just use C version of r.out.gdal from grass63, or edit
scripts/r.out.gdal/r.out.gdal for your installation.

Martin

-- 
Martin Landa [EMAIL PROTECTED] * http://gama.fsv.cvut.cz/~landa *
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] problem in r.out.gdal for idrisi

2008-01-10 Thread Markus Neteler
(CC Frank Warmerdam)

It looks like a bug to me:

GRASS 6.3.svn (nc_spm_06):  export CPL_DEBUG=ON
GRASS 6.3.svn (nc_spm_06):  r.out.gdal input=aspect format=RST
type=Int16 output=/tmp/idrisi.bin
GDAL: Auto register /usr/local/lib/gdalplugins/gdal_GRASS.so using
GDALRegister_GRASS.
Exporting to GDAL data type: Int16
GDAL: GDALDriver::Create(RST,/tmp/idrisi.bin,1500,1350,1,Int16,(nil))
ERROR 6: The ADRG driver does not support update access to existing datasets.

ERROR: Unable to create /tmp/idrisi.bin dataset using RST driver

I am not sure why ADRG appears here.

Markus

On Jan 10, 2008 2:19 PM, temiz [EMAIL PROTECTED] wrote:
 hello

 I need to export grass raster to idrisi (RST) format.

 when I enter :

 GRASS 6.3.cvs (bartin):~  r.out.gdal [EMAIL PROTECTED] format=RST
 type=Int16 output=/usr/local/loc0/mercan/aspusgs

 I got same error message : with various type option :

 ERROR 4: `/usr/local/loc0/mercan/aspusgs' not recognised as a supported
 file format.

 ERROR: Cannot create [/usr/local/loc0/mercan/aspusgs] dataset using [RST]
driver.


 how can I solve the problem ?


 regards
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] problem in r.out.gdal for idrisi

2008-01-10 Thread temiz

Nikos Alexandris wrote:

You got RST support? What is the output of:

gdalinfo --formats | grep RST

On Thu, 2008-01-10 at 13:19 +, temiz wrote:
  

hello

I need to export grass raster to idrisi (RST) format.

when I enter :

GRASS 6.3.cvs (bartin):~  r.out.gdal [EMAIL PROTECTED] format=RST 
type=Int16 output=/usr/local/loc0/mercan/aspusgs


I got same error message : with various type option :

ERROR 4: `/usr/local/loc0/mercan/aspusgs' not recognised as a supported 
file format.


ERROR: Cannot create [/usr/local/loc0/mercan/aspusgs] dataset using [RST]
   driver.


how can I solve the problem ?


regards





  

thank you

hello

1. ~~
 gdalinfo --formats | grep RST
 RST (rw+): Idrisi Raster A.1

2.~~~
GRASS 6.2.1 (bartin):~  r.out.gdal [EMAIL PROTECTED] format=RST 
output=/usr/local/loc0/mercan/asp_idrisi


Error: value RST out of range for parameter format
  Legal range: 
AAIGrid,BMP,BSB,DTED,ELAS,ENVI,FIT,GIF,GTiff,HFA,JPEG,MEM,MFF,MFF2,NITF,PAux,PNG,PNM,VRT,XPM


Description:
Exports GRASS raster data into various formats (requires GDAL)

Keywords:
raster, export

Usage:
r.out.gdal [-l] [input=string] [format=string] [type=string]
  [output=string] [createopt=string[,string,...]]
  [metaopt=string[,string,...]]

Flags:
 -l   list supported output formats

Parameters:
 input   Name of input raster map
format   GIS format to write (case sensitive, see also -l flag)
 options: 
AAIGrid,BMP,BSB,DTED,ELAS,ENVI,FIT,GIF,GTiff,HFA,JPEG,

  MEM,MFF,MFF2,NITF,PAux,PNG,PNM,VRT,XPM
 default: GTiff
  type   file type
 options: 
Byte,Int16,UInt16,UInt32,Int32,Float32,Float64,CInt16,

  CInt32,CFloat32,CFloat64
output   Name of output file
 createopt   creation option to the output format driver. Multiple 
options may be listed

   metaopt   metadata key passed on the output dataset if possible


Do I need to recompile the grass ?



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] problem in r.out.gdal for idrisi

2008-01-10 Thread temiz

Martin Landa wrote:

2008/1/10, temiz [EMAIL PROTECTED]:

  

1. ~~
  gdalinfo --formats | grep RST
  RST (rw+): Idrisi Raster A.1

2.~~~
GRASS 6.2.1 (bartin):~  r.out.gdal [EMAIL PROTECTED] format=RST
output=/usr/local/loc0/mercan/asp_idrisi

Error: value RST out of range for parameter format
   Legal range:
AAIGrid,BMP,BSB,DTED,ELAS,ENVI,FIT,GIF,GTiff,HFA,JPEG,MEM,MFF,MFF2,NITF,PAux,PNG,PNM,VRT,XPM

Description:
 Exports GRASS raster data into various formats (requires GDAL)

Keywords:
 raster, export

Usage:
 r.out.gdal [-l] [input=string] [format=string] [type=string]
   [output=string] [createopt=string[,string,...]]
   [metaopt=string[,string,...]]

Flags:
  -l   list supported output formats

Parameters:
  input   Name of input raster map
 format   GIS format to write (case sensitive, see also -l flag)
  options:
AAIGrid,BMP,BSB,DTED,ELAS,ENVI,FIT,GIF,GTiff,HFA,JPEG,
   MEM,MFF,MFF2,NITF,PAux,PNG,PNM,VRT,XPM
  default: GTiff
   type   file type
  options:
Byte,Int16,UInt16,UInt32,Int32,Float32,Float64,CInt16,
   CInt32,CFloat32,CFloat64
 output   Name of output file
  createopt   creation option to the output format driver. Multiple
options may be listed
metaopt   metadata key passed on the output dataset if possible


Do I need to recompile the grass ?



no, just use C version of r.out.gdal from grass63, or edit
scripts/r.out.gdal/r.out.gdal for your installation.

Martin

  

I have also GRASS 6.3.cvs.
But problem still retains

GRASS 6.3.cvs (bartin):~  r.out.gdal  [EMAIL PROTECTED] format=RST 
type=Int16 output=/usr/local/loc0/mercan/asp_idrisiERROR 4: 
`/usr/local/loc0/mercan/asp_idrisi' not recognised as a supported file 
format.


ERROR: Cannot create [/usr/local/loc0/mercan/asp_idrisi] dataset using
  [RST] driver.
[Raster MASK present]


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Running two instances of GRASS

2008-01-10 Thread nikos . alexandris
Indeed,

you can use the same location but different mapset!

On Thu, 10 Jan 2008 15:18:19 +0100
 [EMAIL PROTECTED] wrote:
 Hi Daniel!
 
 I use grass 6.2.3 and 6.3.svn at the same time on
 different
 location and mapset (of course!).
 
 Cheers,
 
 Nikos.
 
 On Thu, 10 Jan 2008 12:10:23 -0200
  Daniel Victoria [EMAIL PROTECTED] wrote:
  Hi,
  
  Simple and stupid question. Can I run two instances of
  GRASS on a
  machine on DIFERENT location and mapset?
  
  I've been running r.watershed for 3 days now and I need
  to do some
  stuff on another grass location but I'm afraid to mess
 up
  the
  r.watershed process
  
  Thanks
  Daniel
  ___
  grass-user mailing list
  grass-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/grass-user
 
 
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Running two instances of GRASS

2008-01-10 Thread Benjamin Ducke
Yes, you can.

Any software that allows you to mess up its own running processes
by starting it twice should be ashamed of calling itself modular.
I think GRASS is an example of a modular software that works
very well.

Daniel Victoria wrote:
 Hi,
 
 Simple and stupid question. Can I run two instances of GRASS on a
 machine on DIFERENT location and mapset?
 
 I've been running r.watershed for 3 days now and I need to do some
 stuff on another grass location but I'm afraid to mess up the
 r.watershed process
 
 Thanks
 Daniel
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user
 
 

-- 
Benjamin Ducke, M.A.
Archäoinformatik
(Archaeoinformation Science)
Institut für Ur- und Frühgeschichte
(Inst. of Prehistoric and Historic Archaeology)
Christian-Albrechts-Universität zu Kiel
Johanna-Mestorf-Straße 2-6
D 24098 Kiel
Germany

Tel.: ++49 (0)431 880-3378 / -3379
Fax : ++49 (0)431 880-7300
www.uni-kiel.de/ufg

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Running two instances of GRASS

2008-01-10 Thread nikos . alexandris
Hi Daniel!

I use grass 6.2.3 and 6.3.svn at the same time on different
location and mapset (of course!).

Cheers,

Nikos.

On Thu, 10 Jan 2008 12:10:23 -0200
 Daniel Victoria [EMAIL PROTECTED] wrote:
 Hi,
 
 Simple and stupid question. Can I run two instances of
 GRASS on a
 machine on DIFERENT location and mapset?
 
 I've been running r.watershed for 3 days now and I need
 to do some
 stuff on another grass location but I'm afraid to mess up
 the
 r.watershed process
 
 Thanks
 Daniel
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user


.
 Nikos Alexandris - Ph.D. Candidate
.
Department of Remote Sensing
   and
Landscape Information Systems
 (FeLIS)
.
  Faculty of Forestry and Natural Environment
  Albert-Ludwigs-University Freiburg
.
Tel.  +49 (0) 761 203 3697
Fax.  +49 (0) 761 203 3701
 Skype: Nikos.Alexandris
.
   Address: Tennenbacher str. 4
  D-79106 Freiburg i. Br.
 Germany
.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Mirror for debian binary?

2008-01-10 Thread Jonathan Greenberg
Seems like http://debian.gfoss.it/preview/ has been down for a few days 
-- is there a mirror for the debian binary of GRASS?  Any word on when 
the RC4 binary will be released?


--j

--

Jonathan A. Greenberg, PhD
Postdoctoral Scholar
Center for Spatial Technologies and Remote Sensing (CSTARS)
University of California, Davis
One Shields Avenue
The Barn, Room 250N
Davis, CA 95616
Cell: 415-794-5043
AIM: jgrn307, MSN: [EMAIL PROTECTED], Gchat: jgrn307
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Mirror for debian binary?

2008-01-10 Thread Paolo Cavallini
Jonathan Greenberg ha scritto:
 Seems like http://debian.gfoss.it/preview/ has been down for a few days
 -- is there a mirror for the debian binary of GRASS?  Any word on when
 the RC4 binary will be released?
 
 --j
 
Hi Jonathan.
Please note that this repo is experimental and unofficial, and is
maintained voluntarily thanks to the efforts of the Italian GFOSS
community (by Niccolo Rigacci).
Help is welcome to improve it.
All the best.
pc
-- 
Paolo Cavallini, see: http://www.faunalia.it/pc
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] i.ortho.photo crashes during photo.2target step

2008-01-10 Thread Patton, Eric
Hi,

I've been trying to orthorectify an aerial photo using i.ortho.photo. Everything
proceeds fine until I get to step 7 in the i.ortho.photo main menu where 
photo.2target
is called for placing GCP's on a raster in the target location within the 
monitor.

I've tried it both through gis.m and the command line, and in both cases 
i.ortho.photo
crashes when trying to load any raster I select to display in the monitor 
window, with the message
***stack smashing detected***: /usr/local/grass-6.3.svn/etc/photo.2target 
terminated

Has anyone encountered this error before?

~ Eric.



___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] About importing VMAP into GRASS... (as shapefiles)

2008-01-10 Thread nikos . alexandris
Hi!

I still didn't find a way to import coastlines from the
VMAP data base.

I tried to look after the:

mv: missing destination file operand after `.'

error message but I can't figure it out.

I don't need necessarily to convert into a shapefile.

Anybody that has done it recently? I really need this in
order to convert it to a raster and use it as a MASK.

Thanks,

Nikos.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] About importing VMAP into GRASS... (as shapefiles)

2008-01-10 Thread Hamish
nikos.alexandris wrote:
 I still didn't find a way to import coastlines from the
 VMAP data base.
 
 I tried to look after the:
 
 mv: missing destination file operand after `.'
 
 error message but I can't figure it out.

there is a problem within the script. Probably an unset $VARIABLE, or
bad quoting.

mv needs two arguments, a 'from' and a 'to' file. If one is a
$VARIABLE and is unset, it is passed blank to the mv command and the mv
command then complains that it didn't get enough info.
(Just a guess, I don't know how the '.' part of the error fits)


 I don't need necessarily to convert into a shapefile.
 
 Anybody that has done it recently? I really need this in
 order to convert it to a raster and use it as a MASK.


Sorry I haven't read earlier in this thread. Did you try the method
given in Markus's article in GRASS Newsletter vol 3?


An alternate coastline can be obtained by the NOAA coastline extractor.
See the v.in.mapgen help page. Then v.type and v.centroids to make the
line into an area. (boundary+centroid = area)


Hamish



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user