Re: [GRASS-user] MAPSET PERMANENT - permission denied

2008-02-26 Thread Hamish
Jachym wrote: > BTW: Maybe we should move [rv].example from intevation server to > osgeo as well ? > > Where to store it? grass_source/grass-examples ? they are already in the main source, in doc/: http://trac.osgeo.org/grass/browser/grass/trunk/doc/vector/v.example http://trac.osgeo.org/grass/b

Re: [GRASS-user] MAPSET PERMANENT - permission denied

2008-02-26 Thread Jachym Cepicky
so, since I do not understand, what you are doing, I'll try to describe the "development procedure" from the beginning: 1) download the source code 2) go to grass_trunk directory 3) download r.example and unpack to grass_trunk/raster directory 4) ./configure ... ; make; sudo make install 5) go t

[GRASS-user] Using v.edit to snap dangling lines

2008-02-26 Thread David Mahoney
I've been trying to use v.edit to snap dangling lines after patching together a bunch of maps. However, the query=dangle option does not seem to work. I've tried: v.edit map=roads tool=select query=dangle thresh=0 v.edit map=roads tool=select query=dangle thresh=-0 v.edit map=roads tool=select

[GRASS-user] Just a successful report ; -) --- Compiling GRASS source code under Ubuntu 7.10 64-bit with...

2008-02-26 Thread Nikos Alexandris
... support for 64-bit, SQLite, OpenGL, PYTHON, FFMPEG It's FAST ;-) I would like to put that on the wiki if there no objections. # Compiling latest GRASS source code on a 64-bit machine (with ATI graphic card) under Ubuntu 7.10 64-bit with support for: 64-but, SQLite, OpenGL, PYTHON, FFMPEG

[GRASS-user] Creating with GRASS (and QGIS) a LOCATION with EPSG:2100 assingns the wgs84 ellipsoid instead of grs80!

2008-02-26 Thread Nikos Alexandris
It might be something serious... or maybe not (?) EPSG:2100 is the Greek Geodetic Rereference System 1987 ( I insist it should be named Hellenic Geodetic... etc). This Projected Coordinate Reference System is based on the GRS80 [1] * Whenever I create a LOCATION with this code through GRASS and t

Re: [GRASS-user] postgresql driver

2008-02-26 Thread Jachym Cepicky
Hi, Jachym Cepicky píše v Út 26. 02. 2008 v 16:17 +0100: > hi, > > > afaik you have to specify two new collumns of types (float or double), > for x and y coordinates. > > grass does not support "point" column type used in potgresql no, it does not (afaik) support any "point" type in any databas

Re: [GRASS-user] MAPSET PERMANENT - permission denied

2008-02-26 Thread Kunal Malik
Hi!! I have set the Enviroment Variable by eval 'g.gisenv' when i make echo $LOCATION_NAME it gives Map1 echo $MAPSET GIVES kunal echo $GISDBASE =/usr/local/grassdata i have following queries 1. i have copied the r.example dir into the /usr/local/grass-6

Re: [GRASS-user] Re: r.in.wms bug ([EMAIL PROTECTED])

2008-02-26 Thread Hamish
Richard Chirgwin wrote: > Some progress on this, but I suspect there's something "under the > covers" that somebody needs to know about. > > The r.in.wms documentation says: > *r.in.wms* [-*ldockp*] [*output*=/string/] *mapserver*=/string/ > [*layers*=/string/[,/string/,...]] [*styles*=/string/[

[GRASS-user] Re: More on r.in.wms

2008-02-26 Thread Hamish
Richard Chirgwin wrote: > If I use r.in.wms from the GUI, it works, but I get errors from the > Terminal interface. ok. > From the r.in.wms GUI, here is the command that appears in the > Output panel of Grass-GIS: > > r.in.wms -c output=BG mapserver= layers=psma:all > srs=EPSG:4326 format=png

Re: [GRASS-user] MAPSET PERMANENT - permission denied

2008-02-26 Thread Kunal Malik
Hi!! I have set the Enviroment Variable by eval 'g.gisenv' when i make echo $LOCATION_NAME it gives Map1 echo $MAPSET GIVES kunal echo $GISDBASE =/usr/local/grassdata i have following queries 1. i have copied the r.example dir into the /usr/local/grass-6

