Re: [GRASS-user] Probabilistic neighborhood analysis

2023-01-10 Thread Moritz Lennert
10 janv. 2023 08:46:42 Maris Nartiss : > Hello Bernardo, > although a solution with r.mapcalc random could be made to work, I'd > say creating a new dedicated module is the way to go. Just an idea – > create neighbour count raster (how many cells with centre class are in > a sliding window), in

Re: [GRASS-user] Need support with v.neighborhoodmatrix addon in GRASS

2022-02-23 Thread Moritz Lennert
Hi Mohajane, Le 23 février 2022 16:44:21 GMT+01:00, Mohajane Meriame a écrit : >I am new to GRASS software. >I successfully added v.neighborhoodmatrix addon in GRASS 8.0 manually , but >I couldn't use it. Could you explain what you mean by that ? What did you do and what exactly went wrong?

Re: [GRASS-user] R: R: R: NULL values as output of i.atcorr

2022-01-28 Thread Moritz Lennert
/sentinel-2-l2a/, you can read: For Sentinel-2 optical data, the relation between DN and REFLECTANCE (default unit) is: DN = 1 * REFLECTANCE. Moritz Thank you very much for your precious help! -Messaggio originale- Da: Moritz Lennert Inviato: giovedì 27 gennaio 2022 17:50

Re: [GRASS-user] R: R: NULL values as output of i.atcorr

2022-01-27 Thread Moritz Lennert
above sea level [-km]" with value -1000 :-). Moritz -Messaggio originale- Da: Moritz Lennert Inviato: giovedì 27 gennaio 2022 14:08 A: ilaria.ferrand...@gmail.com; 'Maris Nartiss' Cc: 'GRASS user list' Oggetto: Re: R: [GRASS-user] NULL values as output of i.atcorr

Re: [GRASS-user] R: NULL values as output of i.atcorr

2022-01-27 Thread Moritz Lennert
map=immagine@mapset Please find attached the parameters of the file 22giugno2020_b4.txt: 26 6 22 17.05 9.68728523 43.75514951 2 1 0 -0.293 Are you sure this should be a negative number ? This should be visibility in km IIRC. -1000 182 Moritz -Messaggio originale- Da: Moritz

Re: [GRASS-user] NULL values as output of i.atcorr

2022-01-27 Thread Moritz Lennert
On 26/01/22 19:50, Ilaria Ferrando wrote: Dear Māris, Thank you for your reply. Yes, the image is inside the computational region. Any other ideas? 1) Are you sure your input data is reflectance (-r flag used) ? 2) Could you provide us with the contents of the 22giugno2020_b4.txt file ?

Re: [GRASS-user] Grass Graphic Model v.net.distance Not Accepting point layer in From or To fields

2021-12-30 Thread Moritz Lennert
s and waters. We are committed to carbon neutrality. - FROM: grass-user on behalf of Joshua Geoghegan SENT: Wednesday, 8 December 2021 9:47 AM TO: Moritz Lennert ; grass-user@lists.osgeo.org SUBJECT: Re: [GRASS-user] Grass Graphic Model v.net.distance Not Accepting poi

Re: [GRASS-user] [GRASS-dev] Invitation: End of year toast :)

2021-12-29 Thread Moritz Lennert
Hi everyone, Won't be able to join you tonight. I wish everyone a happy new year 2022 with many great releases of GRASS GIS ! Moritz Le 27 décembre 2021 13:46:10 GMT+01:00, Veronica Andreo a écrit : >Dear all, > >We'd like to invite you all to a virtual end of year toast on *Wednesday,

Re: [GRASS-user] Grass Graphic Model v.net.distance Not Accepting point layer in From or To fields

2021-12-06 Thread Moritz Lennert
enShire> >[Latest News]<https://www.mornpen.vic.gov.au/emailcampaign> >Mornington Peninsula Shire acknowledges and pays respect to the Bunurong/Boon >Wurrung people, >the Traditional Custodians of these lands and waters. >We are committed to carbon neutrality. > >From: Jos

Re: [GRASS-user] Error trying to export a database table

2021-12-03 Thread Moritz Lennert
Hi Tom, Note that if all you want is to create a CSV file from the attribute table, v.db.select can do the job for you. In GRASS 8 it actually has a format parameter that lets you choose CSV explicitly, but even without that you can get a satisfying result. Moritz Le 3 décembre 2021 13:48:58

Re: [GRASS-user] Running a python script using GRASS GIS on a Mac

2021-12-02 Thread Moritz Lennert
Hi Shaffiq, Am 24.11.2021 06:16 schrieb Shaffiq Somani: Dear Moritz, Thank you for your advise and I just cut and paste the text from the terminal. I am making a bit of progress, as shown in the text below. I am not sure why it can’t find the grass_session as I installed it using the PIP

Re: [GRASS-user] Grass Graphic Model v.net.distance Not Accepting point layer in From or To fields

2021-12-02 Thread Moritz Lennert
Hi Joshua, Am 24.11.2021 00:23 schrieb Joshua Geoghegan: Hi Moritz, When I set it to layer 2 (which is the point layer I connected) and close the v.net.distance dialog, and reopen it I see the form reload and it switches back to 1. I also try to create the where clause and now it says no

