[GRASS-user] calculate height above ground for a specific vertical angle of view

2017-06-21 Thread Frank David
Hello, I have calculated viewshed maps from one point of view at 2m height increasing the altitude above topography from 0 to 250m. So with r.series i can calculate the total visible height (sum of True in meter) or the total invisible height(sum of false in meter), or the vertical visible

[GRASS-user] r.viewshed speed improvment

2018-05-14 Thread Frank David
Hello Grass users, I'm using r.viewshed to calculate the vertical height visible of object (windturbine) from any point on my DEM. So, I iterate upto the maximum height (from 0 to 250m) every meter. At the end, I made a r.series to sum the maps. As I have sometimes about 300 wtg on the territory,

Re: [GRASS-user] script html manual file directory

2018-04-27 Thread Frank David
etails: [Errno 2] No such file or directory Thank you for your help. Frank Le 26/04/2018 à 14:36, Moritz Lennert a écrit : On 26/04/18 12:05, Frank David wrote: Dear all, I would like to setup the manual page of my python scripts in the gui. I alreaday create them from --html-description and p

Re: [GRASS-user] r.series weights to zero

2018-06-09 Thread Frank David
Le 09/06/2018 à 19:04, Markus Metz a écrit : On Fri, Jun 8, 2018 at 12:30 PM, Frank DAVID <mailto:frank.da...@geophom.fr>> wrote: > > > > > Cordialement, > Frank David > > > Message d'origine > De : Markus Metz > Date :07/06/201

Re: [GRASS-user] r.series weights to zero

2018-06-08 Thread Frank DAVID
Cordialement, Frank David Message d'origine De : Markus Metz Date :07/06/2018 17:30 (GMT+01:00) À : Frank David Cc : grass-user , GRASS developers list Objet : Re: [GRASS-user] r.series weights to zero On Tue, Jun 5, 2018 at 2:51 PM, Frank David wrote: > > Hi all

[GRASS-user] r.series weights to zero

2018-06-05 Thread Frank David
Hi all Grass users, It's seems that r.series weights does not accept zero as weight... Is it possible ? and so, why ? I've got the following error message when running r.series with one weight set to 0 /"/usr/local/grass-7.4.0svn/etc/python/grass/script/core.py",// //line 332, in

Re: [GRASS-user] d.rast.edit - edits not saved

2018-06-25 Thread Frank David
Thank you Markus, Sorry for my misunderstanding, I thought that you had improved this script... frk Le 25/06/2018 à 22:20, Markus Neteler a écrit : Hello Frank, On Mon, Jun 25, 2018 at 6:56 PM, Frank David wrote: Hello Markus, I failed to run the last d.rast.edit .I've saved on my disk

Re: [GRASS-user] d.rast.edit - edits not saved

2018-06-25 Thread Frank David
Hello Markus, I failed to run the last d.rast.edit .I've saved on my disk the html+py+makefile files and did g.extension extension=d.rast.edit url=/myfolder/d.rast.edit but I can't execute from console. It says "Command 'd.rast.edit' not yet implemented in the WxGUI. when trying to run from shell

Re: [GRASS-user] script html manual file directory

2018-05-02 Thread Frank David
)) default: $(PYFILES) $(PYCFILES) $(ETCDIR):     $(MKDIR) $@ $(ETCDIR)/%: % | $(ETCDIR)     $(INSTALL_DATA) $< $@ install:     $(MKDIR) $(INST_DIR)/etc/$(PGM)     cp -r $(ETCDIR) $(INST_DIR)/etc/$(PGM)/$(LIBDIR) Le 27/04/2018 à 17:34, Moritz Lennert a écrit : Le Fri, 27 Apr 2018 16:08:00 +0200, Fr

[GRASS-user] script html manual file directory

2018-04-26 Thread Frank David
Dear all, I would like to setup the manual page of my python scripts in the gui. I alreaday create them from --html-description and put them in my script directory. But it does not work. I tried in ../docs/html/ but without sccess. If I copy them in /usr/local/grass-7.4.0/docs/html it works ! Is

Re: [GRASS-user] r.horizon and negative tilt