Re: [GRASS-user] postgresql driver

2008-02-26 Thread Vassily Poddubny
Hi, Jachym! Thanks! Jachym Cepicky пишет: hi, Vassily Poddubny píše v Út 26. 02. 2008 v 20:18 +0500: Hi! I have postgresql table with point data type column "mypointloc". When i have tried to create vectors (points) object in GRASS 6.2.2 v.in.db driver=pg database="localhost,dbname=aerone

[GRASS-user] Re: r.in.wms bug ([EMAIL PROTECTED])

2008-02-26 Thread Richard Chirgwin
Some progress on this, but I suspect there's something "under the covers" that somebody needs to know about. The r.in.wms documentation says: *r.in.wms* [-*ldockp*] [*output*=/string/] *mapserver*=/string/ [*layers*=/string/[,/string/,...]] [*styles*=/string/[,/string/,...]] [*srs*=/string/] *

[GRASS-user] More on r.in.wms

2008-02-26 Thread Richard Chirgwin
Hamish, If I use r.in.wms from the GUI, it works, but I get errors from the Terminal interface. From the r.in.wms GUI, here is the command that appears in the Output panel of Grass-GIS: r.in.wms -c output=BG mapserver= layers=psma:all srs=EPSG:4326 format=png wmsquery=version=1.1.1 maxcols

[GRASS-user] Re: v.generalize for polygons?

2008-02-26 Thread Hamish
Hi, > the idea is to simplify the map before running v.extrude to get > something > like this: > http://grass.osgeo.org/grass60/screenshots/images/inc_employ_usa_2002.jpg for the record, I was trying to recreate that with v.extrude + NVIZ, but couldn't figure out how do color shade the different

[GRASS-user] v.generalize for polygons?

2008-02-26 Thread Hamish
Hi, I have a high-res vector area map of regional districts which I wish to generalize. I am having trouble with finding the correct method in v.generalize to use. Currently every thing I try tends to break the area topology and leave only a portion of the now-open boundary. i.e. it should pre

[GRASS-user] vector layers problem

2008-02-26 Thread wrobell
hi, i have a sqlite database, which holds two tables: - roads_1 (cat, ... some other columns ...) - roads_2 (cat column only) first table contains about 32000 rows. second one contains about 1400 rows and was populated from roads_1.cat column using SQL query. i have `roads` vector map with laye

[GRASS-user] kml topology... ?

2008-02-26 Thread Nikos Alexandris
Continuing my small quest with kml files... and bombing you with simple questions ;-p are kml files carrying topology information besides coordinates? I needed to manually correct a kml file which looked very bad after importing in GRASS (with -c otherwise it was not useful!) Automatic cleaning

[GRASS-user] Re: Grass Compatibility withOpenGL

