Nicolas Pérenne | 20 May 2013 21:18
Picon
Favicon

v.in.gshhs

Hi,

Trying to import GSHHG V2.2.2 ( see 
http://www.soest.hawaii.edu/pwessel/gshhg/ ) through 'v.in.gshhs', I ran 
into this:

GRASS 6.4.2 (wgs84):~/tmp/gshhs_bin > v.in.gshhs gshhs_c.b out=gshhs_c
Using lat/lon bounds N=90.000000 S=-90.000000 E=180.000000 W=-180.000000
ERREUR :Trying to import version 3, only GSHHS versions 4 to 8 (2.0) are 
supported.

which looks strange to me. I am currently doing some 'v.in.ogr' on the 
Shapefile version of GSHHS, but the process appears to be quite long for 
the "high" and "full" resolution (assuming one wants to import the whole 
dataset without using '-c'), so I was hoping 'v.in.gshhs' would be 
quicker... please let me know if this is a known issue, or something I 
did wrong, etc.

Nicolas
_______________________________________________
grass-user mailing list
grass-user <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Patrick Giraudoux | 18 May 2013 14:08
Picon
Favicon

Grass repository for Ubuntu 12.04 LTS and duplicate.sources.list error

Dear all,

 From Ubuntu Ubuntu 12.04 LTS 64bits I am trying to install grass-dev 
using synaptic. I get this error:

W: Duplicate sources.list entry 
http://ppa.launchpad.net/gcpp-kalxas/ppa-tzotsos/ubuntu/ precise/main 
amd64 Packages 
(/var/lib/apt/lists/ppa.launchpad.net_gcpp-kalxas_ppa-tzotsos_ubuntu_dists_precise_main_binary-amd64_Packages)
W: Duplicate sources.list entry 
http://ppa.launchpad.net/gcpp-kalxas/ppa-tzotsos/ubuntu/ precise/main 
i386 Packages 
(/var/lib/apt/lists/ppa.launchpad.net_gcpp-kalxas_ppa-tzotsos_ubuntu_dists_precise_main_binary-i386_Packages)

I understand that there is a duplicate in my sources.list, but cannot 
figure out which one. Here are the repositories that I have added:

# to get GRASS updated
deb http://ppa.launchpad.net/gcpp-kalxas/ppa-tzotsos/ubuntu precise main
deb-src http://ppa.launchpad.net/gcpp-kalxas/ppa-tzotsos/ubuntu precise 
main

# to get QGIS
deb http://qgis.org/debian precise main
deb-src http://qgis.org/debian precise main

# to get R
deb http://cran.univ-lyon1.fr/bin/linux/ubuntu precise/

Any hint appreciated.
(Continue reading)

Johannes Radinger | 18 May 2013 13:55
Picon
Gravatar

Import conditioned DEM from HydroSheds

Hi,

I'd like to use the conditioned DEM from HydroSheds (15sec resolution)
in GRASS to extract rivers etc. using r.watershed. On the HydroSheds-
Website (http://hydrosheds.cr.usgs.gov/dataavail.php) there are two possible
file formats: bil and esri grid. 

The esri grid folder for Europe (eu_dem_15s) contains several files all with .adf ending and metadata (htm, xml).
The bil folder contains the eu_dem_15s.bil and a *.hdr and *.prj and some more.

Which format is prefered for importing into GRASS? I guess its the .bil as there is only
one bil-file with the different addtional info (header, projection etc.). Which format type
is the .bil in r.in.gdal?

/Johannes
_______________________________________________
grass-user mailing list
grass-user <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
RichardC | 17 May 2013 11:07
Picon
Favicon

g.extension error installing install r.hazard.flood

Hi,

I'm getting the following error on using g.extension to install
r.hazard.flood:

g.extension.py extension=r.hazard.flood
svnurl=http://svn.osgeo.org/grass/grass-addons/grass6
Traceback (most recent call last):
  File "/usr/lib/grass64/etc/gui/scripts/g.extension.py",
line 827, in <module>
    sys.exit(main())
  File "/usr/lib/grass64/etc/gui/scripts/g.extension.py",
line 815, in main
    check_dirs()
  File "/usr/lib/grass64/etc/gui/scripts/g.extension.py",
line 760, in check_dirs
    check_style_files('grass_logo.png')
  File "/usr/lib/grass64/etc/gui/scripts/g.extension.py",
line 742, in check_style_files
    shutil.copyfile(dist_file,addons_file)
  File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory:
'/usr/lib/grass64/docs/html/grass_logo.png'

I've checked Nabble forum comments re installing extensions but cannot find
a solution.

What would be the best method to install? Is there a manual way of
installing an extension?

Cheers,
Richard

My system:
 6.4.3-1~svn548 (mint 13/ubuntu precise)

/usr/lib/grass64
/usr/lib/grass64/scripts

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/g-extension-error-installing-install-r-hazard-flood-tp5053923.html
Sent from the Grass - Users mailing list archive at Nabble.com.
_______________________________________________
grass-user mailing list
grass-user <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Rainer M. Krug | 17 May 2013 10:31
Picon

Error in GRASS 7 and r.out.mpeg

Hi 

I am trying to use r.out.mpeg, but I get the error below:

,----
| GRASS 7.0.svn (grass):~/.../AlienManagementDrakensberg/sim > r.out.mpeg view1="Rubus
| raster map(s) available in mapset <asmDrak>:
| raster map(s) available in mapset <asmDrak.2015>:
| Reading raster map <Rubus_age>...
| Reading raster map <Rubus_ageClass>...
| Reading raster map <Rubus_ageClassFire>...
| Reading raster map <Rubus_dc>...
| Reading raster map <Rubus_dcFire>...
| Reading raster map <Rubus_disturbances>...
| Reading raster map <Rubus_individuals>...
| Reading raster map <Rubus_seedsPlant>...
| Reading raster map <Rubus_seedsProduced>...
| Reading raster map <Rubus_seedsSoil>...
| Reading raster map <Rubus_suitability>...
| Reading raster map <Rubus_ageClassFire_2015>...
| Reading raster map <Rubus_ageClass_2015>...
| Reading raster map <Rubus_age_2015>...
| Reading raster map <Rubus_dcFire_2015>...
| Reading raster map <Rubus_dc_2015>...
| Reading raster map <Rubus_disturbances_2015>...
| Reading raster map <Rubus_individuals_2015>...
| Reading raster map <Rubus_seedsPlant_2015>...
| Reading raster map <Rubus_seedsProduced_2015>...
| Reading raster map <Rubus_seedsSoil_2015>...
| ERROR:  Could not open output file!
| WARNING: mpeg_encode ERROR
`----

I have no idea why this error occurs - any suggestions?

Self compiled from grass-7.0.svn_src_snapshot_2013_03_23

under Ubuntu raring.

Cheers,

RainerHi 

I am trying to use r.out.mpeg, but I get the error below:

,----
| GRASS 7.0.svn (grass):~/.../AlienManagementDrakensberg/sim > r.out.mpeg view1="Rubus
| raster map(s) available in mapset <asmDrak>:
| raster map(s) available in mapset <asmDrak.2015>:
| Reading raster map <Rubus_age>...
| Reading raster map <Rubus_ageClass>...
| Reading raster map <Rubus_ageClassFire>...
| Reading raster map <Rubus_dc>...
| Reading raster map <Rubus_dcFire>...
| Reading raster map <Rubus_disturbances>...
| Reading raster map <Rubus_individuals>...
| Reading raster map <Rubus_seedsPlant>...
| Reading raster map <Rubus_seedsProduced>...
| Reading raster map <Rubus_seedsSoil>...
| Reading raster map <Rubus_suitability>...
| Reading raster map <Rubus_ageClassFire_2015>...
| Reading raster map <Rubus_ageClass_2015>...
| Reading raster map <Rubus_age_2015>...
| Reading raster map <Rubus_dcFire_2015>...
| Reading raster map <Rubus_dc_2015>...
| Reading raster map <Rubus_disturbances_2015>...
| Reading raster map <Rubus_individuals_2015>...
| Reading raster map <Rubus_seedsPlant_2015>...
| Reading raster map <Rubus_seedsProduced_2015>...
| Reading raster map <Rubus_seedsSoil_2015>...
| ERROR:  Could not open output file!
| WARNING: mpeg_encode ERROR
`----

I have no idea why this error occurs - any suggestions?

Self compiled from grass-7.0.svn_src_snapshot_2013_03_23

under Ubuntu raring.

Cheers,

Rainer
-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer <at> krugs.de

Skype:      RMkrug
_______________________________________________
grass-user mailing list
grass-user <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
Adrian Kirilov | 17 May 2013 07:22
Picon

Airborne LiDAR data strip adjustment

     Hello to all using GRASS,

     I received ALS data, which is with overlapping strips in both directions, east-west and north-south. Is it available some algorithm to do a strip adjustment in GRASS GIS or any other software, so I can build cleared DEM (without overlapping data)?


     Greetings,

     Adrian Kirilov
_______________________________________________
grass-user mailing list
grass-user <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
BLANDENIER Lucien | 16 May 2013 14:10
Picon

Merge polygone with same attribut of a shapefile

Dear all,

I'm trying to merge all polygones with the same attribut of a shapefile. I saw it is possible to merge
adjacent polygone with r.dissolve but I didn't found how to do this with polygones that are not adjacent.
Is there a way to do this?

My goal is to minimise the number of feature into my table in order to have only one feature by category, but
containing several polygones.

Regards

Lucien
_______________________________________________
grass-user mailing list
grass-user <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Johannes Radinger | 16 May 2013 11:42
Picon
Gravatar

EPSG code spearfish dataset

Hi,

is there any EPSG code defined for the projection of the spearfish sample dataset?
Or a EPSG code that is close to the projecton? I am just asking as there is a code
provided for the NC-dataset but not for the Spearfish.

cheers,

/johannes
_______________________________________________
grass-user mailing list
grass-user <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
Johannes Radinger | 16 May 2013 10:48
Picon
Gravatar

Failed export of vector, missing attribute column

Hi,

I wanted to export a point vector to a .shp file. This works except for
a column that does not get exported. I have tried it in grass70 and grass65 (in Ubuntu)
but both without success. The attribute column that is not exported was created
in the attribute table view and populated with a sqlite-command. The column
is of type DOUBLE and stores the value 0.5 for all points.

Here the error (in grass65, but the same in grass70) :
v.out.ogr -e --overwrite input=barriers <at> PERMANENT type=point dsn=/path/to/output
Warning 1: Field Riv of width 1000 truncated to 255.
Warning 1: Field Site of width 1000 truncated to 255.
Warning 1: Field type of width 1000 truncated to 255.
ERROR 6: Failed to add field named 'passability'
Exporting 20 geometries...

What is the reason for that and how can it be solved?

Best regards,
Johannes
_______________________________________________
grass-user mailing list
grass-user <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
Adrian Kirilov | 16 May 2013 00:52
Picon

Sky-view Factor and GeoTiff Histogram equalization (stretch)

     Hello to the GRASS users,

     Does anybody know how to equalize, or stretch, the histogram of a raster? The last represents Sky-view Factor based on a DEM model. It is well-known visualization technique when looking for archaeological structures.

     I have to do minimum-maximum stretch of the histogram with saturation of minimum. How to do this in GRASS? Any help will be highly appreciated! Thank you!


     Greetings,

     Adrian Kirilov

_______________________________________________
grass-user mailing list
grass-user <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
Asefa Areda | 15 May 2013 17:28
Picon

Re: bug with r.reclass

Dear All:
 
I am trying to use the grass i.atcor for atmospheric correcction. Would you give me a clue what the ''text file'' to be used asone of the input parameters and if possible the sample/format of the file. The dialogue window for input image does not seem to allow uploading the raster file. Any assistance is very much appreciated.
 
Best regards,
 
Asefa

---------- Forwarded message ----------
From: BLANDENIER Lucien <lucien.blandenier <at> unine.ch>
Date: Wed, May 15, 2013 at 5:04 PM
Subject: [GRASS-user] bug with r.reclass
To: "grass-user <at> lists.osgeo.org" <grass-user <at> lists.osgeo.org>



Dear all,

I'm facing a problem with r.reclass on GRASS 6.4.2 on Linux mint.

r.reclass seems to have a small bug.
I worked with output name "test" , but then, It didn't work any more with others output names...
This the command I did:
r.reclass --overwrite input=input <at> mapset output=test rules=path
With the rules:
3 thru 7 = 1
* = NUll

I received the following error when I tried to display the raster or to see the metadata (In french, sorry!):
It says that it is not possible to find the history of the file and to read the boundary file (or limit file)
(Wed May 15 15:28:43 2013)
r.info map=DFO_2006203_LorianSwampsArea_reclass <at> Merti_Flood_Events_2006_2008_2011
impossible d'obtenir l'historique pour [DFO_2006203_LorianSwampsArea_reclass <at> Merti_Flood_Events_2006_2008_2011] dans le mapset [Merti_Flood_Events_2006_2008_2011]
impossible de lire le fichier de limites pour [DFO_2006203_LorianSwampsArea_reclass <at> Merti_Flood_Events_2006_2008_2011 dans Merti_Flood_Events_2006_2008_2011]
ERROR: Unable to read range file
(Wed May 15 15:28:43 2013) La commande s'est terminée (0 sec)
Commande 'd.rast' échouée. Détails : impossible de lire le
fichier de limites pour
[DFO_2006203_LorianSwampsArea_reclass dans
Merti_Flood_Events_2006_2008_2011]
Commande 'd.rast' échouée. Détails : impossible de lire le
fichier de limites pour
[DFO_2006203_LorianSwampsArea_reclass dans
Merti_Flood_Events_2006_2008_2011]

Do someone has an idea what the problem is ?

Regards


Lucien
_______________________________________________
grass-user mailing list
grass-user <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user




--
Asefa Teferi Areda
MSc student Centre for Geo information and Remote Sensing
Wageningen University
Bornsesteeg1 3c 5
6708GA Wageningen
The Netherlands
_______________________________________________
grass-user mailing list
grass-user <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Gmane