2018-07-30 Thread Frank David
Hello Markus, is it possible to add an option to evaluate the negatives hight in a future release ? (I don't know C) Best regards, Frank Le 30/07/2018 à 16:19, Markus Metz a écrit : > > > On Sat, Jul 28, 2018 at 3:59 PM, Frank David <mailto:frank.da...@geophom.fr>> wrote

[GRASS-user] r.horizon and negative tilt

2018-07-28 Thread Frank David
Dear all, It seems that r.horizon in does not return negative heights. How it's possible in case of the given point from the calculation is done is located on mountain and the horizon around is below zero ??. I miss something may be... Thank you for your explanations Regards Frank

Re: [GRASS-user] r.horizon and negative tilt

2018-07-30 Thread Frank David
argeted to solar radiation > modules and because of that returns only the line-of-sight "obstacles" > above the ground plane, where direct sunlight may be obstructed by > obstacles. > best regards, > > Andrea Balotti > > Il 28/07/2018 15:59, Frank David ha scritto:

Re: [GRASS-user] r.horizon and negative tilt

2018-07-30 Thread Frank David
Ho yes, why not. I  could use r.viewshed to find the farest part of the topography able to see my point and get it's angle mode. The trick to find is how to get that cell ? Best regards, frank Le 30/07/2018 à 11:18, balotti@gmail.com a écrit : > Il 30/07/2018 09:24, Frank David ha scri

[GRASS-user] tmp file

2018-07-20 Thread Frank David
Hello dear grass users, I'm writing python scripts and I wonder if is there a better way to handle tmp file between several mapcalc, For the moment I create a tmp raster file and once I don't need anymore I remove with g.remove. If the script crash, the tmp raster still exists. If another script

[GRASS-user] script GUI > G_OPT_V_INPUT vs G_OPT_V_MAP

2018-07-22 Thread Frank David
Hello, I don't understand the difference between these two entries. Both seems to work in a same way for my purpose ... Thank you for your advice. Best regards, Frank ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] script option

2018-07-14 Thread Frank David
Le 13/07/2018 à 21:51, Nikos Alexandris a écrit : * Frank David [2018-07-13 19:26:36 +0200]: Le 11/07/2018 à 09:31, Nikos Alexandris a écrit : * Frank David [2018-07-10 15:44:51 +0200]: Le 10/07/2018 à 12:25, Nikos Alexandris a écrit : * frank [2018-07-10 08:05:29 +0200]: Hi dear

Re: [GRASS-user] script option

2018-07-10 Thread Frank David
Le 10/07/2018 à 12:25, Nikos Alexandris a écrit : * frank [2018-07-10 08:05:29 +0200]: Hi dear grass users, I'm trying to get two field name of an attribute table (ctx_map) by the options of the gui. But I can access only at the first one and I don't find why...??. See my code below :

Re: [GRASS-user] script option

2018-07-13 Thread Frank David
Le 11/07/2018 à 09:31, Nikos Alexandris a écrit : * Frank David [2018-07-10 15:44:51 +0200]: Le 10/07/2018 à 12:25, Nikos Alexandris a écrit : * frank [2018-07-10 08:05:29 +0200]: Hi dear grass users, I'm trying to get two field name of an attribute table (ctx_map) by the options

Re: [GRASS-user] GUI problem

2018-04-05 Thread Frank David
Le 31/03/2018 à 21:28, Moritz Lennert a écrit : > On 31/03/18 17:43, Frank David wrote: >> Hi Mortiz, >> >> Le 30/03/2018 à 15:07, Moritz Lennert a écrit : >>> Hi Frank, >>> >>> On 30/03/18 11:23, Frank David wrote: >>>> Hi all, >>

[GRASS-user] GUI problem

2018-03-30 Thread Frank David
Hi all, I've met a problem this morning on only one of my project. The map are displayed but I cannot do anything on GUI, no command message returned but the message below on GUI console > Traceback (most recent call last): File "/usr/local/grass-7.4.0svn/gui/wxpython/gui_core/forms.py", line

[GRASS-user] Rendering failed

2018-06-28 Thread Frank David
Hello, Sometimes I got an error box when I uncheck raster in the tree of gui >> Rendering failed: Expecting 1245x1040 image but got 1251x1044 image. Raison: Traceback (most recent call last):   File "/usr/local/grass-7.4.1/gui/wxpython/mapwin/buffered.py", line 922, in _updateM    

Re: [GRASS-user] r.category

2018-10-12 Thread Frank David
th a écrit : Hi Frank, You need to specify the range option as range=0,8 (instead of range=0-8 as you did). Cheers Stefan -Original Message- From: grass-user On Behalf Of Frank David Sent: fredag 12. oktober 2018 14:24 To: grass-user@lists.osgeo.org Subject: [GRASS-user] r.category H

Re: [GRASS-user] r.category

2018-10-12 Thread Frank David
message. Or do you have other issues as well? Cheers Stefan *From:*Frank David *Sent:* fredag 12. oktober 2018 15:17 *To:* Stefan Blumentrath ; grass-user@lists.osgeo.org *Subject:* Re: [GRASS-user] r.category Hi Stefan, Thanks for your reply. But I did not use cat=range option. I only do

Re: [GRASS-user] r.category

2018-10-12 Thread Frank David
Le 12/10/2018 à 19:51, Nikos Alexandris a écrit : * Frank David [2018-10-12 16:31:06 +0200]: Ha yes ! a small part of the legend is displayed on the bottom of my map (I did not take care). I had probably activate d.legend by the past to test it. But I don't know how to remove

[GRASS-user] (wxgui.py:13017): WARNING

2018-10-14 Thread Frank David
Hello, What does this error mean ? It's displayed on the shell (repeated many times from the beginning of the grass session after loading a workspace) ** (wxgui.py:13017): WARNING **: invalid source position for vertical gradient Grass 7.4 on debian9 Cheers, Frank

Re: [GRASS-user] d.rast in python script

2018-10-22 Thread Frank David
into layer tree” tick-box that core modules have available also for addons (without GUI programming for addon devs) would be nice (if possible)… Kind regards, Stefan *From:*grass-user *On Behalf Of *Frank David *Sent:* søndag 21. oktober 2018 21:35 *To:* Laurent C. *Cc:* GRASS user list *Subje

Re: [GRASS-user] d.rast in python script

2018-10-21 Thread Frank David
HT'] = str(height) # Then you can draw os.environ['GRASS_RENDER_FILE'] = img_file_name gscript.run_command('d.rast', map=my_map, quiet=True) Be aware that every time you run your script, it will add layer on the file. So you might want to delete the png file between the runs. Cheers,

[GRASS-user] r.category

2018-10-12 Thread Frank David
Hello grass users, I have an error message in the console when I open some rasters with witch I've done a r.category. "Failed to run command 'd.legend raster=ZVT_nac_projet_hoht2__BDalti75_a1_8_sum@derval title=nacelle color=white range=0-8 at=5.0,50.0,6.9,9.9 thin=3'. Details: ERROR:

Re: [GRASS-user] d.rast in python script

2018-10-24 Thread Frank David
Le 24/10/2018 à 11:58, Nikos Alexandris a écrit : * Frank David [2018-10-24 11:35:07 +0200]: Stephan, The G_OPT_OUTPUT option generate well the check box "add tree layer" in my script GUI. My problem, now is how to add the raster output while I want to set his name by the

Re: [GRASS-user] d.rast in python script

2018-10-24 Thread Frank David
ough I hope that can be added in core though). You can use e.g. G_OPT_R_OUTPUT and still choose a non-standard key-name for the option in your script with a line like this: #% key: my_option_key_name Cheers, Stefan *From:*Frank David *Sent:* onsdag 24. oktober 2018 10:48 *To:* Stefan