2008-02-26 Thread Michael Barton
On Feb 26, 2008, at 12:48 AM, [EMAIL PROTECTED] wrote: Date: Tue, 26 Feb 2008 13:08:59 +0530 From: "Kunal Malik" <[EMAIL PROTECTED]> Subject: [GRASS-user] Re: Grass Compatibility withOpenGL To: "Jachym Cepicky" <[EMAIL PROTECTED]> Cc: grass-user@lists.osgeo.org, [EMAIL PROTECTED], [EMAI

Re: [GRASS-user] How to import KML polygons in GRASS?

2008-02-26 Thread Nikos Alexandris
(Replying partially to myself) Well, afterall it works! I removed gdal-bin (installed from Ubuntu repo's) and build gdal from source. With a simple ./configure - make - sudo make install I get gdal/ogr almost working ( got expat support but lost something else ;-( ) I needed to add in /etc

Re: [GRASS-user] MAPSET PERMANENT - permission denied

2008-02-26 Thread Glynn Clements
Jachym Cepicky wrote: > sorry, > $GRASSDATA should be the directory, where your GRASS data are located > $LOCATION_NAME should be name of the location, you are using for > current GRASS session FWIW, the name of the GRASS variable for the database directory is GISDBASE. You can make the GRASS

Re: [GRASS-user] postgresql driver

2008-02-26 Thread Jachym Cepicky
hi, Vassily Poddubny píše v Út 26. 02. 2008 v 20:18 +0500: > Hi! > > I have postgresql table with point data type column "mypointloc". When i > have tried to create vectors (points) object in GRASS 6.2.2 > > v.in.db driver=pg database="localhost,dbname=aeronet" table=mytable > x=mypointloc[0]

[GRASS-user] postgresql driver

2008-02-26 Thread Vassily Poddubny
Hi! I have postgresql table with point data type column "mypointloc". When i have tried to create vectors (points) object in GRASS 6.2.2 v.in.db driver=pg database="localhost,dbname=aeronet" table=mytable x=mypointloc[0] y=mypointloc[1] key=myid output=mynewtable I have got message " WARNIN

Re: [GRASS-user] LRS and v.build.polylines

2008-02-26 Thread Micha Silver
(responding to myself) I've gotten part way thru my problem, but I'm stuck with the attribute table. See below Micha Silver wrote: I could use some guidance with linear referencing and v.build.polylines. I want to get the distances between posts along a bike trail. I have vector maps of the

Re: [GRASS-user] MAPSET PERMANENT - permission denied

2008-02-26 Thread Jachym Cepicky
sorry, $GRASSDATA should be the directory, where your GRASS data are located $LOCATION_NAME should be name of the location, you are using for current GRASS session jachym Kunal Malik píše v Út 26. 02. 2008 v 18:53 +0530: > whoam i gives root > ls -lh $GRASSDATA/$LOCATION_NAME/ gives the output,,

Re: [GRASS-user] MAPSET PERMANENT - permission denied

2008-02-26 Thread Kunal Malik
whoam i gives root ls -lh $GRASSDATA/$LOCATION_NAME/ gives the output,,, total 3.1M drwxr-xr-x2 root root 4.0K Jan 30 04:09 bin drwxr-xr-x3 root root 4.0K Jan 21 13:15 boot drwxr-xr-x8 root root 4.7K Feb 26 10:29 dev drwxr-xr-x 86 root root 12K Feb 26 10:29 etc drwxr-xr-x6 root r

Re: [GRASS-user] complex reclass / r.reclass segmentation fault

2008-02-26 Thread Koen Hufkens
Indeed if I split up the rules file in with less than 100 categories at the lhs it works. Thanks, Koen On Tue, 2008-02-26 at 12:33 +, Glynn Clements wrote: > Koen Hufkens wrote: > > > I have a problem with r.reclass. > > > > I received a file with 2300 different integer class values in a r

Re: [GRASS-user] problem regarding the display of map

2008-02-26 Thread Kunal Malik
Hi! Thanks For ur support . I will Try it. I have Taken a sample Code from http://trac.osgeo.org/grass/browser/grass/trunk/doc/raster/r.example after compilation of this code ..after making setting in the Make file, I am getting the Error ERROR: MAPSET PERMANENT - permission denied why this error

[GRASS-user] Re: Sample Grass Code

2008-02-26 Thread Jachym Cepicky
it should be somewhere in $grass_source/dist.$arch/bin directory, where $arch for me stays for "i686-pc-linux-gnu" you should be able to execute r.example command from running grass session jachym Kunal Malik píše v Út 26. 02. 2008 v 18:24 +0530: > > HI !! > I have complied the Sample Code ..

Re: [GRASS-user] MAPSET PERMANENT - permission denied

2008-02-26 Thread Jachym Cepicky
are you working in GRASS as the same user, as you were before, when you created this location? what does ls -lh $GRASSDATA/$LOCATION_NAME/ say? what does whoami say? jachym Kunal Malik píše v Út 26. 02. 2008 v 18:31 +0530: > Hi! > > On Compilation of Code ,I am getting this Error . > MAP

Re: [GRASS-user] problem regarding the display of map

2008-02-26 Thread Jachym Cepicky
hm, are you working on raster map's region? does v.info say anything? try to run r.to.vect in command line (see r.to.vect --help for details) and post resulting messages from this module jachym Kunal Malik píše v Út 26. 02. 2008 v 17:58 +0530: > I have use this command > GRASS 6.2.3 (spearfish

[GRASS-user] MAPSET PERMANENT - permission denied

2008-02-26 Thread Kunal Malik
Hi! On Compilation of Code ,I am getting this Error . MAPSET PERMANENT - permission denied -- Thanks & Regards Kunal Malik 09871147561 ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] Re: Sample Grass Code

2008-02-26 Thread Kunal Malik
It Gives the Error ERROR: MAPSET PERMANENT - permission denied On 2/26/08, Kunal Malik <[EMAIL PROTECTED]> wrote: > > HI !! > I have complied the Sample Code ..It create the dir after Compilation > "OBJ.i686-pc-linux-gnu". > Where I could find the Exe & how could i run it. > Please suggest, > Tha

[GRASS-user] Re: Sample Grass Code

2008-02-26 Thread Kunal Malik
HI !! I have complied the Sample Code ..It create the dir after Compilation "OBJ.i686-pc-linux-gnu". Where I could find the Exe & how could i run it. This Dir contain the main.o. Please suggest, Thanks On 2/26/08, Kunal Malik <[EMAIL PROTECTED]> wrote: > > HI !! > I have complied the Sample Code ..

[GRASS-user] Re: Sample Grass Code

2008-02-26 Thread Kunal Malik
HI !! I have complied the Sample Code ..It create the dir after Compilation "OBJ.i686-pc-linux-gnu". Where I could find the Exe & how could i run it. Please suggest, Thanks On 2/26/08, Kunal Malik <[EMAIL PROTECTED]> wrote: > > HI!! > I have Taken Grass Sample program from > http://trac.osgeo.org

Re: [GRASS-user] complex reclass / r.reclass segmentation fault

2008-02-26 Thread Glynn Clements
Koen Hufkens wrote: > I have a problem with r.reclass. > > I received a file with 2300 different integer class values in a raster > format. However every one of these 2300 different integer values is > actually a combination of main and subclasses. As I am only interested > in the main classes I

[GRASS-user] Sample Grass Code

2008-02-26 Thread Kunal Malik
HI!! I have Taken Grass Sample program from http://trac.osgeo.org/grass/browser/grass/trunk/doc/raster/r.example but I am not able to run it .. I have taken Make File & r.example please suggest the way to run & execute it.. I am not able to link the header files grass/gis.h and other libraries.. L

Re: [GRASS-user] problem regarding the display of map

2008-02-26 Thread Kunal Malik
I have use this command GRASS 6.2.3 (spearfish60):~ > r.to.vect and in the r.to.vect window i have enter the raster map which is converted into vector format from the raster map present in the spearfish60 database and the enter the name for the output vector map and the feature line ,after the e

Re: [GRASS-user] complex reclass / r.reclass segmentation fault

2008-02-26 Thread Koen Hufkens
I'm running: Grass version 6.2.2 on Ubuntu Gutsy Gibon (7.10) Kernel 2.6.22-14 x86_64 Tcl 8.4.15 The rules file is attached, I hope it gets passed the list filters. As you will notice there are 4 classes. 1 for forest 2 for savanna 3 for intermediate vegetation - for other cases Kind rega

Re: [GRASS-user] problem regarding the display of map

2008-02-26 Thread Jachym Cepicky
Kunal Malik píše v Út 26. 02. 2008 v 16:56 +0530: > HI! > i convert the raster map to vector map and the name of new vect map is > map_tf_v > but when i use the display command i am getting following error > > g.region vect=map_tf_v > ERROR: Cannot open old vector [EMAIL PROTECTED] on level 2 >

[GRASS-user] problem regarding the display of map

2008-02-26 Thread Kunal Malik
HI! i convert the raster map to vector map and the name of new vect map is map_tf_v but when i use the display command i am getting following error g.region vect=map_tf_v ERROR: Cannot open old vector [EMAIL PROTECTED] on level 2 d.vect map=tgr_shp The bounding box of the map is outside the curre

Re: [GRASS-user] wxpython gui: d.vect.thematic raises error

2008-02-26 Thread G. Allegri
> basically snapping is done when new feature is written (snapping on > the fly could be implemented using wxPython functionality). If you > want to enable snapping to background vector map objects, set up > background map in digitization settings. The behaviour is the same, > snapping is done

Re: [GRASS-user] wxpython gui: d.vect.thematic raises error

2008-02-26 Thread G. Allegri
Thanks Michael. It works. I thought I had already tried this way... this time it worked correctly checking the "Output legend for GIS Manager (for scripting use only)". 2008/2/26, Michael Barton <[EMAIL PROTECTED]>: > > On Feb 25, 2008, at 4:42 PM, G. Allegri wrote: > ec > > Michael, I posted a

Re: [GRASS-user] complex reclass / r.reclass segmentation fault

2008-02-26 Thread Maris Nartiss
1) GRASS version, OS, arch? 2) Is it possible to get file that causes segfault? Maris. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Re: Grass Compatibility withOpenGL

