Re: [GRASS-user] v.out.ogr not working

2018-01-10 Thread alassane toure
Ok GRASS75 it will be. Will keep you posted! Again thanks guys for making time for this On Wed, Jan 10, 2018 at 5:14 PM, Markus Metz wrote: > > > On Wed, Jan 10, 2018 at 5:38 PM, alassane toure wrote: > > > > Markus, > > Here is the system response. The code g

Re: [GRASS-user] v.out.ogr not working

2018-01-10 Thread alassane toure
Thanks Markus, I will try your suggestion too! alassane On Wed, Jan 10, 2018 at 9:25 AM, alassane toure wrote: > Thanks for your response Mauricio. > > Ok I will try it but v.out.ogr in GUI and in python script works using > GRASS70 though! > > alassane > > > > O

Re: [GRASS-user] v.out.ogr not working

2018-01-10 Thread alassane toure
e of columns in the attribute table. > > Try with short name. > > Best. > > 2018-01-09 22:56 GMT-02:00 alassane toure : > >> Group, >> I have been spending a lot of time on this and I need help. I am using >> grass72/ gdal2.2 and both my python script and grass

[GRASS-user] v.out.ogr not working

2018-01-09 Thread alassane toure
Group, I have been spending a lot of time on this and I need help. I am using grass72/ gdal2.2 and both my python script and grass72 are not producing the expected output when i run v.out.ogr! v.in.ogr does work though! v.out.ogr input=parcel type=area output=/home/atourej/Data/prcl.shp parcel h

Re: [GRASS-user] python/grass script not working on virtual machine but ok on local machine

2018-01-03 Thread alassane toure
Group, No need to respond. I was able to resolve the issue by installing the newer Grass version. alassane On Tue, Jan 2, 2018 at 1:28 AM, alassane toure wrote: > Group, > I need help with the following. The attached script works as expected on > the local machine (pyhon 2.7; Gra

[GRASS-user] python/grass script not working on virtual machine but ok on local machine

2018-01-01 Thread alassane toure
Group, I need help with the following. The attached script works as expected on the local machine (pyhon 2.7; Grass70) but does not work on the virtual machine (python 2.7 and Grass70). The process gets stuck at ... . out, err = p.communicate() if p.returncode != 0: print >>sys.stderr, '

Re: [GRASS-user] v.to.rast error in version 7.0.6svn

2016-10-18 Thread alassane toure
correct. there was no feature in "impervh_clean" ! On Wed, Oct 19, 2016 at 12:01 AM, Anna Petrášová wrote: > On Tue, Oct 18, 2016 at 11:56 PM, alassane toure > wrote: > > Anna, > > I run the command you suggested and there is indeed a connection problem. > &

Re: [GRASS-user] v.to.rast error in version 7.0.6svn

2016-10-18 Thread alassane toure
) Any suggestion to establish db connection for vector map "impervh_clean"? Regards, Alassane On Tue, Oct 18, 2016 at 11:29 PM, Anna Petrášová wrote: > On Tue, Oct 18, 2016 at 11:21 PM, alassane toure > wrote: > > Anna, > > is that the command needed to make the conne

Re: [GRASS-user] v.to.rast error in version 7.0.6svn

2016-10-18 Thread alassane toure
qlite/sqlite.db' v.db.connect -p map=vectormap Thanks, Alassane On Tue, Oct 18, 2016 at 9:46 PM, Anna Petrášová wrote: > > > On Tue, Oct 18, 2016 at 9:31 PM, alassane toure wrote: > >> Group, >> While executing v.to.rast the following error came up (not present in &

[GRASS-user] v.to.rast error in version 7.0.6svn

2016-10-18 Thread alassane toure
Group, While executing v.to.rast the following error came up (not present in earlier 7.0 version) [image: Inline image 3] Your suggestion is appreciated. Thanks Alassane ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailm

Re: [GRASS-user] [Ubuntu] python-grass code not working on ubuntu

2016-10-11 Thread alassane toure
Group, I am running a python code (worked well on earlier gdal version but not on 2.1) calling gdal with the following errors. [image: Inline image 1] The code start as follows #!/usr/bin/env python import os import sys import subprocess import shutil import binascii import tempfile import g

Re: [GRASS-user] grass-user Digest, Vol 126, Issue 13

2016-10-05 Thread alassane toure
, alassane toure wrote: > Rich, > The latest gdal version is 2.1 and my library is 2.2. Can you suggest the > library version that should work with gdal 2.1 or vice versa (gdal version > for library 2.2)? > > Thanks > > On Wed, Oct 5, 2016 at 3:00 PM, > wrote: > &