Re: [GRASS-user] ps.map

2018-10-24 Thread Frank David
settings : # timestamp: 2018-10-23 12:18 # location: France_L93 # mapset: volkswind_beaurevoir # page orientation: Portrait # g.region vector=WOLKSWIND_Beaurevoir_AEE@volkswind_beaurevoir Is anybody notice that ? Regards, Frank Le 23/10/2018 à 13:35, Frank David a écrit : Hello, I can't succeed

Re: [GRASS-user] d.rast in python script

2018-10-24 Thread Frank David
Le 24/10/2018 à 15:14, Nikos Alexandris a écrit : * Frank David [2018-10-24 12:04:43 +0200]: Le 24/10/2018 à 11:58, Nikos Alexandris a écrit : * Frank David [2018-10-24 11:35:07 +0200]: Stephan, The G_OPT_OUTPUT option generate well the check box "add tree layer" in my

Re: [GRASS-user] d.rast in python script

2018-10-23 Thread Frank David
Thank you everybody for your help. Do you know why a run_command("d.rast"... in a python script is not enough to display a raster ? I don't understand why this command is so different. Frank Le 23/10/2018 à 07:41, Nikos Alexandris a écrit : * Stefan Blumentrath [2018-10-22 08:20:05 +]:

Re: [GRASS-user] append data after a v.in.ascii import

2018-10-26 Thread Frank David
I reply to myself, I mistook, if I append, I see a cat shift too. The fisrt cat of the second map is shift by one. It's strange no ? Frank Le 26/10/2018 à 14:17, Frank David a écrit : Hi Stephan, If I add two vector in a new one with : v.patch -c input=map1,map2 out=map3 I notice

Re: [GRASS-user] append data after a v.in.ascii import

2018-10-26 Thread Frank David
it works well Thank you Frank Le 26/10/2018 à 12:01, Stefan Blumentrath a écrit : Hi, Try: v.patch -a https://grass.osgeo.org/grass76/manuals/v.patch.html (assuming attribute tables are equal). Cheers Stefan -Original Message- From: grass-user On Behalf Of Frank David Sent: fredag 26

[GRASS-user] accent encoding with ps.map

2018-10-30 Thread Frank David
Hello all, I'm using ps.map and I notice that accent are not well supported in 3 cases : - map scale units, for example "kilomètre" is displayed "kilomÄ"tre". I dont'see how to solve that - for a selecting field in vector map, like [where myfield = "classé"] (does not work) while [where

Re: [GRASS-user] append data after a v.in.ascii import

2018-10-30 Thread Frank David
Le 28/10/2018 à 22:33, Markus Metz a écrit : On Sat, Oct 27, 2018 at 10:00 AM Frank David <mailto:frank.da...@geophom.fr>> wrote: > > > Le 26/10/2018 à 21:11, Markus Metz a écrit : > > > > On Fri, Oct 26, 2018 at 7:17 PM Frank David <mailto:frank.da...@geoph

Re: [GRASS-user] partial vector copy to smaller territory

2018-10-31 Thread Frank David
/v.in.ogr.html? And is v.clip slower than v.overlay (that could be used as well)? Cheers Stefan *From:*grass-user *On Behalf Of *Frank David *Sent:* onsdag 31. oktober 2018 13:14 *To:* Veronica Andreo *Cc:* grass-user *Subject:* Re: [GRASS-user] partial vector copy to smaller territory Hello Vero

Re: [GRASS-user] partial vector copy to smaller territory

2018-10-31 Thread Frank David
/10/2018 à 11:26, Veronica Andreo a écrit : Check v.extract or v.clip Cheers, Vero El mié., 31 oct. 2018 7:20, Frank David <mailto:frank.da...@geophom.fr>> escribió: Hello, What is the best and fast way to make a copy of a part of vector map (national) to get a smaller

Re: [GRASS-user] partial vector copy to smaller territory

2018-10-31 Thread Frank David
') | Jon On 31 Oct 2018, at 10:12, Frank David wrote: Hello, What is the best and fast way to make a copy of a part of vector map (national) to get a smaller territory ? (partial copy). Thank you for your advice ! Frank ___ grass

Re: [GRASS-user] append data after a v.in.ascii import

2018-10-26 Thread Frank David
26, 2018 at 2:26 PM Frank David <mailto:frank.da...@geophom.fr>> wrote: > > I reply to myself, > > I mistook, if I append, I see a cat shift too. The fisrt cat of the > second map is shift by one. It's strange no ? Suppose there is a feature with cat 1 in map A and a feature

Re: [GRASS-user] accent encoding with ps.map

2018-10-30 Thread Frank David
Le 30/10/2018 à 15:38, Rich Shepard a écrit : On Tue, 30 Oct 2018, Frank David wrote: I think some point are missing or lack of documentation. I think about [read] command, display layer order, language support, unit of position in the page (inch/cm), etc. Some improvement would be great

[GRASS-user] partial vector copy to smaller territory

2018-10-31 Thread Frank David
Hello, What is the best and fast way to make a copy of a part of vector map (national) to get a smaller territory ? (partial copy). Thank you for your advice ! Frank ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] append data after a v.in.ascii import

2018-10-27 Thread Frank David
Le 26/10/2018 à 21:11, Markus Metz a écrit : On Fri, Oct 26, 2018 at 7:17 PM Frank David <mailto:frank.da...@geophom.fr>> wrote: > > Thank you Markus, > > Is a feature could be created without a row data ?,  because the two maps have been created with a v.in.ascii

Re: [GRASS-user] partial vector copy to smaller territory

2018-11-05 Thread Frank David
Le 02/11/2018 à 22:27, Markus Metz a écrit : On Fri, Nov 2, 2018 at 6:32 PM Frank David <mailto:frank.da...@geophom.fr>> wrote: > > Le 02/11/2018 à 14:43, Markus Metz a écrit : > > > > On Fri, Nov 2, 2018 at 11:58 AM Frank David <mailto:frank.da...@geophom.fr&g

Re: [GRASS-user] partial vector copy to smaller territory

2018-11-02 Thread Frank David
Le 31/10/2018 à 20:57, Markus Metz a écrit : Hi Frank, On Wed, Oct 31, 2018 at 1:39 PM Frank David <mailto:frank.da...@geophom.fr>> wrote: > > Hello Vero, > > Thanks for your reply. It took almost one hour to extract my area (I guess because of topology). I do the same w

[GRASS-user] append data after a v.in.ascii import

2018-10-26 Thread Frank David
Hello, I wonder what is the best way to append a vector map and his attribute data created with v.in.ascii  ? Thanks Frank ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] d.rast in python script