2008-02-26 Thread Jachym Cepicky
Kunal Malik píše v Út 26. 02. 2008 v 15:32 +0530: > > HI Jachym ! > wat do u suggest after the Paul Views about the Grass compatiblilty > with OpenGl. go ahead jachym > On 2/26/08, Paul Kelly <[EMAIL PROTECTED]> wrote: > On Tue, 26 Feb 2008, Jachym Cepicky wrote: > >

Re: [GRASS-user] Re: Grass Compatibility withOpenGL

2008-02-26 Thread Jachym Cepicky
hi, Paul Kelly píše v Út 26. 02. 2008 v 09:51 +: > On Tue, 26 Feb 2008, Jachym Cepicky wrote: > > > > I simply know it. Last time, there was discussion about integrating > > That's not strictly true. GRASS has a whole library of code for reading > GRASS datasets and visualizing them using Op

[GRASS-user] complex reclass / r.reclass segmentation fault

2008-02-26 Thread Koen Hufkens
Hi list, I have a problem with r.reclass. I received a file with 2300 different integer class values in a raster format. However every one of these 2300 different integer values is actually a combination of main and subclasses. As I am only interested in the main classes I used a lookup table to

Re: [GRASS-user] Re: Grass Compatibility withOpenGL

2008-02-26 Thread Kunal Malik
HI Jachym ! wat do u suggest after the Paul Views about the Grass compatiblilty with OpenGl. On 2/26/08, Paul Kelly <[EMAIL PROTECTED]> wrote: > > On Tue, 26 Feb 2008, Jachym Cepicky wrote: > > > > > hi, > > > > Kunal Malik píÿÿe v Út 26. 02. 2008 v 13:08 +0530: > > >> > >> HI, > >> Jachym ..would

