Re: [GRASS-user] problem with reprojection of Hydro1k data

2009-02-16 Thread FAROUX STEPHANIE
Thank you for your answer Markus. I didn't read the note in the r.proj page. I will try again and then we will see. Stéphanie Markus Neteler wrote: Stéphanie, On Fri, Feb 13, 2009 at 2:18 PM, FAROUX STEPHANIE stephanie.far...@meteo.fr wrote: Hello, First i'd like to know if anybody

Re: [GRASS-user] data base element file

2009-02-16 Thread Moritz Lennert
On 16/02/09 00:35, Keleni Raqisia wrote: Im new to Grass. Need to do an image segmentation and which requires me to group and produce a signiture file of image to run the i.smap program. I've created a DBase, Location and a mapset, permanent and also another mapset. I need instructions on how

Re: [GRASS-user] problem with reprojection of Hydro1k data

2009-02-16 Thread FAROUX STEPHANIE
I did it; results are not exactly the same but it's not enough because gaps between continents are still more important. FAROUX STEPHANIE wrote: Thank you for your answer Markus. I didn't read the note in the r.proj page. I will try again and then we will see. Stéphanie Markus Neteler

Re: [GRASS-user] mossy grass seeds

2009-02-16 Thread Moritz Lennert
On 16/02/09 08:52, Markus Neteler wrote: On Mon, Feb 16, 2009 at 8:38 AM, Hamish hamis...@yahoo.com wrote: ... just curious: was GRASS just cheeky naming by a competing US Gov't GIS team or was there tangled roots in the early days? Here are some pointers: * GRASS History II: GRASS Roots by

[GRASS-user] Re: Python scripting

2009-02-16 Thread Georg Kaspar
On Fri, 13 Feb 2009 14:14:47 +, Glynn Clements wrote: It's part of the GRASS source code: lib/python/grass.py. It should get installed into $GISBASE/etc/python during the build process, and Init.sh should add that directory to PYTHONPATH. Also, it's only present in 6.4, 6.5 and 7.0, not

[GRASS-user] r.patch, images vs coloured elevation data, aerial photo mosaic

2009-02-16 Thread John Stevenson
Hi, I have two questions, first a specific one, secondly a more general one. 1) I have some aerial photos that I want to mosaic. I am able to do this with r.patch. However, the photos only cover about half of the region. In the remainder of the region, I would like to show a shaded

Re: [GRASS-user] problem with reprojection of Hydro1k data

2009-02-16 Thread FAROUX STEPHANIE
I try the v.in.region + v.proj + g.region + r.proj process (explained in the r.proj page) with a region whose reprojection doesn't allow to get a closed boarder: the projection of the raster doesn't work. Is it normal? Thank you FAROUX STEPHANIE wrote: I did it; results are not exactly the

Re: [GRASS-user] Problem with vdigit in 64 release

2009-02-16 Thread kries
hi, I had some trouble with my system. Glibc wouldn't compile and I thought a messed up system might be the cause of my problems with grass. I finally fixed it, but my grass problems haven't changed. will come up with more debug info asap. thanks, kries -- View this message in context:

Re: [GRASS-user] Re: Python scripting

2009-02-16 Thread Markus Neteler
On Mon, Feb 16, 2009 at 11:57 AM, Georg Kaspar ge...@geofs.de wrote: ... thanks. Since GRASS 6.3 integrates better with QGIS an R (at least on my PC) why is that so? The GRASS-R interface was recently updated and should be way faster than previous versions. If you could indicate the problems...

Re: [GRASS-user] Re: Python scripting

2009-02-16 Thread Glynn Clements
Georg Kaspar wrote: It's part of the GRASS source code: lib/python/grass.py. It should get installed into $GISBASE/etc/python during the build process, and Init.sh should add that directory to PYTHONPATH. Also, it's only present in 6.4, 6.5 and 7.0, not in earlier versions. thanks.

[GRASS-user] create raster from line vector

