Re: [GRASS-user] ps.map: add elevation scale?

2023-05-16 Thread Frank David
Hello Rich, colortable  ? : https://grass.osgeo.org/grass82/manuals/ps.map.html#colortable Regards, Frank Le 16/05/2023 à 00:33, Rich Shepard a écrit : On Mon, 15 May 2023, Rich Shepard wrote: Is there a way to add the elevation color bar for a DEM map to a ps.map? Since I can add a

Re: [GRASS-user] rasterize 3d line

2023-04-07 Thread Frank David
anage null raster cells (e.g. setnull=0). Hope this helps, V. Le vendredi 07 avril 2023 à 12:45 +0200, Frank David a écrit : Hello, Thank you for your message. But I don't think it helps me. I want to add a bridge elevation to my DEM. So if I create a 3d vector line (my bridge) with two verte

Re: [GRASS-user] rasterize 3d line

2023-04-07 Thread Frank David
Hello, Thank you for your message. But I don't think it helps me. I want to add a bridge elevation to my DEM. So if I create a 3d vector line (my bridge) with two vertex at x,y,z coordinates, and is it possible to convert in a raster where each cells crossed by the line inherits of his

[GRASS-user] rasterize 3d line

2023-04-06 Thread Frank David
Hello, Is there a way to rasterize a 3d line to get altitude on raster cells crossed by the line ? Thank you for your help. Regards, Frank ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] single window gui crash with Ubuntu 22.04 LTS

2023-01-03 Thread Frank David
checked on my Debian 11 with KDE desktop. Recompiled 8.2 from git. No problem here. On 02/01/2023 16:53, Frank David wrote: Hello, I've installed GRASS 8.2.0 in a fresh KDE UBUNTU 22.04  and the GUI crash if the single window gui is enabled. As soon as I turn off

Re: [GRASS-user] single window gui crash with Ubuntu 22.04 LTS

2023-01-03 Thread Frank David
 : I checked on my Debian 11 with KDE desktop. Recompiled 8.2 from git. No problem here. On 02/01/2023 16:53, Frank David wrote: Hello, I've installed GRASS 8.2.0 in a fresh KDE UBUNTU 22.04  and the GUI crash if the single window gui is enabled. As soon as I turn off this choice

[GRASS-user] single window gui crash with Ubuntu 22.04 LTS

2023-01-02 Thread Frank David
Hello, I've installed GRASS 8.2.0 in a fresh KDE UBUNTU 22.04  and the GUI crash if the single window gui is enabled. As soon as I turn off this choice in .grass8/wx.json file the GUI works. console error message : /usr/lib/grass82/scripts/g.extension:167: DeprecationWarning: The distutils

Re: [GRASS-user] regex in wxGUI

2022-12-01 Thread Frank David
rather complicated, maybe you can find a simpler solution... Anna On Wed, Nov 30, 2022 at 3:25 AM Frank David wrote: Hello, How can I select layers in the wxGUI when using CTRL+shift+L that does not contain a specific string ? Thank you for your help. Frank

[GRASS-user] regex in wxGUI

2022-11-30 Thread Frank David
Hello, How can I select layers in the wxGUI when using CTRL+shift+L that does not contain a specific string ? Thank you for your help. Frank ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Parallelizing r.mapcalc

2022-09-19 Thread Frank David
or Anna's presentation at FOSS4G 2022: https://htmlpreview.github.io/?https://github.com/petrasovaa/FUTURES-CONUS-talk/blob/main/foss4g2022.html#/ ? Perhaps useful? Best, Vero El jue, 15 sept 2022 a las 14:33, Frank David () escribió: Hello, Is there a way to parallelize r.mapcalc

[GRASS-user] Parallelizing r.mapcalc

2022-09-15 Thread Frank David
Hello, Is there a way to parallelize r.mapcalc in python scripts with start_command() as it is with other command ? https://grasswiki.osgeo.org/wiki/Parallelizing_Scripts It seems to me r.mapcalc.tiled is not using processors at 100% Thank you Regards, Frank

[GRASS-user] r.mapcalc.tiled and mapset

2022-08-19 Thread Frank David
Hello, When I use r.mapcalc.tiled, all the mapsets become available from the working mapset. example : r.mapcalc.tiled expression="test=1" process=8 Is there any reason ? I'm using grass 7.8 Thank you for your help. Frank ___ grass-user mailing

Re: [GRASS-user] r.mapcalc radians vs degrees

2022-08-13 Thread Frank David
Hello, Argg.. I was shamefully wrong. Python is in radian... sorry for the noise. Frank Le 13/08/2022 à 05:18, Anna Petrášová a écrit : On Wed, Aug 10, 2022 at 11:20 AM Frank David wrote: Hello, It seems to me that there is an error on r.mapcalc manual page. The angle should

[GRASS-user] r.mapcalc radians vs degrees

2022-08-10 Thread Frank David
Hello, It seems to me that there is an error on r.mapcalc manual page. The angle should be entered in radians and not in degrees in the trigonometric functions... Regards, Frank ___ grass-user mailing list grass-user@lists.osgeo.org

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

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

[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] 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

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

[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] 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

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

[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] 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,

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] 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" \

[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

[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

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

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

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

[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

[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

[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

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

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] 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

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 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

[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] 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] 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

[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] 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

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] 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] 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] 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] 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] 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

[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] 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

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

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

[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] 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] 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] 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] 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] 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] 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
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] 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 à 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] 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
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

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-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] 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] 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] (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] 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

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

[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] 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] 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

[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] 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

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

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:

[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

[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

[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

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-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

  1   2   >