Re: [GRASS-user] Running a python script using GRASS GIS on a Mac

2021-11-22 Thread Moritz Lennert
you get that from. I would suggest to set that back to GRASSBIN and try again. Moritz >________ >From: Moritz Lennert >Sent: Monday, November 22, 2021 2:16 AM >To: grass-user@lists.osgeo.org ; Shaffiq Somani > >Subject: Re: [GRASS-user] Running a python

Re: [GRASS-user] Grass Graphic Model v.net.distance Not Accepting point layer in From or To fields

2021-11-22 Thread Moritz Lennert
Twitter @MornPenShire | Facebook @MornPenShire > > > >Mornington Peninsula Shire acknowledges and pays respect to the Bunurong/Boon >Wurrung people, > >the Traditional Custodians of these lands and waters. > >-Original Message- >From: Moritz Lennert >Se

Re: [GRASS-user] Grass Graphic Model v.net.distance Not Accepting point layer in From or To fields

2021-11-21 Thread Moritz Lennert
Hi Joshua, Le 21 novembre 2021 22:12:42 GMT+01:00, Joshua Geoghegan a écrit : >Hi there, > >I have been stuck on a problem and I was hoping you could help, as I had no >luck on GIS Stack Exchange. > >I have a point and network layer connected in Grass GIS via the graphic >modeler. What

Re: [GRASS-user] Running a python script using GRASS GIS on a Mac

2021-11-21 Thread Moritz Lennert
Hi Shaffiq, Le 22 novembre 2021 00:48:04 GMT+01:00, Shaffiq Somani a écrit : >Dear GRASS Community, > >I am trying to run grass as a Python script for the gapfilling component of >PySEBAL where the GitHub directory is shown below. I have already imported >the grass-session using the pip3

Re: [GRASS-user] PostGIS import and primary keys

2021-10-26 Thread Moritz Lennert
Le 20 octobre 2021 17:56:04 GMT+02:00, "Juan Pedro Pérez Alcántara" a écrit : >Hello, > >I've been testing PostGIS to GRASS imports / exports and there are some >things I'm not sure I understand correctly. They are related to keeping >primary keys coming from PostGIS. > >My table of origin at

Re: [GRASS-user] grass gis equivalent of st_subdivide

2021-10-13 Thread Moritz Lennert
Hi HB, Le 13 octobre 2021 22:57:21 GMT+01:00, B H a écrit : >Hi, >How do I divide an area into smaller areas ( I am looking for functionality >of st_subdivide in postgis). >I need to split some big areas into smaller ones (and all smaller ones >should have the same attributes). >I understand

Re: [GRASS-user] GUI vector import column format issue

2021-10-02 Thread Moritz Lennert
On 1/10/21 17:29, Rich Shepard wrote: Using the wxGUI when GRASS was invoked I tried to import an ASCII point file looking like this: lon,lat,depth 7719886.85,702082.80,21 7719910.22,702014.88,21 7719927.67,701945.79,24 7719930.64,701875.40,19 7719933.85,701804.44,37 7719942.24,701734.58,40

Re: [GRASS-user] Elevation/bathymetry raster maps

2021-09-30 Thread Moritz Lennert
Am 30.09.2021 14:40 schrieb Rich Shepard: On Thu, 30 Sep 2021, Maris Nartiss wrote: One option always is to set colours manually. Māris, That occurred to me: use r.mapcalc to define ranges of depth/elevation then assign a color to each. No need for r.mapcalc if what you are looking for

Re: [GRASS-user] Create location fails in docker

2021-09-30 Thread Moritz Lennert
Hi Madi, Am 30.09.2021 09:46 schrieb Margherita Di Leo: Hi again, I try to reformulate my question: On Wed, Sep 29, 2021 at 9:32 PM Margherita Di Leo wrote: grass --text -c EPSG:4326 $GRASSDATA/france -e The error message: Traceback (most recent call last): File "/usr/bin/grass", line

Re: [GRASS-user] Starting GRASS

2021-09-26 Thread Moritz Lennert
Rich, As mentioned in an earlier mail: you have to include the mapset directory in the path. Moritz Le 26 septembre 2021 16:28:59 GMT+02:00, Rich Shepard a écrit : >I don't know why I'm suddenly having problems starting GRASS when it's never >before been an issue. I should be able to be in

Re: [GRASS-user] imported .tif maps lose all data

2021-09-26 Thread Moritz Lennert
If you set your region correctly before importing all the files, you could also use the -r flag of r.in.gdal, no ? Might possibly be slower, though, then determining which files to import before running r.in.gdal as Micha suggests Moritz Le 26 septembre 2021 14:44:46 GMT+02:00, Rich Shepard

Re: [GRASS-user] imported .tif maps lose all data

2021-09-25 Thread Moritz Lennert
Le 26 septembre 2021 00:50:13 GMT+02:00, Rich Shepard a écrit : >On Sat, 25 Sep 2021, Helmut Kudrnovsky wrote: > >> try the same steps as I've done (with adjusted paths) and _post the >> command and the command output_ here. >> - g.region -p >> - r.in.gdal input=columbia_2010_e_dtm_35.tif

