Re: [GRASS-user] r.basin
>However, I already manage to use r.basin module, but now it stays >conjugated in: (next image) [please keep conversation on the ML that others can help and benefit] try the example listed in the manual to see whether the addon works basically or if it's a problem of your location setting. - best regards Helmut -- Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Recovering from a build error
On Sun, 17 Sep 2017, Markus Neteler wrote: Errors in: /home/rshepard/gis/grass/grass7_trunk/scripts/d.rast.edit -- In case of errors please change into the directory with error and run 'make'. Markus, Just did this and found the reason for the error: Fatal Error: Mismatch between the program and library build versions detected. The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8), and wxPython used 3.0 (wchar_t,compiler with C++ ABI 1002,wx containers,compatible with 2.8). ../../include/Make/Html.make:14: recipe for target 'd.rast.edit.tmp.html' failed make: *** [d.rast.edit.tmp.html] Error 1 rm d.rast.edit.tmp.html I've been using wxPython-3.0.2.0 to build grass 7.3.svn for quite a while now and ~/.bash_profile tells grass that's what's available: export GRASS_WXVERSION=3.0.2.0 Can grass be adjusted to use 3.0 as well as 2.8? Thanks, Rich ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Recovering from a build error
On Sun, 17 Sep 2017, Markus Neteler wrote: Errors in: /home/rshepard/gis/grass/grass7_trunk/scripts/d.rast.edit -- In case of errors please change into the directory with error and run 'make'. did you actually go into that directly and run 'make' therein? From your initial report I understand that you tried only in the parent directory... Markus, I guess I was only in scripts/ thinking d.rast.edit was a file. It's been that sort of a week for me. :-( Thanks, Rich ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Recovering from a build error
Rich, You wrote: Errors in: /home/rshepard/gis/grass/grass7_trunk/scripts/d.rast.edit -- In case of errors please change into the directory with error and run 'make'. did you actually go into that directly and run 'make' therein? From your initial report I understand that you tried only in the parent directory... Markus ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Recovering from a build error
On Sun, 17 Sep 2017, AB wrote: Not a solution, but you can run the 'make' with the '-i' flag to ignore errors [1]. After compilation you can manually test d.rast.edit command to see if it run fine. [1] https://www.gnu.org/software/make/manual/html_node/Options-Summary.html Andrea, Thanks. I may try that. I've run grass since 4.0 and this is the first time I've hit an error that won't fix. I'll do another 'svn up' and see if that fixes the issue. Best regards, Rich ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Merge lines into common categories based an attribute information
Thank you Moritz! Of course, v.reclass does the job. I just didn't see the column option... Regarding the second (additional) part of this question: It seems that v.to.db works well to report line lengths on a category-base. However, sinuosity seems to be calculated based on features (i.e. feature ids). Thus, I only get reasonable results if a cat only consists of one feature. For connected lines that consist of more than one feature (lines) the sinuosity index is not correct. So, I probably need to loop over the cats, extract the lines that belong to one cat and build a polyline before calculating sinuosity. /J On Sun, Sep 17, 2017 at 3:53 PM, Moritz Lennert < mlenn...@club.worldonline.be> wrote: > > > Le 17 septembre 2017 15:16:02 GMT+02:00, Johannes Radinger < > johannesradin...@gmail.com> a écrit : > >Hi, > > > >how can I merge multiple lines into one category based on some > >attribute > >information. > >For example I have a line vector consisting of 10 lines and several > >lines > >belong to three different groups (lines belonging to the same group > >share > >the same value in a specific attribute column). Now I'd like to merge > >them > >(assign a common cats) and create an new attribute with the "group > >value" > >as new category (the table should then have 3 rows)? I think this > >should be > >easily possible, but I could not yet find the correct tool. > > Try v.reclass. > > > Moritz > ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Merge lines into common categories based an attribute information
Le 17 septembre 2017 15:16:02 GMT+02:00, Johannes Radingera écrit : >Hi, > >how can I merge multiple lines into one category based on some >attribute >information. >For example I have a line vector consisting of 10 lines and several >lines >belong to three different groups (lines belonging to the same group >share >the same value in a specific attribute column). Now I'd like to merge >them >(assign a common cats) and create an new attribute with the "group >value" >as new category (the table should then have 3 rows)? I think this >should be >easily possible, but I could not yet find the correct tool. Try v.reclass. Moritz ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Merge lines into common categories based an attribute information
Hi, how can I merge multiple lines into one category based on some attribute information. For example I have a line vector consisting of 10 lines and several lines belong to three different groups (lines belonging to the same group share the same value in a specific attribute column). Now I'd like to merge them (assign a common cats) and create an new attribute with the "group value" as new category (the table should then have 3 rows)? I think this should be easily possible, but I could not yet find the correct tool. Afterwards I'd like to use v.to.db to update the attribute table with some info on the vector features. BTW, how is sinuosity (v.to.db) calculated if several lines are grouped into one category? Any suggestion is highly welcome! Thanks! Best regards, Johannes ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user