[GRASS-user] Possible issue with ps.map

Good afternoon all,

I am using ps.map to create an OS map for an archaeological site and want to add the OS grid lines with their appropriate coordinates.

If I use
grid 100

It produces the lines as desired but only puts the leading 4 digits of the coordinates and omits the 2 trailing zeros.
if however I use

grid 50

it again produces the grid but this time with the correct coordinates, all 6 digits.

I am running Grass 7.8 downloaded from Giscan.com as it is a a “working version” overcoming the as yet un resolved wxpython issue for AUR based versions.

Am I doing something wrong or is this a possible bug, either from using newer versions of wxpython (4.1.1) or in Grass?

While I am writing is the north arrow option no longer available in Grass 7.8 within ps.map? It is no longer listed in the manual for the ps.map.

Thanks for

Dr Timothy Glyn Southern
0155 941 8432
0791 076 6814

On 30 May 2021, at 20:00, grass-user-request@lists.osgeo.org wrote:

Send grass-user mailing list submissions to
grass-user@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osgeo.org/mailman/listinfo/grass-user
or, via email, send a message with subject or body ‘help’ to
grass-user-request@lists.osgeo.org

You can reach the person managing the list at
grass-user-owner@lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than “Re: Contents of grass-user digest…”

Today’s Topics:

  1. Re: bayesian belief network analysis (was r.binfer) (Saulteau Don)

Message: 1
Date: Sat, 29 May 2021 12:12:45 -0700
From: Saulteau Don sault.don@gmail.com
To: GRASS user list grass-user@lists.osgeo.org
Subject: Re: [GRASS-user] bayesian belief network analysis (was
r.binfer)
Message-ID:
CAJo0jfPdyfY3xxPfC4hrSNhsJ4kXtgdQj9wXtzqrr9XBrZ0gFw@mail.gmail.com
Content-Type: text/plain; charset=“utf-8”

OK thanks! I’ll see if I can find an old grass executable, compile in a VM
with r.binfer in it or fallback to QGIS and OpenBugs. I thought I’d poke
around cause I prefer analysis in GRASS over any other platform out there :slight_smile:

I’ve started to assist indigenous nations with assertion and
protection/preservation of their rights with GIS. Some of these analytical
methods like fuzzy/boolean patch modelling, weighted overlays, bayesian
belief networks (BBN) allow them to translate their oral history and
ecological knowledge into tools that help them engage effectively and
meaningfully with other parties such as other nations/governments and
industries who have expressed interest in their lands and resources.

I SO wish I could code or even knew what to ask for in procurement for
these things cause I would.

Been a lowly user, bug reporter, package maintainer and crowd funder.
Continuing to find ways to feed back and wholly contribute into these FOSS
communities any way I can.

Donovan

On Sat., May 29, 2021, 03:12 Markus Neteler, neteler@osgeo.org wrote:

On Sat, May 29, 2021 at 4:20 AM Donovan Cameron sault.don@gmail.com
wrote:

Evening,

I’m attempting to analyze a set of layers (slope, aspect, vegetation,
soil, etc) that have been coded/scored based on expert opinion to output
a probability/suitability map.

I’m looking to apply a bayesian belief network [1] and i’ve got the
raster layers ready for the inputs and coded like seen in this figure

[2].

There was a grass4 module called r.binfer [3] that did this and I can’t
seem to find it with GRASS 78 - deprecated or replaced?

The latest code trace which I could find is this one:

GRASS GIS 5.5:

https://github.com/OSGeo/grass-legacy/tree/releasebranch_5_5/src/raster/r.binfer

I do not recall why the module has been abandoned in GRASS GIS 6
(maybe no particular reason and a volunteer could update it…?).

Another option might be to rely on R and use “rgrass7” to exchange
data between GRASS GIS and R.

Best,
Markus

Searches lead me to either r.regression.multi [4] or r.learn.ml [5] but
i’m not sure where to start with these to get a BBN processed thru them.

SaultDon

[1] https://www.gislounge.com/gis-bayesian-belief-networks/
[2]

https://www.sciencedirect.com/science/article/pii/S0169204618307497#f0010

[3]

https://grass.osgeo.org/grass43/manuals/html_grass4/html/r.binfer.html

[4] https://grass.osgeo.org/grass78/manuals/r.regression.multi.html
[5] https://grass.osgeo.org/grass78/manuals/addons/r.learn.ml.html


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


Markus Neteler, PhD
https://www.mundialis.de - free data with free software
https://grass.osgeo.org
https://courses.neteler.org/blog

-------------- next part --------------
An HTML attachment was scrubbed…
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20210529/5cd28ccb/attachment-0001.html


Subject: Digest Footer


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


End of grass-user Digest, Vol 181, Issue 21


Dr. Southern,

    Can you provide a link for the code you downloaded? I didn't find it at GISCAN.

Thanks, Dave
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David W. Roberts office 406-994-5670
Professor FAX 406-994-3190
Department of Ecology email droberts@montana.edu
117 AJM Johnson Hall
Montana State University
Bozeman, MT 59717-3460

On 6/1/21 9:28 AM, Timothy Glyn Southern via grass-user wrote:

Good afternoon all,

