[GRASS-user] v.rast.stats

2010-07-14 Thread Sandile Gumede
Hi Thanks. How do I project the GTOPO30 data to get a specific region using coordinates, say I need the region within these coordinates: Upper Left (18.2987501, -33.6795831) Lower Right (19.1712501, -34.0145831) On Tue, Jul 13, 2010 at 4:20 PM, Markus Neteler nete...@osgeo.org wrote: On

Re: [GRASS-user] Beginner (Mac): How do I display a raster in Map Display window using line commands

2010-07-14 Thread Etienne DELAY (deust 2010)
Hamish, Ahhh, yes I did try using an X-monitor earlier. It worked for raster display as you suggest. But when I tried to use zoom commands, I found that my Kensington Orbit trackball would not release the cursor to finish selecting the zoom area. Do I have to change the behavior of my right

[GRASS-user] compress a vector layer

2010-07-14 Thread Etienne DELAY (deust 2010)
Hello I want to compress a vector layer (in a single entity). And I do not know how to do it, with GRASS 6.4, if you have a solution? thank you -- Cordialement Etienne DELAY Deust Webmaster et gest. d'intranet (IDSkype : etienne.delay.tic) Master IUP valorisation du patrimoine et aménagement du

[GRASS-user] r.out.gdal output size vs input size

2010-07-14 Thread Espen Isaksen
Hi! I have imported a DEM into Grass. I have done no changes to the file. Now I want to export the same file with r.out.gdal. However, the problem is that the file is getting huge. My imported file was a 76MB Gtiff file. The output is so far getting up to 7GB!! I have not tested it going all the

[GRASS-user] r.out.gdal output size vs input size

2010-07-14 Thread Espen Isaksen
Hi! I have imported a DEM into Grass. I have done no changes to the file. Now I want to export the same file with r.out.gdal. However, the problem is that the file is getting huge. My imported file was a 76MB Gtiff file. The output is so far getting up to 7GB!! I have not tested it going all the

[GRASS-user] Re: r.out.gdal output size vs input size

2010-07-14 Thread LeeDaniel
Hi Espen, r.out.gdal uses the current region settings. Is it possible that you've set a high region resolution? Then your GeoTIFF is probably being resampled to a higher resolution, causing the file to be a lot bigger. Best, Daniel -- View this message in context:

Re: [GRASS-user] Re: r.out.gdal output size vs input size

2010-07-14 Thread Espen Isaksen
Quite possible that I did something wrong with the region :-) I just used the default when creating the new location. And that is probably 1 meter( I am dealing with 10 meter DEM's). Can I somehow change the region resolution once the location is created? Or force r.out.gdal to export with a

[GRASS-user] Re: r.out.gdal output size vs input size

2010-07-14 Thread LeeDaniel
In my opinion, the easiest way would be to set the region according to your GeoTIFF. You can do that with g.region using the parameter rast=your_raster More here: http://grass.itc.it/gdp/html_grass64/g.region.html If you set the region to your GeoTIFF, the extent and resolution of the region

Re: [GRASS-user] Re: r.out.gdal output size vs input size

2010-07-14 Thread Espen Isaksen
Ok, answering my own questions here I guess. Did not help just setting the resolution to the correct value, but when I redefined the region by g.region rast=stryn_slope -p and then did an export it all worked very nicely. Thanks LeeDaniel! Espen 2010/7/14 Espen Isaksen

Re: [GRASS-user] Re: r.out.gdal output size vs input size

2010-07-14 Thread Espen Isaksen
Thanks LeeDaniel, that is what I figured too :-) I am still a bit new to Grass so I have to get used to this region stuff. Espen 2010/7/14 LeeDaniel lee.daniel.1...@gmail.com: In my opinion, the easiest way would be to set the region according to your GeoTIFF. You can do that with g.region

[GRASS-user] v.rast.stats

2010-07-14 Thread Sandile Gumede
Hi, I'm using GTOPO30 DEM data and TRMM (rainfall) data, I selected the data for the whole of africa but I'm getting an error when executing v.rast.stats. Here is a step-by-step of what I did: 1. GTOPO30 DEM - downloaded e020n10,w020s10,e020n40,w020n40 compressed files from

[GRASS-user] Mac vs PC

2010-07-14 Thread Bob Byer
Hello, I'm a new user of GRASS and was wondering if there is an advantage to using GRASS on a Mac vs. PC.  Thanks in advance.  Bob ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Mac vs PC