Re: [GRASS-user] imported .tif maps lose all data

2021-09-25 Thread Moritz Lennert
Le 25 septembre 2021 22:09:57 GMT+02:00, Rich Shepard a écrit : >On Sat, 25 Sep 2021, Helmut Kudrnovsky wrote: > >> try the same steps as I've done (with adjusted paths) and _post the command >> and the command output_ here. >> >> - grass78/grass80 -e -c columbia_2010_e_dtm_35.tif

Re: [GRASS-user] Start grass, create new mapset

2021-09-22 Thread Moritz Lennert
Le 22 septembre 2021 14:40:45 GMT+02:00, Rich Shepard a écrit : On Wed, 22 Sep 2021, Moritz Lennert wrote: IIUC, you do not want to create a new location, but just a new mapset ? Moritz, That's correct. If that is the case, just try with the -c flag to create it: grass -c /data

Re: [GRASS-user] Start grass, create new mapset

2021-09-22 Thread Moritz Lennert
Hi Rich, Le 21 septembre 2021 17:30:48 GMT+02:00, Rich Shepard a écrit : >I have an existing location, lon_lat, into which I import new data in that >format. > >From the command line I want to start grass in text mode using that location >while creating a new mapset there. On the grass startup

Re: [GRASS-user] What color style for bathymetric raster map?

2021-09-20 Thread Moritz Lennert
Hi Rich, Le 20 septembre 2021 17:51:42 GMT+02:00, Rich Shepard a écrit : >I've a raster bathymetric map (attached) to which I've applied r.color = >'elevation' because I didn't see another style more appropriate for aquatic >environments. I'm sure there is at least one in various shades of blue

Re: [GRASS-user] v.in.ogr ESRI fileGDB

2021-09-17 Thread Moritz Lennert
Hi Rich, I saw that you found a different solution, but just for the record: are you sure the fgdb actually contains vector data ? AFAIR, fgdb's can also contain raster data, but there is no gdal driver for that. Moritz Le 17 septembre 2021 19:29:37 GMT+02:00, Rich Shepard a écrit : >On

[GRASS-user] GRASS GIS moves to Open Collective for collecting donations and thanks its many financial contributors

2021-09-07 Thread Moritz Lennert
Dear all, In order to make money donations easier, the GRASS GIS project has decided to use the Open Collective platform with the Open Source Geospatial (OSGeo) Foundation as its fiscal host: https://opencollective.com/grass. You can donate money via credit card, PayPal, or bank transfer

Re: [GRASS-user] Error import from grass.pygrass.vector library

2021-08-26 Thread Moritz Lennert
Am 24.08.2021 11:35 schrieb Manuele Pesenti: Attivato mar, 24 ago 2021 11:04:44 +0200 STEFAN BLUMENTRATH ha scritto What version of grass_sessions do you use? I run grass_session 0.4 on Ubuntu 18.04 with GRASS 7.8 and your script works fine… Thanks Stefan! It solves my problem...

Re: [GRASS-user] v.external, postgis materialized views and projection

2021-08-17 Thread Moritz Lennert
Am 17.08.2021 09:38 schrieb Stefan Blumentrath: Hi Donovan, Did you try the suggestion from the error message to use the -o flag? That overwrites the projection check and should link the data assuming the projection of your GRASS mapset. That is a useful workaround, but I would still

Re: [GRASS-user] v.extract fails for long strings in sql where or cat

2021-08-11 Thread Moritz Lennert
Le 11 août 2021 11:06:35 GMT+02:00, Mira Kattwinkel a écrit : >Dear list, > >is there a max length in the where statement for v.extract? > >I want to extract many line features depending on the value of an id >field and get: > >"[Errno 7] Argument list too long: 'v.extract'" when I run

Re: [GRASS-user] Advice on importing V5 data sets?

2021-06-25 Thread Moritz Lennert
Le 24 juin 2021 10:06:27 GMT+02:00, brendon wolff-piggott a écrit : >Sorry, thought I had answered yesterday. It is both vector and raster. >Created in GRASS 5.1 (not sure of .x number). > >I would like to import the data into PostGIS, so I can access it in GRASS >or QGIS. > If all you want

Re: [GRASS-user] Missing ps.map example

2021-06-15 Thread Moritz Lennert
that the links are no longer available. If you could share your map / script, I would appreciate it. Thank you. Best Rob - FROM: grass-user on behalf of Moritz Lennert SENT: Tuesday, January 5, 2021, 10:22 AM TO: n...@nikosalexandris.net; grass-user @lists.osgeo.org

Re: [GRASS-user] v.select incredibly slow

2021-03-29 Thread Moritz Lennert
-Ursprüngliche Nachricht----- Von: Moritz Lennert [mailto:mlenn...@club.worldonline.be] Gesendet: Montag, 29. März 2021 12:01 An: Uwe Fischer ; grass-user@lists.osgeo.org Betreff: Re: [GRASS-user] v.select incredibly slow Hi Uwe, On 29/03/21 09:53, Uwe Fischer wrote: But it le

Re: [GRASS-user] v.select incredibly slow