Re: [GRASS-user] Re: Grass Compatibility withOpenGL

2008-02-26 Thread Paul Kelly
On Tue, 26 Feb 2008, Jachym Cepicky wrote: hi, Kunal Malik píÿÿe v Út 26. 02. 2008 v 13:08 +0530: HI, Jachym ..would u tell me how u came to know this,,have u worked on this,,or read from somewhere ..i want to know it beacause i am working on grass tool,,& i have to integrate it with OpenGl

Re: [GRASS-user] r.in.wms bug

2008-02-26 Thread [EMAIL PROTECTED]
Hamish, Hamish wrote: Richard Chirgwin wrote: - Grass Version: Grass 6.3RC4 (William K's build) - MAC OSX Leopard - Using CURL - I used the r.in.wms interface, which generated this command line: r.in.wms output=test mapserver= layers=psma:all srs=EPSG:4326 format=png wmsquery=version=1.1.1

[GRASS-user] Eigen vectors

2008-02-26 Thread saroj
Dear all, I am working on PCA and the eigen vectors generated by the i.pca and the m.eigensystem differs in terms of the negative and positive signs, due to this the pca's i generate using both methods dont seem to match. Can anyone help me on this. Regards, Saroj __

Re: [GRASS-user] wxpython gui: d.vect.thematic raises error

2008-02-26 Thread Martin Landa
Hi, 2008/2/26, G. Allegri <[EMAIL PROTECTED]>: > So, I'm on the edge! ;-) > I've seen the snapping tool between layers... The snap happens only at > the end of the digitizing process, but it doesn't appear during it > (the pointer and the node don't appear snapped). Is it something in > develo