Re: [GRASS-user] grass-user Digest, Vol 126, Issue 13

2016-10-05 Thread alassane toure
Wed, 5 Oct 2016 10:28:04 -0700 (PDT) > From: Rich Shepard > To: GRASS user list > Subject: Re: [GRASS-user] [Ubuntu] python-grass code not working on > ubuntu > Message-ID: > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed > > On Wed, 5 Oct 2016, alass

Re: [GRASS-user] [Ubuntu] python-grass code not working on ubuntu

2016-10-05 Thread alassane toure
Group, I am still not out the wood yet. I am now having a gdal version issue. How do i make sure my gdal code works? /home/alassane/Programs/gdal/shaoesubset: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory ERROR 1: gdal_translate was

Re: [GRASS-user] [Ubuntu] python-grass code not working on ubuntu

2016-09-29 Thread alassane toure
7.04 svn" but shows "grass7.04". Again, your suggestion is appreciated. Regards, Alassane On Fri, Sep 16, 2016 at 6:15 AM, Sebastiaan Couwenberg wrote: > On 09/16/2016 02:10 PM, alassane toure wrote: > > I believe i installed grass70 on my server as the main interf

[GRASS-user] grass installation on ubuntu/server

2016-09-13 Thread alassane toure
group, I believe i installed grass70 on my server as the main interface comes up when i issue "grass70". However, when i execute a python-grass code, the response is ... ERROR: ERROR: Please install the GRASS GIS development package ERROR: Cannot find GRASS GIS 7 start script (grass70 --config pa

Re: [GRASS-user] vector attribute calculation in grass python

2016-08-30 Thread alassane toure
Problem solved! Suggestion was made to use db.execute and it worked without variable declaration. Thanks for your insight! On Aug 30, 2016 3:17 AM, "Moritz Lennert" wrote: > Dear Alassane, > > Please keep conversations on the list. > > On 29/08/16 19:49, alassane tour

Re: [GRASS-user] Fwd: vector attribute calculation in grass python

2016-08-29 Thread alassane toure
)*100)" > > Cheers, > Stefan > > Von: grass-user [grass-user-boun...@lists.osgeo.org] im Auftrag von > alassane toure [atou...@gmail.com] > Gesendet: Montag, 29. August 2016 20:25 > An: GRASS user list > Betreff: [GRASS-user] Fwd: vector attribute calculation in gr

[GRASS-user] Fwd: vector attribute calculation in grass python

2016-08-29 Thread alassane toure
Forwarded message -- From: alassane toure Date: Mon, Aug 29, 2016 at 9:27 AM Subject: vector attribute calculation in grass python To: GRASS user list Group, I am in the process of developing a python/grass code to calculate an attribute value based on other attributes. The following er

[GRASS-user] vector attribute calculation in grass python

2016-08-29 Thread alassane toure
Group, I am in the process of developing a python/grass code to calculate an attribute value based on other attributes. The following error comes up: NameError: name 'par_sqf' is not defined Here is the code... # some predefined variables ### import os import sys import

Re: [GRASS-user] (no subject)

2016-08-12 Thread alassane toure
Thanks Anna, it worked! On Fri, Aug 12, 2016 at 11:31 AM, Anna Petrášová wrote: > On Fri, Aug 12, 2016 at 1:05 PM, alassane toure wrote: > > Group, > > I am running a grass-python script but when i replace a variable argument > > within the command the script does not

[GRASS-user] (no subject)

2016-08-12 Thread alassane toure
Group, I am running a grass-python script but when i replace a variable argument within the command the script does not work The following works... grass.run_command('r.in.gdal', input='/home/alassane/Data/ SanbornCD/tile/newconstr_mask.tif', output='construction') But not this... command="'r

[GRASS-user] grass run_command within python/grass script

2016-08-11 Thread alassane toure
Group, I am running a grass-python script but when i replace a variable argument within the command the script does not work The following works... grass.run_command('r.in.gdal', input='/home/alassane/Data/SanbornCD/tile/newconstr_mask.tif', output='construction') But not this... command="'r.

Re: [GRASS-user] command works inside GRASS but not with python script outside GRASS