2009-02-16 Thread G. Allegri
Hello everyone. A simple question, but I'm getting mad with it! I simply have to convert a vector line to raster. I've done it many times in the past, but this time I can't make it work: v.to.rast input=border output=border use=val type=line layer=1 value=1 The output is simply blank (MAX and

[GRASS-user] r.mapcalc: columns()/modulo - rounding issue, possible bugfeature ?

2009-02-16 Thread peter . loewe
Hi, I stumbled over this funny behavior of the col() function of r.mapcalc (GRASS6.2 and GRASS6.4, both on Linux). According to The Book, col() returns current col of moving window. I assume that for each row of a given raster layer col() should provide the values 1,2,3,4,5, etc. as it

Re: [GRASS-user] create raster from line vector

2009-02-16 Thread G. Allegri
Thnaks Nikos. I don't have neither MASKs nor raster values near 0... As you can see in my command I've set the value to 1. I start to think there's something wrong with my GRASS build... 2009/2/16 Nikos Alexandris nikos.alexand...@felis.uni-freiburg.de: On Mon, 2009-02-16 at 15:17 +0100, G.

Re: [GRASS-user] create raster from line vector

2009-02-16 Thread G. Allegri
I share my vector, if someone wants to reproduce this problem: http://www.geospatial.it/allegri/bordi.tar.gz EPSG:32632 2009/2/16 G. Allegri gioha...@gmail.com: Thnaks Nikos. I don't have neither MASKs nor raster values near 0... As you can see in my command I've set the value to 1. I start

Re: [GRASS-user] create raster from line vector

2009-02-16 Thread Nikos Alexandris
On Mon, 2009-02-16 at 15:40 +0100, G. Allegri wrote: I share my vector, if someone wants to reproduce this problem: http://www.geospatial.it/allegri/bordi.tar.gz EPSG:32632 Giovanni, the shapefile's attribute table looks messed up. I just opened it with QGIS and the column names are

Re: [GRASS-user] create raster from line vector

2009-02-16 Thread Nikos Alexandris
On Mon, 2009-02-16 at 15:52 +0100, Nikos Alexandris wrote: On Mon, 2009-02-16 at 15:40 +0100, G. Allegri wrote: I share my vector, if someone wants to reproduce this problem: http://www.geospatial.it/allegri/bordi.tar.gz EPSG:32632 Giovanni, the shapefile's attribute table looks

Re: [GRASS-user] r.patch, images vs coloured elevation data, aerial photo mosaic

2009-02-16 Thread John Stevenson
Nikos Alexandris wrote: On Mon, 2009-02-16 at 11:35 +, John Stevenson wrote: Hi, I have two questions, first a specific one, secondly a more general one. 1) I have some aerial photos that I want to mosaic. I am able to do this with r.patch. However, the photos only cover about half

Re: [GRASS-user] create raster from line vector

2009-02-16 Thread G. Allegri
??? even the new one that I've uploaded? 2009/2/16 Nikos Alexandris nikos.alexand...@felis.uni-freiburg.de: On Mon, 2009-02-16 at 15:52 +0100, Nikos Alexandris wrote: On Mon, 2009-02-16 at 15:40 +0100, G. Allegri wrote: I share my vector, if someone wants to reproduce this problem:

Re: [GRASS-user] r.patch, images vs coloured elevation data, aerial photo mosaic

2009-02-16 Thread Nikos Alexandris
On Mon, 2009-02-16 at 14:55 +, John Stevenson wrote: But I am 100% sure that it will work. Oops: But I am *NOT* 100% that it will work is what I wanted to write :-). But I am glad that it worked out. Kind regards, Nikos ___ grass-user mailing

Re: [GRASS-user] create raster from line vector

2009-02-16 Thread G. Allegri
Damn! So it was simply a problem with the attribute table. In the meantime I've solved doing a moving average on the rasterized polygon, and extracting only the cat values between the inside and the outside... Not a straightfarword solution :) Thanks Nikos 2009/2/16 Nikos Alexandris