2021-03-28 Thread Moritz Lennert
Hi Uwe, Am 27. März 2021 14:58:01 MEZ schrieb Uwe Fischer : >Hello list, > >I have trouble selecting line features using their location compared to a >polygon layer using v.select. The line features I want to select from are >parcel borders, and the polygon layer is made up of tubular-shaped

Re: [GRASS-user] Building grass version grass-7.8.5

2021-03-27 Thread Moritz Lennert
] https://github.com/OSGeo/grass/pull/1382 Am 27. März 2021 11:07:02 MEZ schrieb Moritz Lennert : > > >Am 26. März 2021 23:13:18 MEZ schrieb Stephen Kirby : >>Thanks Veronica for that good information. I've made some progress by >>ensuring I had the libs it needs ready (GDAL, etc

Re: [GRASS-user] Building grass version grass-7.8.5

2021-03-27 Thread Moritz Lennert
Am 26. März 2021 23:13:18 MEZ schrieb Stephen Kirby : >Thanks Veronica for that good information. I've made some progress by >ensuring I had the libs it needs ready (GDAL, etc.). Now it is giving me a >Python error : > > File

Re: [GRASS-user] Creating a png file with multiple vector maps

2021-03-12 Thread Moritz Lennert
Hi Chris, In your previous message the settings you used had a lot of MS Windows paths in them, that's why I thought you used that. If you're not on Windows then these settings are wrong and this might explain your problem. Here's what you sent: GRASS 7.8.4> env | grep GRASS

Re: [GRASS-user] Creating a png file with multiple vector maps

2021-03-02 Thread Moritz Lennert
her you so much! :) Chris On Wednesday, February 17, 2021, 7:57:08 AM EST, Moritz Lennert wrote: Hi Chris, On 17/02/21 02:30, Chris Bartolomei wrote: > Oh !! Sooo close ! I can get the two vector maps to overlay and > display but no matter what I do I cannot get them to do a

Re: [GRASS-user] Code sprint is now (OGC-OSGeo-ASF 2021)

2021-02-17 Thread Moritz Lennert
Am 17. Februar 2021 17:40:03 MEZ schrieb Luca Delucchi : >Hi all, > >On Wed, 17 Feb 2021 at 17:29, Vaclav Petras wrote: >> >> Code sprint is now! >> > >I'm trying to connect sometime, specially during Italian evening time > >> >> Post you plan here: >> >>

Re: [GRASS-user] Creating a png file with multiple vector maps

2021-02-17 Thread Moritz Lennert
r if it worked like yours did! Thank you so much for taking the time and testing this out :) v/r Chris On Tuesday, February 16, 2021, 11:07:10 AM EST, Moritz Lennert wrote: On 16/02/21 15:54, Chris Bartolomei wrote: > Mortiz - are those vector layers areas ? I'm guessing the ce

Re: [GRASS-user] Creating a png file with multiple vector maps

2021-02-16 Thread Moritz Lennert
Hi Chris, For me, the following works with the current stable GRASS GIS (7.8.5) and using maps from the NC demo data set: export GRASS_RENDER_IMMEDIATE=png export GRASS_RENDER_WIDTH=640 export GRASS_RENDER_HEIGHT=480 export GRASS_RENDER_TRANSPARENT=true export GRASS_RENDER_TRUECOLOR=true

[GRASS-user] Elections results and new GRASS GIS PSC

2021-02-09 Thread Moritz Lennert
Landa (83) * Verónica Andreo (76) * Moritz Lennert (74) * Václav Petráš (68) * Michael Barton (58) * Huidae Cho (56) For completeness, all relevant candidacy communications, as well as details about the voting process, have been published at:https://trac.osgeo.org/grass/wiki/PSC/Election2020

Re: [GRASS-user] Grass gis surface roughness

2021-02-06 Thread Moritz Lennert
Dear Aylin, Please post such questions to the grass-user mailing list [1], or on the relevant stack exchange forum, not privately to developers. You can look at https://grass.osgeo.org/grass78/manuals/addons/r.roughness.vector.html to see if this corresponds to what you want. Otherwise you

[GRASS-user] Support GRASS GIS financially !

2021-02-05 Thread Moritz Lennert
Dear all, We just received our very first sponsorship contribution of 2021 (thank you !) and we want to take this occasion to thank all those who sponsored us last year and remind you that the GRASS GIS project needs financial support in order to: - organize very valuable face-to-face

Re: [GRASS-user] increase efficiency of analysis with r.grow.distance aka Euclidean allocation

2021-01-29 Thread Moritz Lennert
Am 29. Januar 2021 01:30:03 GMT+00:00 schrieb karsten : >Hi All, > >I am working on a project that requires to find the middle boundary between >raster regions (of the same value) using a maximum buffer distance. The >raster input I am using is quite large like 5m resolution and 10 by

Re: [GRASS-user] [GRASS-dev] [GRASS GIS Elections 2020] Voting phase closed, presentation of results

2021-01-26 Thread Moritz Lennert
Wiki. > > >Voting result (ranking, name, number of votes): > > 1. Markus Neteler 95 > 2. Anna Petrášová 88 > 3. Helena Mitasova 86 > 4. Martin Landa 83 > 5. Verónica Andreo76 > 6. Moritz Len