2010-07-14 Thread Rich Shepard
On Wed, 14 Jul 2010, Bob Byer wrote: Hello, I'm a new user of GRASS and was wondering if there is an advantage to using GRASS on a Mac vs. PC. The hardware doesn't matter, but the OS could. Use linux (or Apple's version, OSX) and you'll gain many advantages, not only for GRASS but for

[GRASS-user] Script Directory in Ubuntu

2010-07-14 Thread LeeDaniel
Hi all, I know, this is an extremely rudimentary question, but please bear with me: I developed a bunch of scripts that I need on OpenSUSE. I was able to call them up in GRASS by typing in their name. They were stored in the directory: /opt/grass/scripts/ Recently I started working on a second

Re: [GRASS-user] Script Directory in Ubuntu

2010-07-14 Thread stephen sefick
I put my GRASS scripts in a scripts folder that I created in my home directory and add that to the PATH definition in my .bashrc file. hth, If you like I can pass along a script that downloads from svn and compiles GRASS with the r.stream libraries from add-ons. Works fine on my ubuntu 10.04.

[GRASS-user] Projection String I can not figure out

2010-07-14 Thread stephen sefick
GEOGCS[GCS_North_American_1983,DATUM[D_North_American_1983,SPHEROID[GRS_1980,6378137.0,298.257222101]],PRIMEM[Greenwich,0.0],UNIT[Degree,0.017453292519943295]] This is the projection string from a shp file from the USGS national hydrography dataset. I would like to reproject this into another

Re: [GRASS-user] Arc Binary coverages- arggg!

2010-07-14 Thread stephen sefick
I don't have an info directory. I tried using v.in.ogr to no avail. So, I downloaded the nation hydrography dataset and now I am trying to find out projection information. thanks, STephen On Tue, Jul 13, 2010 at 8:10 AM, Mark Seibel msei...@gmail.com wrote: Much to my delight, v.in.ogr reads

Re: [GRASS-user] Projection String I can not figure out

2010-07-14 Thread Markus Metz
stephen sefick wrote: GEOGCS[GCS_North_American_1983,DATUM[D_North_American_1983,SPHEROID[GRS_1980,6378137.0,298.257222101]],PRIMEM[Greenwich,0.0],UNIT[Degree,0.017453292519943295]] This is the projection string from a shp file from the USGS national hydrography dataset.  I would like to

Re: [GRASS-user] Projection String I can not figure out

2010-07-14 Thread Markus Metz
stephen sefick wrote: Is there a way to import and re-project into GRASS without having to use ogr2ogr first? Reprojection using GRASS: import into a new location, reproject from new location into target location with v.proj. If the shapefile holds polygons, I would strongly advice against

[GRASS-user] Re: Script Directory in Ubuntu

2010-07-14 Thread LeeDaniel
Hi Stephen, Great! It worked. Thanks a bunch :) The script sounds good, thanks in advance for that. I'm so happy I can use this other computer, this'll reduce the computing time by a couple days... Best, Daniel -- View this message in context:

Re: [GRASS-user] Arc Binary coverages- arggg!

2010-07-14 Thread stephen sefick
They were sent to me by some folk I am working with. I don't know how they generated the coverages. On Wed, Jul 14, 2010 at 8:59 AM, Mark Seibel msei...@gmail.com wrote: How did you obtain the coverage?  They are typically distributed as e00 files, which when imported create a directory for

Re: [GRASS-user] Projection String I can not figure out

2010-07-14 Thread Mark Seibel
How about # NAD83 4269 +proj=longlat +ellps=GRS80 +datum=NAD83 +no_defs no_defs ? Mark On Wed, Jul 14, 2010 at 9:19 AM, stephen sefick ssef...@gmail.com wrote:

[GRASS-user] not able to create table on vector import

2010-07-14 Thread stephen sefick
ERROR: Unable to create table: 'create table srs_2010_07_14 (cat integer, site varchar ( 80 ), base varchar ( 80 ), creek varchar ( 80 ), date varchar ( 80 ), elevation_ double precision, x double precision, y double precision, station double precision)' (Wed Jul 14 09:14:48 2010) Command finished

Re: [GRASS-user] Arc Binary coverages- arggg!

2010-07-14 Thread Mark Seibel
How did you obtain the coverage? They are typically distributed as e00 files, which when imported create a directory for the geometry and an info directory for the attributes. Mark On Wed, Jul 14, 2010 at 9:20 AM, stephen sefick ssef...@gmail.com wrote: I don't have an info directory.  I tried

Re: [GRASS-user] Arc Binary coverages- arggg!

2010-07-14 Thread Daniel Victoria
Probably the did not send you the entire thing since Arc coverages have data in the info folder. Maybe if they export the coverage as an e00 file or as a shapefile it would be better. Daniel On Wed, Jul 14, 2010 at 11:01 AM, stephen sefick ssef...@gmail.com wrote: They were sent to me by some

[GRASS-user] Re: Script Directory in Ubuntu

2010-07-14 Thread LeeDaniel
Thanks a bunch! -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Script-Directory-in-Ubuntu-tp5292424p5292826.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list

Re: [GRASS-user] Arc Binary coverages- arggg!

2010-07-14 Thread stephen sefick
Thank you very much for all of your help. On Wed, Jul 14, 2010 at 9:33 AM, Daniel Victoria daniel.victo...@gmail.com wrote: Probably the did not send you the entire thing since Arc coverages have data in the info folder. Maybe if they export the coverage as an e00 file or as a shapefile it