Re: [GRASS-user] r.mapcalc: columns()/modulo - rounding issue, possible bugfeature ?

2009-02-16 Thread Moritz Lennert
On 16/02/09 15:31, peter.lo...@gmx.de wrote: Hi, I stumbled over this funny behavior of the col() function of r.mapcalc (GRASS6.2 and GRASS6.4, both on Linux). According to The Book, col() returns current col of moving window. I assume that for each row of a given raster layer col() should

Re: [GRASS-user] create raster from line vector

2009-02-16 Thread Michael Barton
On Feb 16, 2009, at 7:40 AM, grass-user-requ...@lists.osgeo.org wrote: Date: Mon, 16 Feb 2009 15:17:27 +0100 From: G. Allegri gioha...@gmail.com Subject: [GRASS-user] create raster from line vector To: grassuser grass-user@lists.osgeo.org Message-ID:

Re: [GRASS-user] Problemas con winGRASS 6.4.0RC3 del instalador OSGeo4W

2009-02-16 Thread Jarek Jasiewicz
g.region says: EROR:Invalid ellipsoid '�' in file PROJ_INFO in PERMANENT I removed PROJ_INFO and now grass can be used in gui (gis.m) mode thanks for tip Jarek Markus Neteler pisze: On Sun, Feb 15, 2009 at 8:41 PM, Jarek Jasiewicz jar...@amu.edu.pl wrote: I confirm that error on old

Re: [GRASS-user] Problemas con winGRASS 6.4.0RC3 del instalador OSGeo4W

2009-02-16 Thread Markus Neteler
On Mon, Feb 16, 2009 at 6:05 PM, Jarek Jasiewicz jar...@amu.edu.pl wrote: g.region says: EROR:Invalid ellipsoid '� ' in file PROJ_INFO in PERMANENT How was the PROJ_INFO file generated? Which projection? I removed PROJ_INFO and now grass can be used in gui (gis.m) mode thanks for tip It's

Re: [GRASS-user] Problem with vdigit in 64 release

2009-02-16 Thread kries
Hi, there seems to be a problem with cairo rendering: GUI D3/3: Command(): cmd='g.gisenv', wait=True, returncode=0, alive=False GUI D3/3: Command(): cmd='g.proj -p', wait=True, returncode=0, alive=False GUI D3/3: CreateTool(): tool=498, label=displaymap bitmap=wx._gdi.Bitmap; proxy of

Re: [GRASS-user] Problemas con winGRASS 6.4.0RC3 del instalador OSGeo4W

2009-02-16 Thread Jarek Jasiewicz
Markus Neteler pisze: On Mon, Feb 16, 2009 at 6:05 PM, Jarek Jasiewicz jar...@amu.edu.pl wrote: g.region says: EROR:Invalid ellipsoid '� ' in file PROJ_INFO in PERMANENT How was the PROJ_INFO file generated? Which projection? Sorry I don' rememer it was over one year ago.

[GRASS-user] Export specific shapes from a vector file

2009-02-16 Thread leonidas
I need to export specific shapes from a grass vector file to another grass vector file. Also, I need to convert specific polygons from a vector grass file to a raster grass file. How can I do that? Thanks, Leonidas -- View this message in context:

Re: [GRASS-user] Export specific shapes from a vector file

2009-02-16 Thread Nikos Alexandris
On Mon, 2009-02-16 at 12:55 -0800, leonidas wrote: I need to export specific shapes from a grass vector file to another grass vector file. v.extract in=VectorMap out=ExtractedFeatures ... # you can use list= to extract specific categories (the cat column) # or an SQL where clause, e.g.

Re: [GRASS-user] Export specific shapes from a vector file

2009-02-16 Thread leonidas
Thank you Niko, well I understand the first one (using v.extract). -Is it possible to do something like that using v.out.ogr and export to shapefile? -As far as concerns the second question using v.to.rast, how can I export only specific areas using sql where clause or list for specific

Re: [GRASS-user] Export specific shapes from a vector file