2018-10-24 Thread Frank David
w feature (if it does not exist and I just overlooked it)… Maybe another ticket?... Cheers Stefan 1: https://grass.osgeo.org/grass74/manuals/parser_standard_options.html *From:*Frank David *Sent:* onsdag 24. oktober 2018 09:35 *To:* Stefan Blumentrath ; Nikos Alexandris *Cc:* Laurent C. ; GRASS

Re: [GRASS-user] d.rast in python script

2018-10-24 Thread Frank David
Le 23/10/2018 à 23:26, Nikos Alexandris a écrit : * Frank David [2018-10-23 22:06:01 +0200]: Thank you everybody for your help. Do you know why a run_command("d.rast"... in a python script is not enough to display a raster ? I don't understand why this command is so different.

Re: [GRASS-user] d.rast in python script

2018-10-24 Thread Frank David
put grass-dev in CC). Cheers Stefan *From:*Frank David *Sent:* onsdag 24. oktober 2018 08:26 *To:* Nikos Alexandris *Cc:* Stefan Blumentrath ; Laurent C. ; GRASS user list *Subject:* Re: [GRASS-user] d.rast in python script Le 23/10/2018 à 23:26, Nikos Alexandris a écrit : * F

[GRASS-user] d.rast in python script

2018-10-19 Thread Frank David
Hello, I wrote some python script and I do not find how to display created rasters. I tried to use d.rast but I believe this command is not designed to be used in python script (no monitor available with d.mon -l). Am I wright ? so how to do ?... Thank you for your help. Frank