2016-07-03 Thread alassane toure
Thanks Martin. Your suggestion worked! Alassane On Jul 3, 2016 1:51 AM, "Martin Landa" wrote: > Hi, > > 2016-07-03 3:02 GMT+02:00 alassane toure : > > But does not work in grass/python script: > > grass.run_command('v.extract', input='const', o

[GRASS-user] command works inside GRASS but not with python script outside GRASS

2016-07-02 Thread alassane toure
Group, The following command works using GRASS command session: v.extract input=const output=const_clean type=area where="(value=255) and (area_sqf>1000)" Extracting features... Building topology for vector map ... Registering primitives... 7091 primitives registered 54239 vertices registered Buil

[GRASS-user] issues with grass python script running outside grass without defined location

2016-06-01 Thread alassane toure
Thanks Vaclav for your help with the python script running outside grass when location is predefined. I am using an example posted in the case of no existing location and the following error came up... alassane@alassane-MS-7593:~/Programs/grass/pythongrass$ /home/alassane/Programs/grass/pythongra

[GRASS-user] need to run python-grass script outside grass in Unix environment

2016-05-30 Thread alassane toure
Group, I need help to run a python-grass script outside grass. I executed the following suggested program with the errors line 1: import: command not found /home/alassane/Programs/pythonGrass-example.py: line 2: import: command not found /home/alassane/Programs/pythonGrass-example.py: line 3: imp

[GRASS-user] i.vi compilation

2016-05-24 Thread alassane toure
Group, I need help executing a code within GRASS. I recompiled i.vi by changing the executable name to i.veg. the compilation went ok but during execution of i.veg, the system response was [Errno 2] No such file or directory The execution was ok with i.vi (original code) and both executables i.v

Re: [GRASS-user] grass program compilation

2015-05-14 Thread alassane toure
tml are located) the response was make: Nothing to be done for 'Makefile' Any help to compile r.example and run it under GRASS is appreciated. Regards, Alassane On Wed, May 6, 2015 at 7:35 PM, alassane toure wrote: > Thank you all for your help. The compilation went through wit

Re: [GRASS-user] grass program compilation

2015-05-06 Thread alassane toure
gt; Stefan > > > > *From:* grass-user-boun...@lists.osgeo.org [mailto: > grass-user-boun...@lists.osgeo.org] *On Behalf Of *alassane toure > *Sent:* 6. mai 2015 18:07 > *To:* Vaclav Petras > *Cc:* GRASS user list > *Subject:* Re: [GRASS-user] grass program compilation > &

Re: [GRASS-user] grass program compilation

2015-05-06 Thread alassane toure
Petras wrote: > > > On Wed, May 6, 2015 at 11:53 AM, alassane toure wrote: > > > > Group, > > I am still not making any progress compiling Grass70 on Ubuntu. Here is > where i am at: > > 1. able to run configure without any problem (with your help); > >

Re: [GRASS-user] grass program compilation

2015-05-06 Thread alassane toure
tem response was include/Make/Vars.make:1: include/Make/Platform.make: No such file or directory make: *** No rule to make target `include/Make/Platform.make'. Stop. Your help is appreciated. Alassane On Tue, May 5, 2015 at 2:13 PM, alassane toure wrote: > Great! ./configure worked!

Re: [GRASS-user] grass program compilation

2015-05-05 Thread alassane toure
e to make target `include/Make/Platform.make'. Stop. I appreciate your comments/suggestions. Alassane On Tue, May 5, 2015 at 2:03 PM, Markus Neteler wrote: > On Tue, May 5, 2015 at 9:59 PM, alassane toure wrote: > > Great! ./configure worked! > > great! > > >

Re: [GRASS-user] grass program compilation

2015-05-05 Thread alassane toure
I appreciate! Alassane On Tue, May 5, 2015 at 6:03 AM, Anna Petrášová wrote: > > > On Mon, May 4, 2015 at 10:23 PM, alassane toure wrote: > >> Group, >> I need your help to start developing new functions based on existing ones >> and GRASS libraries. My sho

[GRASS-user] grass program compilation

2015-05-04 Thread alassane toure
Group, I need your help to start developing new functions based on existing ones and GRASS libraries. My short term goal is to be able to compile the test program r.example. I first started by installing the binary using the followings on Ubuntu: (1) sudo add-apt-repository ppa:ubuntugis/ubuntugis

[GRASS-user] Remove from list

2014-10-09 Thread alassane toure
Please remove my email from list. Thank you. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] i.ortho.photo

2012-01-03 Thread Alassane Toure
Dear GRASS users, I need help on how to use "i.ortho.photo" to orhto-rectify satellite imagery. I am using GRASS in linux (Ubuntu) environment and have already imported all necessary dataset (image to ortho, DEM and reference image). After keying "i.ortho.photo" and selecting the Group, the