2009-02-16 Thread Nikos Alexandris
On Mon, 2009-02-16 at 13:14 -0800, leonidas wrote: Thank you Niko, well I understand the first one (using v.extract). -Is it possible to do something like that using v.out.ogr and export to shapefile? AFAIK, no. The way to do it is: v.extract + v.out.ogr -As far as concerns the second

Re: [GRASS-user] Export specific shapes from a vector file

2009-02-16 Thread leonidas
Yes that was what exactly I need.Thanks again Nikos Alexandris wrote: On Mon, 2009-02-16 at 13:14 -0800, leonidas wrote: Thank you Niko, well I understand the first one (using v.extract). -Is it possible to do something like that using v.out.ogr and export to shapefile? AFAIK, no. The

Re: [GRASS-user] r.mapcalc: columns()/modulo - rounding issue, possible bugfeature ?

2009-02-16 Thread Glynn Clements
peter.lo...@gmx.de wrote: I stumbled over this funny behavior of the col() function of r.mapcalc (GRASS6.2 and GRASS6.4, both on Linux). According to The Book, col() returns current col of moving window. I assume that for each row of a given raster layer col() should provide the values

[GRASS-user] Display output question

2009-02-16 Thread Richard Chirgwin
Hi all, What's the command-line equivalent to using the JPG export in the display manager? (I would like to script outputs from a number of workspace - GRC - files). Cheers, Richard ___ grass-user mailing list grass-user@lists.osgeo.org

[GRASS-user] Re: archaeologist GRASS users - was Thiessen Polygons

2009-02-16 Thread Kurt Springs
Wow, I didn't expect what I thought to be a simple question on how to do something to morph into two separate threads. :) I do have a question for archaeologist out there. Can they suggest some good articles on the use of Thiessen Polygons in archaeology, especially if they deal with

Re: [GRASS-user] vector area needs water fill

2009-02-16 Thread Nikos Alexandris
On Mon, 2009-02-16 at 20:01 -0500, Kurt Springs wrote: Hi folks, I do have another problem I would like some thoughts on. I have vector areas representing water areas (lakes and oceans). I purchased these areas from the Irish and Northern Irish Ordinance Survey. They came as .dxf

Re: [GRASS-user] vector area needs water fill

2009-02-16 Thread Kurt Springs
On Feb 16, 2009, at 8:37 PM, Nikos Alexandris wrote: On Mon, 2009-02-16 at 20:01 -0500, Kurt Springs wrote: Hi folks, I do have another problem I would like some thoughts on. I have vector areas representing water areas (lakes and oceans). I purchased these areas from the Irish and Northern

[GRASS-user] how to get instantaneous heading of a line at a pt?

2009-02-16 Thread Hamish
Hi, I have used v.to.points to create a series of points that fall along a line. Now I want to upload to a DB column in the points map the instantaneous heading of the original line at that sample point. any ideas? thanks, Hamish ___ grass-user

[GRASS-user] v.generalize for area boundaries?

2009-02-16 Thread Hamish
Hi, I am following the v.generalize tutorial at http://users.ox.ac.uk/~orie1848/tutorial.html (we should move that to the wiki before it disappears) but it doesn't say much about working with areas beyond removing small ones. I have a vector area which has a very steppy boundary, like from

Re: [GRASS-user] Thiessen Polygons

2009-02-16 Thread Hamish
Jan Hartmann wrote: With that in mind, if the algorithm you propose would be indeed an approximation to weighted Voronoi polygons, *and* it wouldn't be all to hard to implement (I have no idea about that), would it make sense to propose this as a new RFC for GRASS? Glynn wrote: I

[GRASS-user] Seeking simple example of Grass+python through webserver.

2009-02-16 Thread Tim Welch
Hi folks, I'm looking for a simple example of using grass from within Python through a webserver. PyWPS does what I'm looking for by setting up all the proper grass environment variables, the location, the mapset, a fake grass environment if you will, but it's not as easy to follow this code