[GRASS-user] select the map that does not match a string

2018-10-19 Thread Frank David
Hello, I wonder how to filter the select box (with Shift-Ctrl-L) or the data tab display, to maps do not match with a string. for exemple "myraster.*^(?!unwanted_string)" should display all maps beginning with "myraster" and without "unwanted_string" This does not work. Is there any trick

[GRASS-user] ps.map read

2018-11-07 Thread Frank David
Hello all, If I use instruction inside my psmap file the command > ps.map input=myfile.psmap output=myfile.ps does not work and the exit message is : enter 'help' for help, 'end' when done, 'exit' to quit But if I execute inside a shell loop, like > ls 01*.psmap |while read fic;do ps.map

Re: [GRASS-user] ps.map read

2018-11-13 Thread Frank David
Hi all, I reply to myself. In psmap file, "read" instruction should be placed at the end of the file, and the "end" instruction in the read file itself. This makes possible to create ps and pdf in a shell loop and avoid ERREUR message. Cheers Frank Le 07/11/2018

Re: [GRASS-user] partial vector copy to smaller territory

2018-11-06 Thread Frank David
Le 05/11/2018 à 14:23, Frank David a écrit : Le 02/11/2018 à 22:27, Markus Metz a écrit : On Fri, Nov 2, 2018 at 6:32 PM Frank David <mailto:frank.da...@geophom.fr>> wrote: > > Le 02/11/2018 à 14:43, Markus Metz a écrit : > > > > On Fri, Nov 2, 2018 at 11:58 AM F

[GRASS-user] integer and discrete raster

2018-09-25 Thread Frank David
Hello all, I've done a sum with r.series from 8 rasters previously calculated with r.mapcalc. Each raster cell content is 0 or 1. So the sum raster cells should have 0 to 8. I was looking at r.category to set labels like "1 to 2", "3 to 4", etc. To see my raster values, I've done a

[GRASS-user] Error on opening workspace

2018-09-20 Thread Frank David
Hello, Grass 7.4 (and 7.5) failed to open a workspace (with many layers and folders). The waiting box stay open and the workspace is not fully loaded. If I try to save the current workspace, I got the following message : "Échec d'écriture des paramètres de l'espace de travail courant.

Re: [GRASS-user] integer and discrete raster

2018-09-25 Thread Frank David
type could be done beforehand, so the result keeps the original data type. HTH, Vero El mar., 25 sept. 2018 a las 10:51, Frank David (mailto:frank.da...@geophom.fr>>) escribió: Hello all, I've done a sum with r.series from 8 rasters previously calculated with r.mapcalc

Re: [GRASS-user] integer and discrete raster

2018-09-25 Thread Frank David
Le 9/25/18 à 4:10 PM, Moritz Lennert a écrit : On 25/09/18 15:40, Frank David wrote: Thank you Vero, If I well understand, r.series return always floating values. But from trunk r73206 we expect something different... Ok I will wait for the next release, and continue with a int(). But I

Re: [GRASS-user] ascii decode special character

2019-01-03 Thread Frank David
Hi Markus, Hi Frank, Am Mi., 2. Jan. 2019, 16:56 hat Frank David <mailto:frank.da...@geophom.fr>> geschrieben: Hello all, I wish a very nice year to every GRASS user and also for GRASS developments ! Happy New Year! I met a decoding problem with "v

Re: [GRASS-user] ascii decode special character

2019-01-03 Thread Frank David
. 2019 6:45, Frank David <mailto:frank.da...@geophom.fr>> escribió: Hi Markus, Hi Frank, Am Mi., 2. Jan. 2019, 16:56 hat Frank David mailto:frank.da...@geophom.fr>> geschrieben: Hello all, I wish a very nice year to every GRASS user and