Re: [GRASS-user] How would I make this odd choropleth in GRASS?

2021-01-18 Thread Moritz Lennert
Hi, Am 19. Januar 2021 06:28:37 MEZ schrieb Dheeraj Chand : >I have a shapefile of US counties in Texas. A map that I am trying to conceive >would 1) separate the polygons to add some distance / whitespace between the >constituting polygons 2) preserve their relative positioning 3) color the

[GRASS-user] Statement Moritz Lennert

2021-01-14 Thread Moritz Lennert
Dear all, I thank those who nominated me for putting my name up once again. Most of you will have seen me around as I'm one of the old ones, active in the GRASS GIS community for over 20 years now. In the past I've have worked on many different parts of GRASS: documentation, the first

Re: [GRASS-user] Missing ps.map example

2021-01-05 Thread Moritz Lennert
On 5/01/21 10:34, n...@nikosalexandris.net wrote: In http://homepages.ulb.ac.be/~mlennert/grass/psmap/index.html there is this nice example http://homepages.ulb.ac.be/~mlennert/grass/psmap/ages.png. The source code for it is missing. Any chance to get hands on it? There is a chance but since

Re: [GRASS-user] Can GRASS create color table in16 bit?

2021-01-02 Thread Moritz Lennert
AFAIK, GRASS only supports 8 bit color definitions, i.e. 0-255 for each of R, G, and B. This allows for 16 million different color tones which is generally enough. Moritz Am 2. Januar 2021 08:13:07 MEZ schrieb mega saputra : >Dear all, > >I try to create color table in 16 bit. That is in

Re: [GRASS-user] [GRASS-dev] Call for candidates for Chief Return Officer(s) to oversee election of new Project Steering Committee

2020-12-11 Thread Moritz Lennert
Dear all, Many thanks to Hernán De Angelis who has agreed to serve as CRO ! We will put things in place with him to launch the entire process as soon as possible. Moritz Am 10. Dezember 2020 09:14:55 MEZ schrieb Moritz Lennert : >Dear all, > >As part of the effort to guarante

Re: [GRASS-user] Call for candidates for Chief Return Officer(s) to oversee election of new Project Steering Committee

2020-12-10 Thread Moritz Lennert
On 10/12/20 14:43, Rich Shepard wrote: On Thu, 10 Dec 2020, Moritz Lennert wrote: The first step in that procedure is the nomination of one (or several) Chief Return Officer(s) (CRO) who will oversee the election process and who should not be a member of the current PSC, nor aim at becoming

[GRASS-user] Call for candidates for Chief Return Officer(s) to oversee election of new Project Steering Committee

2020-12-10 Thread Moritz Lennert
Dear all, As part of the effort to guarantee a solid and sustainable governance of GRASS GIS development, and in accordance with OSGeo guidelines, we have a Project Steering Committee (PSC) [1]. Although most decisions are taken by consensus via the mailing lists or via discussions in github

Re: [GRASS-user] Reprojecting to x,y grid

2020-11-19 Thread Moritz Lennert
On 18/11/20 15:01, Ken Mankoff wrote: Hello, On 2020-11-17 at 10:06 -08, Ken Mankoff wrote... I've successfully worked in rotated pole coordinates (e.g., [1]) but because I don't know what (x,y) coord contains the pole, I haven't figured out how to adapt this to the rotated pole situation as

Re: [GRASS-user] Recommendations for v.surf.rst parameters for huge region

2020-10-21 Thread Moritz Lennert
Just to add my 2¢ on one aspect: IMHO, unless you have some aesthetic or other reasons to do otherwise, smooth should reflect the error in your data. As it determines how far the interpolated surface can be from the observed values, the margin of error that you think your data has should be an

Re: [GRASS-user] r.in.gdal problem

2020-10-13 Thread Moritz Lennert
On 12/10/20 20:42, chadli Kadri wrote: Hi; I am working on grass-gis 7.8 under windows 10 (python 3.7), when I run my python script on grass-shell this error message appears: *Unable to open datasource* ** This is the actual error. Are you sure that this file exists in the directory you

Re: [GRASS-user] remove holes from polygon