I am using ps.map to create an OS map for an archaeological site and want to add the OS grid lines with their appropriate coordinates.

If I use
grid 100

It produces the lines as desired but only puts the leading 4 digits of the coordinates and omits the 2 trailing zeros.
if however I use

grid 50

it again produces the grid but this time with the correct coordinates, all 6 digits.

I am running Grass 7.8 downloaded from Giscan.com <https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgiscan.com%2F&data=04|01|droberts%40montana.edu|0338516d34bd45225aac08d925131646|324aa97a03a644fc91e43846fbced113|0|0|637581586173695968|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=%2BrjIqwTllq22E5nzuZbhZGyzYcVGYi4skrmVqsXlNG0%3D&reserved=0&gt; as it is a a “working version” overcoming the as yet un resolved wxpython issue for AUR based versions.

Am I doing something wrong or is this a possible bug, either from using newer versions of wxpython (4.1.1) or in Grass?

While I am writing is the north arrow option no longer available in Grass 7.8 within ps.map? It is no longer listed in the manual for the ps.map.

Thanks for

Dr Timothy Glyn Southern
0155 941 8432
0791 076 6814

On 30 May 2021, at 20:00, grass-user-request@lists.osgeo.org <mailto:grass-user-request@lists.osgeo.org> wrote:

Send grass-user mailing list submissions to
grass-user@lists.osgeo.org <mailto:grass-user@lists.osgeo.org>

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osgeo.org/mailman/listinfo/grass-user
or, via email, send a message with subject or body 'help' to
grass-user-request@lists.osgeo.org

You can reach the person managing the list at
grass-user-owner@lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of grass-user digest..."

Today's Topics:

1. Re: bayesian belief network analysis (was r.binfer) (Saulteau Don)

----------------------------------------------------------------------

Message: 1
Date: Sat, 29 May 2021 12:12:45 -0700
From: Saulteau Don <sault.don@gmail.com>
To: GRASS user list <grass-user@lists.osgeo.org>
Subject: Re: [GRASS-user] bayesian belief network analysis (was
r.binfer)
Message-ID:
<CAJo0jfPdyfY3xxPfC4hrSNhsJ4kXtgdQj9wXtzqrr9XBrZ0gFw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

OK thanks! I'll see if I can find an old grass executable, compile in a VM
with r.binfer in it or fallback to QGIS and OpenBugs. I thought I'd poke
around cause I prefer analysis in GRASS over any other platform out there :slight_smile:

I've started to assist indigenous nations with assertion and
protection/preservation of their rights with GIS. Some of these analytical
methods like fuzzy/boolean patch modelling, weighted overlays, bayesian
belief networks (BBN) allow them to translate their oral history and
ecological knowledge into tools that help them engage effectively and
meaningfully with other parties such as other nations/governments and
industries who have expressed interest in their lands and resources.

I SO wish I could code or even knew what to ask for in procurement for
these things cause I would.

Been a lowly user, bug reporter, package maintainer and crowd funder.
Continuing to find ways to feed back and wholly contribute into these FOSS
communities any way I can.

Donovan

On Sat., May 29, 2021, 03:12 Markus Neteler, <neteler@osgeo.org> wrote:

On Sat, May 29, 2021 at 4:20 AM Donovan Cameron <sault.don@gmail.com>
wrote:

Evening,

I'm attempting to analyze a set of layers (slope, aspect, vegetation,
soil, etc) that have been coded/scored based on expert opinion to output
a probability/suitability map.

I'm looking to apply a bayesian belief network [1] and i've got the
raster layers ready for the inputs and coded like seen in this figure

[2].

There was a grass4 module called r.binfer [3] that did this and I can't
seem to find it with GRASS 78 - deprecated or replaced?

The latest code trace which I could find is this one:

GRASS GIS 5.5:

https://github.com/OSGeo/grass-legacy/tree/releasebranch_5_5/src/raster/r.binfer

I do not recall why the module has been abandoned in GRASS GIS 6
(maybe no particular reason and a volunteer could update it...?).

Another option might be to rely on R and use "rgrass7" to exchange
data between GRASS GIS and R.

Best,
Markus

Searches lead me to either r.regression.multi [4] or r.learn.ml [5] but
i'm not sure where to start with these to get a BBN processed thru them.

SaultDon

[1] https://www.gislounge.com/gis-bayesian-belief-networks/
[2]

https://www.sciencedirect.com/science/article/pii/S0169204618307497#f0010

[3]

https://grass.osgeo.org/grass43/manuals/html_grass4/html/r.binfer.html

[4] https://grass.osgeo.org/grass78/manuals/r.regression.multi.html
[5] https://grass.osgeo.org/grass78/manuals/addons/r.learn.ml.html
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

--
Markus Neteler, PhD
https://www.mundialis.de - free data with free software
https://grass.osgeo.org
https://courses.neteler.org/blog

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20210529/5cd28ccb/attachment-0001.html&gt;

------------------------------

Subject: Digest Footer

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

------------------------------

End of grass-user Digest, Vol 181, Issue 21
*******************************************

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David W. Roberts office 406-994-5670
Professor FAX 406-994-3190
Department of Ecology email droberts@montana.edu
117 AJM Johnson Hall
Montana State University
Bozeman, MT 59717-3460