Re: [GRASS-user] map calculator in python loop

2018-12-12 Thread Frank David
Hi, What do you want to do with "k" ? Can you send what return gscript.verbose(( " %s = %s * %s ")  % (r , r , c)) Frank Le 12/12/2018 à 17:34, Alessandro Sebastiani a écrit : I get the same error after trying with your suggestion! I tried to define rasters in different ways, like >> c =

Re: [GRASS-user] Attribute Table - Change Data Type from String to Double

2018-12-16 Thread Frank David
Hi, Use dot as decimal separator instead of comma. Regards Frank Le 17/12/2018 à 04:04, Francois Chartier a écrit : Solution found - i had some text left in the column and Grass automatically detected it and assigned a Data Type of String. Le dim. 16 déc. 2018 à 21:16, Francois Chartier

[GRASS-user] buffer to wrap points

2018-11-29 Thread Frank David
Hello all, I did not find in v.buffer the way to create a common buffer on points if I want the buffer wraps all my points. Is there any tricks ? Thanks in advance. Cheers Frank ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] buffer to wrap points

2018-11-29 Thread Frank David
/v.hull.html [2] - https://grass.osgeo.org/grass74/manuals/addons/v.concave.hull.html On Thu, Nov 29, 2018 at 10:10 AM Ken Mankoff <mailto:mank...@gmail.com>> wrote: Hi Frank, On 2018-11-29 at 12:46 +0100, Frank David mailto:frank.da...@geophom.fr>> wrote: > I did no

[GRASS-user] edit vector with wxGUI

2018-11-21 Thread Frank David
Hello all, I can not use the vector editing interface wxGUI, especially for moving and deleting points. I set the layer in edition mode. I can add points, but cannot move or delete them. The GUI button looks like line vertex edition rather than isolated point. Thank you for your help.

Re: [GRASS-user] edit vector with wxGUI

2018-11-22 Thread Frank David
Le 21/11/2018 à 19:58, Rich Shepard a écrit : On Wed, 21 Nov 2018, Frank David wrote: it's mostly to move the points that I need. It's a shame because the interface could be useful if it was functional. Frank,   The GUI is functional; we just need to learn how it functions. :-)   Moving

Re: [GRASS-user] edit vector with wxGUI

2018-11-21 Thread Frank David
Le 21/11/2018 à 18:42, Rich Shepard a écrit : On Wed, 21 Nov 2018, Frank David wrote: I can not use the vector editing interface wxGUI, especially for moving and deleting points. I set the layer in edition mode. I can add points, but cannot move or delete them. The GUI button looks like line

[GRASS-user] ascii decode special character

2019-01-02 Thread Frank David
Hello all, I wish a very nice year to every GRASS user and also for GRASS developments ! I met a decoding problem with "v.db.select map=my_vector columns=my_name" when GRASS meet some special characters in the string of my_name field. The string value is "Côte de la Bouchère". See below

Re: [GRASS-user] sqrt sql

2019-03-08 Thread Frank David
/Build_SQLite_extension_on_Linux HTH, Vero El vie., 8 mar. 2019 05:22, Frank David <mailto:frank.da...@geophom.fr>> escribió: Hello, How Is it possible to calculate a sqrt from attribut fields to fill another field, like : v.db.update map=myvector column=field2 query_column=sq

[GRASS-user] sqrt sql

2019-03-08 Thread Frank David
Hello, How Is it possible to calculate a sqrt from attribut fields to fill another field, like : v.db.update map=myvector column=field2 query_column=sqrt(field1) Or is there any trick ? Thank you Frank ___ grass-user mailing list

Re: [GRASS-user] get the shifted minimum from a raster series

2019-02-16 Thread Frank David
output raster give the hidden height from 80% of my viewpoints. The script is working, but I believe that adding this function in r.series could be useful. Cheers, Frank Le 15/02/2019 à 15:52, Micha Silver a écrit : Hello Frank: On 2/7/19 3:16 PM, Frank David wrote: I forgot one thing

[GRASS-user] get the shifted minimum from a raster series

2019-02-07 Thread Frank David
Hello, I try to find how to get the shifted minimum value of a series of raster map. I want to shift by one, or more, the "minimum" value found on each cell to get the "almost minimum" of the series. Is there an available function/method to do that ? Thank you for your help Frank

Re: [GRASS-user] get the shifted minimum from a raster series

2019-02-07 Thread Frank David
such thing in Python for example, it could be recycled or used with grass maps in a script... Dunno, just thinking out loud best, Vero El jue., 7 feb. 2019 07:16, Ken Mankoff <mailto:mank...@gmail.com>> escribió: Hi Frank, On 2019-02-07 at 08:27 +0100, Frank David mailto