2020-10-09 Thread Moritz Lennert
On 8/10/20 18:11, Robert Nuske wrote: Hi GRASS list, I am kind of lost and hope someone can point me in the right direction. Is there a way to automatically (not by manually editing the dataset) remove all holes in all areas of a vector dataset (I guess that are polygons without a category

Re: [GRASS-user] tiled version for r.neighbors

2020-10-07 Thread Moritz Lennert
On 7/10/20 12:37, Bernardo Santos wrote: Dear community, I have recently found that some functions such as r.mapcalc and r.textile have their "tiled" versions, whichi is perfect for processing things in large extents and fine scale resolution. I need to perform a moving window analysis, such

Re: [GRASS-user] R: exwcuting grass python script from php web page

2020-09-29 Thread Moritz Lennert
Hi Roberta, I'm really no expert in this domain, so just doing some educated guessing. On 28/09/20 18:37, roberta fagandini wrote: On 28/09/20 17:51, roberta fagandini wrote: Sorry, maybe I didn't explain myself well because actually, I don't get any error from the php web page, simply the

Re: [GRASS-user] R: exwcuting grass python script from php web page

2020-09-28 Thread Moritz Lennert
sufficient permissions to access the relevant directories ? Moritz *Da:* Moritz Lennert *Inviato:* lunedì 28 settembre 2020 17:29 *A:* roberta fagandini ; grass-user@lists.osgeo.org *Oggetto:* Re: [GRASS-user] exwcuting

Re: [GRASS-user] exwcuting grass python script from php web page

2020-09-28 Thread Moritz Lennert
On 28/09/20 12:10, roberta fagandini wrote: Hi all! I wrote a python script with grass to be run from a php web page. The python script works perfectly if I run it from the terminal but when I try to run it from the php web page, the grass related part seems to be ignored and the grass session

Re: [GRASS-user] How to generate a random DEM Model of given size & resolution

2020-09-28 Thread Moritz Lennert
Hi, On 28/09/20 13:52, BHARATH RAM wrote: Hello, I want to generate a set of random DEMs ( epsg code known to me). I am aware that I need to use r.surf.fractal and specify fractal dimension. But how do I specify other parameters of the raster map (like length & breadth, resolution?) You

Re: [GRASS-user] Distance surface 3D

2020-09-16 Thread Moritz Lennert
Am 16. September 2020 15:45:31 MESZ schrieb Edward Guevara : >Muy buenos días para todos, tengo una consulta: ¿Sabe alguien cómo puedo >medir la distancia de un vector tipo polyline en una superficie 3d, en mi >caso un DEM?, estoy buscando alguna opción en grass pero no la encuentro. >La función

Re: [GRASS-user] Classify basins as "narrow"

2020-09-03 Thread Moritz Lennert
On 3/09/20 08:54, Stefan Blumentrath wrote: In order to get the skeleton of the basin you could use r.neighbors as well: r.neighbors input=basin_boundary_distance method=maximum output=basin_boundary_distance_max r.mapcalc expression="skeletons=if(basin_boundary_distance <

Re: [GRASS-user] Sqlite error when calling GRASS GIS outside of GRASS

2020-08-07 Thread Moritz Lennert
Hi Ellen, Am 6. August 2020 22:03:24 MESZ schrieb "DAmico, Ellen" : >Good Afternoon, >I have been going around in circles with this error. >When I run this piece of code: >g.run_command(r'C:\OSGeo4W64\apps\grass\grass78\bin\g.proj.exe', >georef=geotiff, location = locationGeonet) >I am getting

Re: [GRASS-user] Error in v.distance when running from R (in a container)

2020-07-22 Thread Moritz Lennert
On 20/07/20 21:41, Markus Neteler wrote: Hi, On Mon, Jul 20, 2020 at 9:22 PM Veronica Andreo wrote: Hi Mehrdad, I have the same problem (running just GRASS dev - without calling it from R). Why can't v.distance update the current table Because it was changed to "upload is required" in:

Re: [GRASS-user] Question about v.cluster DBSCAN

2020-07-18 Thread Moritz Lennert
Hi Zac, On 18/07/20 11:34, Zac45 wrote: Hi, I am kinda new to GRASS and now dealing with a group of point data, but I failed to get output from the DBSCAN in v.cluster. It is kind of strange to me because I input the correct vector data but the output seems unchanged. Here are the command

Re: [GRASS-user] Storing raster maps

2020-07-02 Thread Moritz Lennert
On 1/07/20 23:55, Rich Shepard wrote: On Wed, 1 Jul 2020, Markus Neteler wrote: I see two options: - export the DEMs, still in GRASS GIS format, with r.pack (in a loop) - or simply package the mapset(s) containing the DEMs. Markus, With changes to GRASS over the years I was no sure

Re: [GRASS-user] r.in.lidar and v.in.lidar not available in GRASS 7.8.3 fc31 from copr

2020-06-22 Thread Moritz Lennert
On 22/06/20 09:51, Markus Neteler wrote: Hi Richard, (re-adding the user list) [topic: r.in.lidar/v.in.lidar support on Fedora] So, the liblas package on Fedora is lacking "liblas-config" which makes it unusable for GRASS GIS. Tthe maintainer of liblas in Fedora told me that we would need to

Re: [GRASS-user] i.segment vs. i.segment.gsoc

2020-06-11 Thread Moritz Lennert
? Moritz Kind regards, Melanie On Jun 11, 2020 12:52 PM, Moritz Lennert wrote: i.segment.gsoc is the original version developed during GSoC. i.segment is ann optimized version that was originally based on the GSoC work, but has known different developments since, including

Re: [GRASS-user] i.segment vs. i.segment.gsoc

2020-06-11 Thread Moritz Lennert
i.segment.gsoc is the original version developed during GSoC. i.segment is ann optimized version that was originally based on the GSoC work, but has known different developments since, including in the way the threshold parameter is applied. I would recommend using i.segment. Moritz Am 10.

Re: [GRASS-user] SQL in GRASS

2020-06-02 Thread Moritz Lennert
l: 0172/8876934 > >-Ursprüngliche Nachricht- >Von: grass-user [mailto:grass-user-boun...@lists.osgeo.org] Im Auftrag >von Moritz Lennert >Gesendet: Dienstag, 2. Juni 2020 15:07 >An: grass-user@lists.osgeo.org >Betreff: Re: [GRASS-user] SQL in GRASS > >On 2/06

Re: [GRASS-user] SQL in GRASS

2020-06-02 Thread Moritz Lennert
On 2/06/20 14:42, Uwe Fischer wrote: Hello list, I tried the following expression in a Python script, but it does not work Please be more specific than just saying "it does not work". Do you see an error message ? Wrong results in the table ? (I need to subtract the lowest value for

Re: [GRASS-user] Estimating import time for large data file

2020-05-29 Thread Moritz Lennert
On 29/05/20 14:37, Rich Shepard wrote: On Fri, 29 May 2020, Moritz Lennert wrote: Importing such a large file can take a lot of time because of the cleaning in order to get it into GRASS GIS' topological format. Moritz, I assumed it would taka a while, but it seemed to be stuck. Perhaps

Re: [GRASS-user] Estimating import time for large data file

2020-05-29 Thread Moritz Lennert
On 28/05/20 17:25, Rich Shepard wrote: I'm trying to import (using v.in.ogr) a rather large file (1.22G *.shp and 4.5M *.dbf). I see a lot of system disk reads, low cpu usage, but after a half-hour it appears to have stopped processing. Importing such a large file can take a lot of time

Re: [GRASS-user] v.what.rast - solved

2020-05-29 Thread Moritz Lennert
On 29/05/20 10:09, Micha Silver wrote: On 29/05/2020 9:42, Uwe Fischer wrote: Hello list, thanks to Micha Silver and Helmut Kudrnovsky, the problem ist solved. I did not set g.region prior to using v.what.rast. Seems to be a typical non-Grass-Professional mistake. Now it works fine. But

Re: [GRASS-user] Which colour palette is currently applied to a raster

2020-05-27 Thread Moritz Lennert
On 27/05/20 12:39, Paul Shapley wrote: Hi Users, How can I tell which colour palette set is currently applied to a raster in Grass 7.8.3? nothing is stated in metadata and checked in 'PERMANENT/colr' for colour palette 'name' but nothing. Named color palettes are translated into numbers in

Re: [GRASS-user] Calling all imagery (especially i.maxlik and i.smap) users

2020-05-08 Thread Moritz Lennert
On 6/05/20 08:33, Maris Nartiss wrote: Hello lists (sorry for cross-posting), as GRASS 8 starts to look less Duke Nukem Forever (a.k.a. never), it is a chance to change some things in imagery part. Thus if you heavy relay on imagery part of GRASS GIS, please find some time to give small

Re: [GRASS-user] [GRASS-dev] Let's talk about releases - 7.8.3, 7.10, 8.0

2020-05-07 Thread Moritz Lennert
Am 6. Mai 2020 15:17:08 MESZ schrieb Vaclav Petras : >On Thu, Apr 30, 2020 at 9:59 PM Vaclav Petras >wrote: > >> Dear users and devs, >> >> I though it would be a good idea to video meet next week and talk >about >> what would be the best way of releasing GRASS GIS in the future. As >always, >>

Re: [GRASS-user] Responding to mail list threads

2020-05-02 Thread Moritz Lennert
Dear Rich, On 2/05/20 16:27, Rich Shepard wrote: I have a request for all who post to this maillist: please send it the list only and not to the list and all individuals who've commented on a thread. All of us receives the message from the mail list and don't need a second copy of each

Re: [GRASS-user] slope calculation under lat long

2020-03-19 Thread Moritz Lennert
On 19/03/20 16:37, Giuseppe Amatulli wrote: Hi, I wondering if the slope calculation in GRASS (https://grass.osgeo.org/grass78/manuals/r.slope.aspect.html) take in to account the latitudinal change of the meridian distance or just simply treats the raster as square grids also under lat long

Re: [GRASS-user] RES: v.centerline addon

2020-03-06 Thread Moritz Lennert
MarkusM just merged the PR so you can reinstall the extension and see if it works with your python 3 installation now. Moritz Am 6. März 2020 17:34:12 GMT+01:00 schrieb Moritz Lennert : >Hi César, > >Micha Silver sent a pull request that should solve your issue [1], but >I

Re: [GRASS-user] RES: v.centerline addon

2020-03-06 Thread Moritz Lennert
install Python 2.x and run again the addon v.centerline and >I’ll >tell about the result. > > > >Tks. > > > >César de Paula > > > >De: Moritz Lennert >Enviada em: quinta-feira, 5 de março de 2020 05:10 >Para: ce...@fototerra.com.br; grass-user@lists.o

Re: [GRASS-user] v.centerline addon

2020-03-05 Thread Moritz Lennert
On 4/03/20 18:10, ce...@fototerra.com.br wrote: Hello!!! I’m new user on GRASS and I’m trying to execute the addon v.centerline on  GRASS 7.9. As input I’m using a shapefile containing line (MultiLineString) as geometry and when I have run the v.centerline an erro is returning:

Re: [GRASS-user] Error creating mapset and location.

2020-01-16 Thread Moritz Lennert
On 15/01/20 21:35, barros-l...@uol.com.br wrote: Error creating mapset and location. In GRASS 7.6.0, when I create a new location and mapset, the error message is displayed: "Location will be created in the GIS data directory . You will need to change the default Gis data directory on the

Re: [GRASS-user] error while using i.segment.stats

2019-12-05 Thread Moritz Lennert
. It will obviously be slower. Moritz El mar., 3 dic. 2019 a las 12:41, Moritz Lennert (mailto:mlenn...@club.worldonline.be>>) escribió: Hi Vero, Le Mon, 2 Dec 2019 13:43:30 +0100, Veronica Andreo mailto:veroand...@gmail.com>> a écrit : > Hi, > >

Re: [GRASS-user] SQL: generating numeric class numbers from class text labels?

2019-12-05 Thread Moritz Lennert
On 4/12/19 19:58, Markus Neteler wrote: Thanks for your answers. In fact I need it in Python... Using SQL, you can do something like this (SQLite version): create table mytab (cat int, label varchar, labelint int); inserts... select * from mytab; 1|forest| 2|forest| 3|forest| 4|street|

Re: [GRASS-user] Problem with v.class.mIR

2019-12-04 Thread Moritz Lennert
r a column 'class'. I suppose that in your data it is the column 'cate'. Moritz On 4/12/19 10:38, Moritz Lennert wrote: Sorry for ignoring you up to now, just to much on the platter right now. Would it be feasible for you to make the data available, privately if necessary ? The easiest (and light

Re: [GRASS-user] Problem with v.class.mIR

2019-12-04 Thread Moritz Lennert
is in integer64 (10) Il giorno mer 20 nov 2019 alle ore 12:18 Moritz Lennert mailto:mlenn...@club.worldonline.be>> ha scritto: On 20/11/19 11:55, Giuseppe Cillis wrote: > Hi, > I'm trying to use this module for classification of an old aer

Re: [GRASS-user] error while using i.segment.stats

2019-12-02 Thread Moritz Lennert
Hi Vero, Le Mon, 2 Dec 2019 13:43:30 +0100, Veronica Andreo a écrit : > Hi, > > We are trying to use i.segment.stats for a map with 80+ segments > and already in two different laptops, we get: > > bands=`g.list rast pat=IGUAZU_IMG_* sep=,` >

Re: [GRASS-user] deleting lines by length, from a vector map

2019-12-01 Thread Moritz Lennert
On 1/12/19 08:39, Micha Silver wrote: On 30/11/2019 16:11, Zoltan Szecsei wrote: Hi, I'm trying to write my first Grass python script to load Shape files and delete all lines shorter than 50m I'm trying various permutations of the command below, but  no success (No error message and no lines

Re: [GRASS-user] Problem with v.class.mIR

2019-11-20 Thread Moritz Lennert
On 20/11/19 11:55, Giuseppe Cillis wrote: Hi, I'm trying to use this module for classification of an old aerial photos. After a segmentation (i.segment and i.segment.stats), I would to use a machine learning approach for the real classification. I tried with v.class.mIR which use also R. But

Re: [GRASS-user] i.segment: band_suffix does not seem to have effect

2019-11-20 Thread Moritz Lennert
On 20/11/19 11:19, Stefan Blumentrath wrote: Hi, I thought that if I give the band_suffix option in i.segment it produces bands with modified band values for all input bands. However, the option does not seem to have effect (no modified output bands are produced). Did I do or understand

Re: [GRASS-user] Trouble getting started

2019-11-15 Thread Moritz Lennert
On 16/11/19 03:10, Tom Trebisky wrote: I see.  Well I have done my share of Gtk programming in C and via Ruby and I remember things of this sort (messages that were difficult or impossible to relate to code), especially when callbacks are registered.   I presume (or get the impression) that

Re: [GRASS-user] Trouble getting started

2019-11-15 Thread Moritz Lennert
Le Fri, 15 Nov 2019 11:27:54 +0100, Moritz Lennert a écrit : > Hi Tom, > > Le Thu, 14 Nov 2019 20:40:31 -0700, > Tom Trebisky a écrit : > > > I am totally new to grass and having trouble. > > Welcome to the community ! > > GRASS GIS does have a bit of a

Re: [GRASS-user] Trouble getting started

2019-11-15 Thread Moritz Lennert
Hi Tom, Le Thu, 14 Nov 2019 20:40:31 -0700, Tom Trebisky a écrit : > I am totally new to grass and having trouble. Welcome to the community ! GRASS GIS does have a bit of a learning curve, but once you get past the first barriers you won't be able to live without it anymore ! ;-) > > I

Re: [GRASS-user] QGIS 3.14.13 Crashes

2019-10-29 Thread Moritz Lennert
On 28/10/19 18:11, Martin Bittens wrote: Hello QGIS Users, if I try to open the 'Plugins' menu  in QGIS 3.14.13 QGIS is crashing. The crash report tells me: Crash ID: 45ba9a8f60f9a223c957d2c10b2a2b17a42d7c53 Stack Trace QString::fill : QString::indexOf : QDir::fromNativeSeparators :

  1   2   3   4   5   6   7   8   9   10   >