Ian MacMillan | 1 Dec 03:56 2005

[GRASSLIST:9266] Re: 3D shapefile in NVIZ - some images to get a better idea

I am not sure, but are you using a latlong (geographic) projection?  
NVIZ only works if the vertical units are the same as the horizontal 
units.  I tend to get a similar error to what you are describing when 
using nviz in latlong locations (width is degrees, height is meters).


On Nov 30, 2005, at 4:29 PM, Carlos Guâno Grohmann wrote:

> This is what I'm trying to do in GRASS. The screenshots are from Aven
> (Survex cave viewer, www.survex.com). I want to have the surface and
> the cave vector in 3D, to better look possibilities of exploration,
> distance to the surface from selected stations and so on. When in
> NVIZ, I can only view the cave if the vertical exageration is zero,
> any other value, the vector disppears. Also, the vector is flat, not a
> 3D series of lines...
> any hel would be very appreciated
> thanks
> Carlos
> --
> +-----------------------------------------------------------+
>               Carlos Henrique Grohmann - Guano
>   Geologist M.Sc  - Doctorate Student at IGc-USP - Brazil
> Linux User #89721  - carlos dot grohmann at gmail dot com
> +-----------------------------------------------------------+
> _________________
> "Good morning, doctors. I have taken the liberty of removing Windows
(Continue reading)

Ing.Peter Misovic | 1 Dec 08:39 2005

[GRASSLIST:9267] Re: 3D blocks again

For the presentation, here are screenshots :