Re: [GRASS-user] get the shifted minimum from a raster series

2019-02-07 Thread Frank David
is to get the area of hidden wind turbine from roads for a specific wind turbine height. Cheers, Frank Le 07/02/2019 à 12:48, Frank David a écrit : Hi, Thanks for your reply. I can have numerous raster (several hundreds). I want to find a minimum but with a tolerance, it's why I want to be able

Re: [GRASS-user] get raster name in r.series min/max

2019-05-27 Thread Frank David
Hello, Thank you very much Vero and Micha, It's exactly what I was looking for ! That's great ! Cheers, Frank Le 26/05/2019 à 12:11, Micha Silver a écrit : On 26/05/2019 7:02, Veronica Andreo wrote: Hi Frank El sáb., 25 may. 2019 22:51, Frank David <mailto:frank.da...@geophom

[GRASS-user] get raster name in r.series min/max

2019-05-25 Thread Frank David
Hi all, I would like to identify the raster, in a r.series calculation for min (or max), where the result is coming from. Is there a way to do so ? Thank you Frank ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] get raster name in r.series min/max

2019-05-31 Thread Frank David
/max values in different input rasters and it's a bit confusing at first Cheers, Frank Le 27/05/2019 à 16:43, Markus Neteler a écrit : On Mon, May 27, 2019 at 4:22 PM Frank David wrote: Hello, Thank you very much Vero and Micha, It's exactly what I was looking for ! That's great ! Please

[GRASS-user] read null cell with python

2019-05-31 Thread Frank DAVID
Hello, I'm writing a script where i need to read rasters to get cells values. I'm using : a = garray.array() a.read(map) It seems that null cells are read as 0.0 How to make the difference with zero ? I'm using Grass 7.6.1 on Linux Debian9 Thanks for your help Frank

[GRASS-user] split vector entity

2019-12-06 Thread Frank David
Hello, I get a vector data with several polygons. I can't select one by one, all are selected at the same time. How can I separate into different entities (one by polygon) in order to connect each polygon to an attribute table record ? Regards, Frank

Re: [GRASS-user] no more gui after upgrade to buster

2020-01-11 Thread Frank David
you Le 10/01/2020 à 21:01, Markus Neteler a écrit : Hi, any chance that you update to the much more modern GRASS GIS 7.8? Best Markus On Thu, Jan 9, 2020 at 6:05 PM Frank David wrote: Hello all, I have no more gui on grass 7.6 after upgrade from debian strech to buster. Thank you for your h

Re: [GRASS-user] no more gui after upgrade to buster

2020-01-11 Thread Frank David
ne 496, in RunCmd message=unicode(e), NameError : name 'unicode' is not defined If I add *# -*- coding:UTF-8 -*-* on first line in /usr/local/grass78/etc/python/grass/lib/gis.py and /usr/local/grass78/etc/python/grass/lib/raster.py my scripts wor

[GRASS-user] no more gui after upgrade to buster

2020-01-09 Thread Frank David
Hello all, I have no more gui on grass 7.6 after upgrade from debian strech to buster. Thank you for your help ! Regards Frank See below last errors : Traceback (most recent call last):   File "/usr/local/grass-7.6.0/gui/wxpython/wxgui.py", line 169, in     sys.exit(main())   File

Re: [GRASS-user] no more gui after upgrade to buster

2020-01-11 Thread Frank David
Done. Thanks Frank Le 11/01/2020 à 18:51, Markus Neteler a écrit : Could you open a ticket here? https://trac.osgeo.org/grass ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] remove vect from gui

2020-01-20 Thread Frank David
Hello, I cannot remove vector object and attribute data from the right-clic menu on attribute box in the gui (as I was used to do) with grass 7.9 (on debian buster) But "v.edit tool=delete map=mymap where="mycolum=myvalue" and db.execute "sql=DELETE FROM mymap WHERE mycolomn = myvalue" work

[GRASS-user] fail to, compile on Buster

2020-03-28 Thread frank . david
Hello, I'm trying to install last release of grass (sources downloaded from github) on a debian 10.3 (Laptop). I've followed the install steps of https://grasswiki.osgeo.org/wiki/Compile_and_Install#GRASS_7_on_Debian_Buster and also from install text file, and I always get : sudo make

Re: [GRASS-user] fail to, compile on Buster

2020-03-31 Thread Frank David
Hi Markus, Thank you for your reply. Unfortunately I have no longer access to this laptop (my colleague is now at home because covid). But I've not seen error in the the configure return. The command was : CFLAGS="-Wall -Werror-implicit-function-declaration -fno-common -Wextra -Wunused" \