[GRASS-user] v.rast.stats

2010-07-14 Thread Sandile Gumede
Hi, Can anyone help! On Wed, Jul 14, 2010 at 1:31 PM, Sandile Gumede akasand...@gmail.comwrote: Hi, I'm using GTOPO30 DEM data and TRMM (rainfall) data, I selected the data for the whole of africa but I'm getting an error when executing v.rast.stats. Here is a step-by-step of what I did:

[GRASS-user] GRASS master server in emergency migration - use the mirrors please

2010-07-14 Thread Markus Neteler
Hi all, since the blade system which hosts http://grass.osgeo.org has been compromised I started to anticipate the migration to the new OSGeo hardware. We don't know if and when the blade system comes back and the new OSGeo project server is new and powerful. The master site is currently down,

[GRASS-user] Compiling a Python-Script in Windows

2010-07-14 Thread António Rocha
as an internal or external command, operable program or batch file. In Linux it works...Can Anyone help me? Thanks Antonio __ Information from ESET NOD32 Antivirus, version of virus signature database 5278 (20100714) __ The message was checked by ESET NOD32 Antivirus. http

[GRASS-user] attributes operations in a network

2010-07-14 Thread Ricardo Rodríguez
hello all, I have a question which is the best way to perform operations on the attributes of a network and add the results to the layer of network points such distances and other things. thanks for your answers Ricardo Rodríguez Univalle ___

Re: [GRASS-user] v.db.connect -p

2010-07-14 Thread Markus Neteler
On Wed, Jul 14, 2010 at 6:19 AM, Patricio Toledo patricioantoniotol...@gmail.com wrote: Dear GRASS Developers This is a petition: Is it possible to add a option to v.db.connect (like g.region -p) so the output will be somelike:    $ v.db.connect -p map=test layer=2    driver=dbf    

[GRASS-user] GRASS doesn't see a newly-created raster file as a raster

2010-07-14 Thread I. Syncrasy
As part of an exercise using the North Carolina sample files, I am supposed to export the raster file landclass96 to ASCII format, then import the newly created ASCII file to create a new raster. (It's a test of our ASCII export/import skills, I suppose.) I believe I succeeded in creating the

[GRASS-user] gvSIG OA Digital Edition 2010 out now with GRASS GIS support

2010-07-14 Thread Benjamin Ducke
http://oadigital.net OA Digital are proud to announce the immediate availability of gvSIG OADE 2010, the user-friendly, open source GIS that gives you freedom, functionality and flexibility. Following two beta versions and extensive testing at sites around the world, this release represents a

[GRASS-user] Re: Including Metadata/description in file during import

2010-07-14 Thread Luisa Peña
Hi there I have sent this message 2 weeks ago.. can anyone help me on this? Just a tip :) Thanks 2010/7/8 Luisa Peña luisapena1...@gmail.com Greetings I have done a Python Script to import data, that is a specific format, and I need to add some information to its metadata in GRASS (in order

[GRASS-user] r.watershed segment_seek error

2010-07-14 Thread Chris Caveny-Cox
I am attempting to process a mosaiced raster through r.watershed and it's erroring out fairly early in the process with the following command output segment_seek: Invalid argument Failed seek in segment file for index = 0 n = 13422 at col:row 24400:2 cseg_read_cell(): unable to segment put

Re: [GRASS-user] v.db.connect -p

2010-07-14 Thread Casa
Dear Markus Thanks for the reply. I am aware of the -g option, i did not pretent to change the behaviour of -p or -g options in v.db.connect, i suppose that a new option which behaves like g.region -p could a nice solution (but no very consistent) so nobody is hurt with the proposed change.

Re: [GRASS-user] not able to create table on vector import

2010-07-14 Thread Martin Landa
Hi, 2010/7/14 stephen sefick ssef...@gmail.com: ERROR: Unable to create table: 'create table srs_2010_07_14 (cat integer, site varchar ( 80 ), base varchar ( 80 ), creek varchar ( 80 ), date varchar ( 80 ), elevation_ double precision, x double 'date' is reserved word, try to change name of

Re: [GRASS-user] attributes operations in a network

2010-07-14 Thread Markus Neteler
On Wed, Jul 14, 2010 at 6:07 PM, Ricardo Rodríguez ricardorodo...@gmail.com wrote: hello all, I have a question which is the best way to perform operations on the attributes of a network The various v.db.* modules should do that. and add the results to the layer of network points such

[GRASS-user] gvSIG OADE 2010 with GRASS GIS support released

2010-07-14 Thread Benjamin Ducke
http://oadigital.net OA Digital are proud to announce the immediate availability of gvSIG OADE 2010, the user-friendly, open source GIS that gives you freedom, functionality and flexibility. Following two beta versions and extensive testing at sites around the world, this release represents a