On 11/30/05, Ing.Peter Misovic <peter.misovic <at> gmail.com> wrote:
> Hi Hamish.
> In regard of blocks creating we have changed following :
> float CubeVertices[8][3] = {
>     {-1.0,-1.0,-1.0},
>     {1.0,-1.0,-1.0},
>     {1.0,1.0,-1.0},
>     {-1.0,1.0,-1.0},
>     {-1.0,-1.0,1.0},
>     {1.0,-1.0,1.0},
>     {1.0,1.0,1.0},
>     {-1.0,1.0,1.0}
> };
> as
> float CubeVertices[8][3] = {
>     {-2.0,-2.0,-1.0},
>     {2.0,-2.0,-1.0},
>     {2.0,2.0,-1.0},
>     {-2.0,2.0,-1.0},
>     {-2.0,-2.0,1.0},
(Continue reading)

Wolfgang Qual | 1 Dec 11:06 2005

[GRASSLIST:9268] GRASS - image catalog for tiled raster images available?

Hi List,
I would like to work with tiled imagery data (aerial photos) in
GRASS/QGIS. As I am used to ArcView (still), I wonder, if GRASS/QGIS
offers me the possibility to (re)use my image catalogue-files - these
image catalogue files are dBase-files, with paths and coordinates for
each raster tile.
I would be most greatful for some comments on that topic.

Best regards,



10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse fr Mail, Message, More +++

Indictrans Team | 1 Dec 11:58 2005

[GRASSLIST:9269] Fwd: Fwd: Indic support in GRASS GIS with Indix2

http://www.fastmail.fm - Email service worth paying for. Try it for free

----- Original message -----
From: "Swapnil Hajare" <dreamil <at> gmail.com>
To: "Indictrans Team" <indictrans <at> fastmail.fm>
Date: Thu, 1 Dec 2005 16:28:11 +0530
Subject: Fwd: Indic support in GRASS GIS with Indix2

---------- Forwarded message ----------
From: SWAPNIL HAJARE <dreamil1000a <at> yahoo.com>
Date: Dec 1, 2005 4:17 PM
Subject: Indic support in GRASS GIS with Indix2
To: indlinux-group <at> lists.sourceforge.net
Cc: dreamil <at> gmail.com

Hi everybody,

GRASS (http://www.grass.itc.it) is a powerful desktop
GIS application. we have been working on it for some
time.The current version GRASS (6.0.1) has support for
Unicode but doesn't support OpenType fonts. So things
like labels on maps could not be shown in Indian
scripts. As a workaround we used tryutype display-only
font setu-dev
(Continue reading)

Luigi Ponti | 1 Dec 23:33 2005

[GRASSLIST:9270] Re: mapping the output of a population model

Yes, that was it! Placing the legend on the screen using screen 
coordinates worked, as the legend displayed correctly in the .png file.

I am now trying to import a shapefile (with .dbf and .shx dependencies 
in the same folder). It contains a Reference EvapoTranspiration Zones 
Map for California that I have obtained by contacting California 
Irrigation Management Information System (CIMIS) 
<http://wwwcimis.water.ca.gov/>. I am using v.in.ogr to import the 
shapefile to a latlong location by overriding the projection because I 
don't know anything about it.
This is the shell output I get:

[output starts]

GRASS 6.1.cvs (latlong):~ > v.in.ogr 
dsn=/home/Administrator/GISBASE/CIMIS/ outp
ut=eto3 layer=eto_utm10_nad27 min_area=0.0001 snap=-1 -o
Over-riding projection check.
Proceeding with import...
Layer: eto_utm10_nad27
WARNING: Area size 0.0e+00, area not imported.

... omissis ... (about 40 lines of the same warning: "WARNING: Area size 
0.0e+00, area not imported.")

WARNING: Area size 0.0e+00, area not imported.
Building topology ...
344 primitives registered     
Building areas:  100%
(Continue reading)

David Kindem | 2 Dec 17:15 2005



I'm working with Lorenzo's binaries, version 6.1.cvs, released 8  
October, 2005.

I am trying to import a series of sites using v.in.ascii.  I believe  
I have the points formatted correctly (x|y, decimal degrees):

(partial list)

When I run the program, I receive the following message:

v.in.ascii 'input=/Users/davidkindem/Documents/GRGH&M/GPS Waypoints/ 
JunctionPoints.txt' output=JunctionPoints format=point fs=| skip=0  
x=1 y=2 z=0 cat=0
v.in.ascii(363) malloc: ***  Deallocation of a pointer not malloced:  
0x15016f0; This could be a double free(), or free() called with the  
middle of an allocated block; Try setting environment variable  
MallocHelp to see tools to help debug

The layer is created, but will not display.

I've imported sites before (though not recently), using the same  
steps.  Can anyone point me in the right direction?

(Continue reading)

Craig Aumann | 2 Dec 18:29 2005

[GRASSLIST:9272] Equalizing contrast between geotiffs

Some weeks ago, I posted a question asking how to equalize contrasts
between geotiffs.    

One open-source piece of software that can do this is OSSIM:


There are no RPMs for the most recent version.  But once it is compiled
yada yada, it is truly AWESOME!  I've created 5+ gig geotiffs and the
program even allows one to view such large files quickly and easily by
creating various support files.  

The program is under active development.


I have a bunch of air-photos (geotiffs) which overlap slightly.  Is
there an easy way to equalize the contrasts between all the air-photos?

For example, how would one do this for two air-photos? What if its a
block of 4??

Each individual air-photo is quite large, so computational burden is a

I'm also quite willing to consider non-GRASS options. I'm not that up on
image processing issues.  

(Continue reading)

Dylan Beaudette | 2 Dec 20:24 2005

[GRASSLIST:9273] DBMI errors after QGIS+GRASS crash


I was editing a GRASS vector layer in QGIS, specifically the attribute table- 
which stored in MySQL. Everything was working fine, until I tried to access 
the same vector layer in the GRASS shell. An error was returned regarding 
something about the header missing some this vector, and QGIS suddenly quit. 
Afterwards, any time i try and access the attributes for this vector via 
GRASS I get:
echo "select * from merged_dupes" | db.select
dbmi: Protocol error

...despite the fact that all of the data is still in MySQL, and the table 
checks out OK. I have re-issued the db.connect, and v.db.connect commands in 
hopes that that would fix the connection.

Also- now when i try and start QGIS from within this mapset and load the 
trouble vector layer, QGIS quits with a "dbmi ERROR".

I have tried replacing my mapset with a known working copy, but that refuses 
to work as well. Trying to copy the trouble vector results in a DBMI error as 

Any ideas??


Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis

(Continue reading)

Dylan Beaudette | 2 Dec 23:06 2005

[GRASSLIST:9274] draw line from (x,y) point and bearing


does anyone know of a module (d.*, v.*, r.* ??) that will accept a point and a 
bearing, and draw the line on the active monitor?

if not, where would I start in writing my own module to do this?

thanks in advance!


Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis

Trevor Wiens | 3 Dec 00:01 2005

[GRASSLIST:9277] Re: How to extract elevation of sites?

On Fri, 2 Dec 2005 23:50:49 +0100
odoardo.zecca <at> libero.it wrote:

> Hi all.
> I need to extract the elevation of 85 sites from a DEM. How could I do that
> giving a list of coordinates (from a file or standard input) instead of
> interactively use d.what.rast?
> Thank you
> --
> Odoardo Zecca
> via Vallescuropasso, 50		tel.: 328 2883121
> 27043 Broni (PV)		email: odoardo.zecca <at> libero.it 

Set up your site list as a vector and use v.sample. 


Trevor Wiens 
twiens <at> interbaun.com

The significant problems that we face cannot be solved at the same 
level of thinking we were at when we created them. 
(Albert Einstein)