Re: [GRASS-user] [GRASS-dev] 37 years of GRASS GIS: celebrating with a new GRASS GIS website!

2020-08-01 Thread Frank David
BRAVO pour ce nouveau site et votre formidable travail. Longue vie à GRASS GIS ! ;-) Frank DAVID www.geophom.fr Le 30/07/2020 à 10:00, Paulo van Breugel a écrit : Congratulations, absolutely looks great! On July 29, 2020 4:04:09 PM Markus Neteler wrote: Wednesday, July 29, 2020 The new

Re: [GRASS-user] r.viewshed for multiple points

2020-11-25 Thread Frank David
Hello Bernardo, I never use it, but the addon r.viewshed.cva should help you : https://grass.osgeo.org/grass78/manuals/addons/r.viewshed.cva.html Regards, Frank Le 24/11/2020 à 22:56, Bernardo Santos a écrit : Dear list, I need to calculate a viewshed surface for multiple points (and have,

[GRASS-user] can't install and execute python script

2021-03-15 Thread Frank David
ss (7.9) on Debian Buster and it works fine... The $GRASS_ADDON_BASE = /home/me/.grass7/addons The $GRASS_ADDON_PATH = /home/me/.grass7/addons/scripts Do you have any idea that problem ? Thank you for your help. Frank David ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] can't install and execute python script

2021-03-16 Thread Frank David
(Tue Mar 16 14:50:14 2021) La commande s'est terminée (9 sec) It's curious that Grass say "...not found" on every script, while copying the file in addons/ ? Frank DAVID Le 16/03/2021 à 13:24, Markus Neteler a écrit : Hi, On Mon, Mar 15, 2021 at 11:31 PM Markus Neteler wrote: On M

Re: [GRASS-user] can't install and execute python script

2021-03-16 Thread Frank David
Hi Markus, Le 16/03/2021 à 18:56, Markus Neteler a écrit : On Tue, Mar 16, 2021 at 3:02 PM Frank David wrote: Hi Markus, Thank you for your reply and correction. But no thing has changed on my Grass 7.8.3 / Ubuntu 20.10, and it's still working on may Grass 7.69 / Debian Buster (see console

[GRASS-user] gui not working in 7.9 after debian uprade to bullseye

2021-11-18 Thread Frank David
Hello, I have upgraded my distro from debian buster to bullseye. I had two grass release installed installed : 1- grass 7.8.5 from repository, still works fine. 2- a grass 7.9 compiled. When I run this one I get this message : Lancement de l'interface graphique en tâche de fond, merci de

Re: [GRASS-user] gui not working in 7.9 after debian uprade to bullseye

2021-11-18 Thread Frank David
v.sh && make ## Note we now also have a releasebranch_8_0 :) ## conf_grass_dev.sh is my configuration script my 0.2 cents Vero El jue, 18 nov 2021 a las 9:56, Frank David (<mailto:frank.da...@geophom.fr>>) escribió: Hello, I have upgraded my distro from debian buster

Re: [GRASS-user] grass command to subset the columns of a vector

2022-02-08 Thread Frank DAVID
Hello, May be duplicate your file and remove the unwanted column. Frank Le 09/02/2022 à 01:39, Bernardo Santos via grass-user a écrit : Dear list, Is there a GRASS GIS command (maybe a v.db.* one) to subset, in a single command, the columns of a vector? What I have: vector "vect" with 5

[GRASS-user] multiple

2022-04-26 Thread Frank David
Hello, I need to identify vector lines (like roads, rivers) crossed by a transect and get distance from the beginning of the transect. For the moment I'm using v.profile but it returns only the first item. Is there any way to get all crossed lines ? Thank for your help, Frank

Re: [GRASS-user] multiple

2022-04-27 Thread Frank David
three distances. Things to check – do all lines have a CAT value in specified layer? If you have a problem with a specific data set, you can send me it off-list so I can take a look. Māris. otrd., 2022. g. 26. apr., plkst. 21:08 — lietotājs Frank David () rakstīja: Hello, I need to identify v

Re: [GRASS-user] multiple

2022-04-28 Thread Frank David
appropriate. If all your lines have the same cat value, you could create new, induvial cat values with v.category, before you run v.profile (I have not looked at your dataset yet…)? Cheers Stefan *From:*Frank David *Sent:* onsdag 27. april 2022 19:23 *To:* Stefan Blumentrath ; GRASS user list

Re: [GRASS-user] multiple

2022-04-27 Thread Frank David
-Original Message- From: grass-user On Behalf Of Frank David Sent: tirsdag 26. april 2022 20:01 To: GRASS user list Subject: [GRASS-user] multiple Hello, I need to identify vector lines (like roads, rivers) crossed by a transect and get distance from the beginning of the transect

  1   2   >