Re: [GRASS-user] Mouse coordinates in Map Window not following GUI settings projection

2023-08-16 Thread Eric Patton via grass-user
On Wed, Aug 16, 2023 at 01:09:20PM -0300, Veronica Andreo wrote:
> This is what I have in GRASS 8.2.1 
> 
> image.png
> 
> image.png
> However, to make it work then, you need to select the preferred CRS in the GUI
> main menu: Settings > Preferences > Projections

Nevermind, I synced my grass source tree to the latest release, rebuilt, and I
see the option in the GUI for alternative coordinates display now.

Cheers,

-- 
Eric 

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


Re: [GRASS-user] Mouse coordinates in Map Window not following GUI settings projection

2023-08-16 Thread Eric Patton via grass-user
On Tue, Aug 15, 2023 at 03:11:40PM -0400, Anna Petrášová wrote:
> 
> 
> On Tue, Aug 15, 2023 at 1:39 PM Eric Patton via grass-user <
> grass-user@lists.osgeo.org> wrote:
> 
> I am having trouble getting the Grass GUI map window mouse coordinates to
> display Lat-Long WGS84 coordinates in the lower-left corner of the display
> window.
> 
> I checked the GUI settings Projection tab, and it is set to EPSG:4326,
> and references /usr/local/share/proj/epsg, but I can't find this file
> anywhere
> on my system.
> 
> 
> I have there /usr/share/proj/epsg
> 
> but even if you can't find it, entering 4326 and proj string
> +proj=longlat +datum=WGS84 +no_defs +type=crs 
> 
> should do it. Then, you have to switch that on in map display settings (see 
> map
> display toolbar) -> Status bar -> Display coordinates in different CRS
> The idea was to move the epsg panel in GUI settings to the map display
> settings, but this part never got finished...

Yes, I have this proj string in place in the Projection tab. 

I don't see any option for 'Display coordinates in different CRS' in Map
Display -> Status Bar though. The options I have are:

Coordinates
Display Extent
Computational Region
Display Geometry 
Map Scale 
Go to XY coordinates

-- 
Eric 

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


[GRASS-user] Mouse coordinates in Map Window not following GUI settings projection

2023-08-15 Thread Eric Patton via grass-user
I am having trouble getting the Grass GUI map window mouse coordinates to
display Lat-Long WGS84 coordinates in the lower-left corner of the display
window.

I checked the GUI settings Projection tab, and it is set to EPSG:4326,
and references /usr/local/share/proj/epsg, but I can't find this file anywhere
on my system.

Here are the closest matches:

cd /usr

find . -name "*epsg*"
./include/boost/geometry/srs/epsg.hpp
./include/boost/geometry/srs/projections/epsg_params.hpp
./include/boost/geometry/srs/projections/epsg.hpp
./include/boost/geometry/srs/projections/epsg_traits.hpp
./include/geotiff/epsg_datum.inc
./include/geotiff/epsg_proj.inc
./include/geotiff/epsg_gcs.inc
./include/geotiff/epsg_units.inc
./include/geotiff/epsg_ellipse.inc
./include/geotiff/epsg_vertcs.inc
./include/geotiff/epsg_pm.inc
./include/geotiff/epsg_pcs.inc
./local/gdal-3.7.1/data/epsg.wkt
./local/gdal-3.7.1/ogr/ogr_fromepsg.cpp
./local/gdal-3.7.1/swig/python/gdal-utils/osgeo_utils/samples/epsg_tr.py
./local/gdal-3.7.1/build/ogr/CMakeFiles/ogr.dir/ogr_fromepsg.cpp.o
./local/gdal-3.7.1/frmts/gtiff/libgeotiff/epsg_datum.inc
./local/gdal-3.7.1/frmts/gtiff/libgeotiff/epsg_proj.inc
./local/gdal-3.7.1/frmts/gtiff/libgeotiff/epsg_gcs.inc
./local/gdal-3.7.1/frmts/gtiff/libgeotiff/epsg_units.inc
./local/gdal-3.7.1/frmts/gtiff/libgeotiff/epsg_ellipse.inc
./local/gdal-3.7.1/frmts/gtiff/libgeotiff/epsg_vertcs.inc
./local/gdal-3.7.1/frmts/gtiff/libgeotiff/epsg_pm.inc
./local/gdal-3.7.1/frmts/gtiff/libgeotiff/epsg_pcs.inc
./local/lib/python3/dist-packages/osgeo_utils/samples/epsg_tr.py
./local/lib/python3/dist-packages/osgeo_utils/samples/__pycache__/epsg_tr.cpython-38.pyc
./local/share/gdal/epsg.wkt

Here's my system: (Linux Mint 20.3)

g.version -gre
version=8.3.dev
date=2023
revision=b3ba6c290d
build_date=2023-08-14
build_platform=x86_64-pc-linux-gnu
build_off_t_size=8
libgis_revision=a82501dc85
libgis_date=2023-02-27T12:45:25+00:00
proj=8.2.0
gdal=3.7.1
geos=3.12.0
sqlite=3.31.1


My proj installation was installed by Synaptic package manager, in the standard
places, /usr/bin and /usr/share/proj.

Thanks for any helps,

~ Eric.

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


Re: [GRASS-user] Map production recommendations

2023-05-13 Thread Eric Patton via grass-user
It stands for Generic Mapping Tools. It’s excellent software, but not for the 
faint of heart, IMO. Very steep learning curve, but the payoff is worth it.

https://www.generic-mapping-tools.org/

~ Eric.

On Sat, May 13, 2023 at 2:41 PM, Rich Shepard 
<[rshep...@appl-ecosys.com](mailto:On Sat, May 13, 2023 at 2:41 PM, Rich 
Shepard < wrote:

> On Fri, 12 May 2023, Vaclav Petras wrote:
>
>> For some use cases, you can consider the m.printws addon. It is an
>> alternative to ps.map (both GUI and the command line) based on the standard
>> d-commands.
>> https://grass.osgeo.org/grass-stable/manuals/addons/m.printws.html
>
> Vaclav,
>
> Thanks for the pointer.
>
>> Since we are listing options here, GMT experienced quite some revamp. I
>> would curious if anyone here has tried it lately.
>
> What's GMT other than the deprecated Greenwich Mean Time?
>
> Regards,
>
> Rich
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Resampling best practises

2023-02-09 Thread Eric Patton via grass-user
Hi,

I have a series of raster maps at 20m resolution in Mercator projection that I 
need to amalgamate into one raster in a different projection (Lambert Conformal 
Conic), and at a lower resolution of 100m.

Is it better to resample to a lower resolution in the current Mercator 
projection, then reproject, or reproject at the current 20m resolution then 
resample to 100m?

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


Re: [GRASS-user] Need help identifying missing wxgtk dependencies

2022-08-14 Thread Eric Patton via grass-user
--- Original Message ---
On Sunday, August 14th, 2022 at 00:40, Anna Petrášová  
wrote:

> On Sat, Aug 13, 2022 at 5:57 PM Eric Patton  
> wrote:
>
>> --- Original Message ---
>> On Saturday, August 13th, 2022 at 00:23, Anna Petrášová 
>>  wrote:
>>
>>> I would say ctypes compilation may be a problem, there is a common issue 
>>> related to libproj, see also 
>>> https://github.com/OSGeo/grass/issues/435#issuecomment-688807074
>>>
>>> Anna
>>
>> Thanks for the link, Anna. I have the multiple proj installations thing 
>> resolved now, but I'm not sure what to make of the ctypes issue. I read 
>> through the bug report, but it's beyond me.
>
> Does the ctypes part of compilation go through ok? It seems to me the problem 
> you describe is not related to Python or wx.

I don't see anything related to ctypes in the configuration messages or the 
config.log - what config messages should a "good" installation have?___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Need help identifying missing wxgtk dependencies

2022-08-12 Thread Eric Patton via grass-user
--- Original Message ---
On Friday, August 12th, 2022 at 12:27, Markus Neteler  wrote:

> Pls run this to print the Python and wxPython versions:
>
> python3 -c "import sys, wx; print(sys.version); print(wx.version())"

libgrass:
> locate libgrass_gis.8.3.so
/usr/local/grass/dist.x86_64-pc-linux-gnu/lib/libgrass_gis.8.3.so
/usr/local/grass83/lib/libgrass_gis.8.3.so

python3:
> python3 -c "import sys, wx; print(sys.version); print(wx.version())"
3.8.10 (default, Jun 22 2022, 20:18:18)
[GCC 9.4.0]
4.0.7 gtk3 (phoenix) wxWidgets 3.0.4

~ Eric.




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


Re: [GRASS-user] Need help identifying missing wxgtk dependencies

2022-08-12 Thread Eric Patton via grass-user
--- Original Message ---
On Thursday, August 11th, 2022 at 19:29, Markus Neteler  
wrote:
> Please check if you have by chance PROJ libraries twice on your system
> (maybe a leftover from a local compilation vs distro packages.
>
> sudo updatedb
> locate libproj
>
> may be of help here. Also check the output of
>
> ldd $(which g.region)
>
> for anything suspicious.

Hi Markus,

Indeed, it looks like a did have multiple projlibs installed - thanks.

> > Launching g.gui gives a popup window that says "Unable to get geographic 
> > extent. Force quitting wxGUI. Please manually run g.region to fix the 
> > problem."
> >
> > On the terminal, this was printed after launhcing g.gui:
> >
> > > g.gui
> > > Launching  GUI in the background, please wait...
> > > wxdigit.py: Could not load grass_gis.8.3.
> > > wxnviz.py: Could not load grass_gis.8.3.
>
>
> Please check (with locate, see above) if the library is on your system.

I still seem to have the wxdigit error, though.

wxdigit.py:

> locate wxdigit.py
/usr/local/grass/dist.x86_64-pc-linux-gnu/gui/wxpython/vdigit/wxdigit.py
/usr/local/grass/gui/wxpython/vdigit/wxdigit.py
/usr/local/grass83/gui/wxpython/vdigit/wxdigit.py

wxnviz.py:

> locate wxdigit.py
/usr/local/grass/dist.x86_64-pc-linux-gnu/gui/wxpython/vdigit/wxdigit.py
/usr/local/grass/gui/wxpython/vdigit/wxdigit.py
/usr/local/grass83/gui/wxpython/vdigit/wxdigit.py


> > Additionally, I wanted to ask if we have a searchable Grass mailing list 
> > site? The mailman site is kind of useless for trying to search old messages.
>
>
> I want that, too :-)
> For the time being, here is a 3rd party search interface
> https://marc.info/?l=grass-user=1=2
>
> Markus

Thanks so much for this site, I had no idea it existed!

~ Eric.




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


[GRASS-user] Need help identifying missing wxgtk dependencies

2022-08-11 Thread Eric Patton via grass-user
HI,

I'm doing a fresh install of Grass 8.3dev on a new laptop running Linux Mint 
20.3. It's been a while since I've had to do a new install, so used the Linux 
Mint wiki instructions here: 
https://grasswiki.osgeo.org/wiki/Compile_and_Install#Linux_Mint

I had no obvious error during configure/make/install.

> g.version -gre
version=8.3.dev
date=2022
revision=c1b1ff69d
build_date=2022-08-11
build_platform=x86_64-pc-linux-gnu
build_off_t_size=8
libgis_revision=2b85ab5eb
libgis_date=2022-07-25T15:37:35+00:00
proj=7.2.1
gdal=3.5.1
geos=3.11.0sqlite=3.31.1

After launching Grass, g.region -p gives:

> g.region -p
projection: 99 (unnamed)
zone: 0
datum: wgs84
ellipsoid: wgs84
north: 149300
south: 124200
west: -25900
east: 7800
nsres: 100
ewres: 100
rows: 251
cols: 337
cells: 84587
free(): invalid pointerAborted (core dumped)

Launching g.gui gives a popup window that says "Unable to get geographic 
extent. Force quitting wxGUI. Please manually run g.region to fix the problem."

On the terminal, this was printed after launhcing g.gui:

> g.gui
Launching  GUI in the background, please wait...
[wxdigit.py](http://wxdigit.py/): Could not load 
grass_gis.8.3.[wxnviz.py](http://wxnviz.py/): Could not load grass_gis.8.3.

I noticed in the wxGUI console these messages:

"3D view mode not available
Reason: cannot import name 'DM_FLAT' from 'nviz.wxnviz' "

and also this one:

"Vector digitizer not available.
Reason: name 'sys' is not defined".

I thought I had all python/wxwidgets dependcies satisfied, but I must be 
missing something obvious??

Additionally, I wanted to ask if we have a searchable​ Grass mailing list site? 
The [mailman site](https://lists.osgeo.org/pipermail/grass-user/) is kind of 
useless for trying to search old messages.

Thanks for any clues!

I

--
Eric Patton
GPG ID: 
rsa4096/0x[B72AE021](http://keys.gnupg.net/pks/lookup?op=get=0x24CC056BB72AE021)
Fingerprint: 1B0F 7AFD 9B5B 0E59 DCBC 36B4 24CC 056B B72A E021

Sent with [Proton Mail](https://proton.me/) secure email.___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Error compiling Grass 8.0.1: libgrass_interface_generator

2022-04-28 Thread Eric Patton via grass-user
Thanks Anna, that worked. I had multiple proj installations somehow. Removing 
the offending one and re-compiling fixed it.

Cheers,

--
Eric

--- Original Message ---
On Wednesday, April 27th, 2022 at 23:35, Anna Petrášová  
wrote:

> On Wed, Apr 27, 2022 at 9:22 PM Eric Patton via grass-user 
>  wrote:
>
>> I am compiling Grass 8.0.1 on a new laptop that is running Linux Mint 20.3, 
>> and I ran into an error after 'make':
>>
>> GRASS GIS 8.0.1 exported compilation log
>> --
>> Started compilation: Wed 27 Apr 2022 12:45:14 PM ADT
>> --
>> Errors in:/usr/local/grass-8.0.1/python/libgrass_interface_generator
>>
>> I am almost certain I have wrong/missing packages, as I've seen this error 
>> before, but I can't remember what caused it.
>>
>> g.version -e
>> GRASS 8.0.1 (2022)
>> PROJ: 7.2.1
>> GDAL/OGR: 3.4.2
>> GEOS: 3.10.2SQLite: 3.31.1
>
> I think this may be relevant:
> https://github.com/OSGeo/grass/issues/435#issuecomment-688807074
>
>> I noticed during 'make' that there were dozens of these errors:
>>
>> "Cannot parse interface for module d.barscale. Empty strings will be placed 
>> instead of description and keywords."
>>
>> and so for seemingly every Grass module. Any ideas?
>
> No idea about this one...
>
> Anna
>
>> --
>> Eric
>> ___
>> grass-user mailing list
>> grass-user@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/grass-user___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Error compiling Grass 8.0.1: libgrass_interface_generator

2022-04-27 Thread Eric Patton via grass-user
I am compiling Grass 8.0.1 on a new laptop that is running Linux Mint 20.3, and 
I ran into an error after 'make':

GRASS GIS 8.0.1 exported compilation log
--
Started compilation: Wed 27 Apr 2022 12:45:14 PM ADT
--
Errors in:/usr/local/grass-8.0.1/python/libgrass_interface_generator

I am almost certain I have wrong/missing packages, as I've seen this error 
before, but I can't remember what caused it.

g.version -e
GRASS 8.0.1 (2022)
PROJ: 7.2.1
GDAL/OGR: 3.4.2
GEOS: 3.10.2SQLite: 3.31.1

I noticed during 'make' that there were dozens of these errors:

"Cannot parse interface for module d.barscale. Empty strings will be placed 
instead of description and keywords."

and so for seemingly every Grass module. Any ideas?

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


Re: [GRASS-user] Single GUI window in 8.0.0RC2?

2022-01-21 Thread Eric Patton via grass-user
Hi Vero,

Did you mean the Appearance tab under GUI settings? There is nothing 
controlling color in this tab that I see, but under the Map Display tab, there 
is the background color selector. Changing that only changes the background of 
the map display window, not the GUI toolbar background.

--
Eric

‐‐‐ Original Message ‐‐‐
On Friday, January 21st, 2022 at 08:03, Veronica Andreo  
wrote:

> Hi Eric,
>
> You need to change the `appeareance` settings to a dark one, and grass will 
> get it. At least, that's how it worked for me.
>
> HTH,
> Vero
>
> El vie, 21 ene 2022 a las 4:59, Eric Patton via grass-user 
> () escribió:
>
>> Nevermind, I see that I had to git clone the main branch. The single-window 
>> GUI looks great! I really look forward to using this.
>>
>> I still don't see any options for dark mode, though - where do I find this?
>>
>> --
>> Eric
>>
>> ‐‐‐‐‐‐‐ Original Message ‐‐‐
>> On Thursday, January 20th, 2022 at 23:23, Eric Patton via grass-user 
>>  wrote:
>>
>>> Hi All,
>>> I just downloaded 8.0.0.RC2 source code for Linux from 
>>> https://github.com/OSGeo/grass/releases/tag/8.0.0RC2 to try it out today, 
>>> everything compiled and built fine.
>>>
>>> I'm not seeing any single-window GUI or options to enable it; did I install 
>>> the wrong branch?
>>>
>>> --
>>> Eric
>>
>> ___
>> grass-user mailing list
>> grass-user@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/grass-user___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Single GUI window in 8.0.0RC2?

2022-01-20 Thread Eric Patton via grass-user
Nevermind, I see that I had to git clone the main branch. The single-window GUI 
looks great! I really look forward to using this.

I still don't see any options for dark mode, though - where do I find this?

--
Eric

‐‐‐ Original Message ‐‐‐
On Thursday, January 20th, 2022 at 23:23, Eric Patton via grass-user 
 wrote:

> Hi All,
> I just downloaded 8.0.0.RC2 source code for Linux from 
> https://github.com/OSGeo/grass/releases/tag/8.0.0RC2 to try it out today, 
> everything compiled and built fine.
>
> I'm not seeing any single-window GUI or options to enable it; did I install 
> the wrong branch?
>
> --
> Eric___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Single GUI window in 8.0.0RC2?

2022-01-20 Thread Eric Patton via grass-user
Hi All,
I just downloaded 8.0.0.RC2 source code for Linux from 
https://github.com/OSGeo/grass/releases/tag/8.0.0RC2 to try it out today, 
everything compiled and built fine.

I'm not seeing any single-window GUI or options to enable it; did I install the 
wrong branch?

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


Re: [GRASS-user] Raster null values unchanged by r.null

2021-10-29 Thread Eric Patton via grass-user
Hi Vero,

Where you have a properly working system, would you be able to file that bug 
report? I've installed Grass 8.0 and I'm still having the rendering issue of 
null values in the gui.

--
Eric Sent with [ProtonMail](https://protonmail.com/) Secure Email.

‐‐‐ Original Message ‐‐‐
On Friday, October 22nd, 2021 at 08:25, Veronica Andreo  
wrote:

> Hi Eric,
>
> I've tested with GRASS 7.8.5, NC location, setting null values with the GUI, 
> refreshing the map display and all works just fine, values set to null are no 
> longer visible.
>
> What doesn't work for me is removing the null bitmap neither from the GUI nor 
> the terminal (and it does not work in GRASS 7.8.6 nor in 8.0 - this one 
> deserves a bug report).
>
> My system:
> GRASS version: 7.8.5
> Build date: 2021-02-08
> Build platform: x86_64-redhat-linux-gnu
> GDAL: 3.2.1
> PROJ: 7.2.1
> GEOS: 3.9.0
> SQLite: 3.34.1
> Python: 3.9.7
> wxPython: 4.0.7
>
> Vero
>
> El jue, 21 oct 2021 a las 22:00, Eric Patton via grass-user 
> () escribió:
>
>> Hi Ken,
>>
>> This is on a native Grass raster, not through a file linked by r.external. 
>> It seems to be some problem with the rendering/refreshing in the WXGUI.
>>
>> ~ Eric.
>>
>> Sent from ProtonMail for iOS
>>
>> On Wed, Oct 20, 2021 at 6:43 PM, Ken Mankoff  wrote:
>>
>>> I think r.null does not work on external (r.external) files. Make sure this 
>>> is not the issue.
>>>
>>> Please excuse brevity. Sent from tiny pocket computer with non-haptic 
>>> feedback keyboard.
>>>
>>> On Wed, Oct 20, 2021, 07:02 Eric Patton via grass-user 
>>>  wrote:
>>>
>>>> I'm encountering some strange behaviour from r.null - when I use the 
>>>> setnull parameter to assign a particular value to be null in a raster, the 
>>>> raster areas just set to null are still visible and coloured according to 
>>>> their previous values when I refresh the display in the gui map window. 
>>>> Querying these values shows they haven't been set to null.
>>>>
>>>> Using version 7.8.5 on Linux Mint. Can anyone confirm?
>>>>
>>>> --
>>>> Eric
>>>>
>>>> ___
>>>> grass-user mailing list
>>>> grass-user@lists.osgeo.org
>>>> https://lists.osgeo.org/mailman/listinfo/grass-user
>>
>> ___
>> grass-user mailing list
>> grass-user@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/grass-user___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Raster null values unchanged by r.null

2021-10-21 Thread Eric Patton via grass-user
Hi Ken,

This is on a native Grass raster, not through a file linked by r.external. It 
seems to be some problem with the rendering/refreshing in the WXGUI.

~ Eric.

Sent from ProtonMail for iOS

On Wed, Oct 20, 2021 at 6:43 PM, Ken Mankoff  wrote:

> I think r.null does not work on external (r.external) files. Make sure this 
> is not the issue.
>
> Please excuse brevity. Sent from tiny pocket computer with non-haptic 
> feedback keyboard.
>
> On Wed, Oct 20, 2021, 07:02 Eric Patton via grass-user 
>  wrote:
>
>> I'm encountering some strange behaviour from r.null - when I use the setnull 
>> parameter to assign a particular value to be null in a raster, the raster 
>> areas just set to null are still visible and coloured according to their 
>> previous values when I refresh the display in the gui map window. Querying 
>> these values shows they haven't been set to null.
>>
>> Using version 7.8.5 on Linux Mint. Can anyone confirm?
>>
>> --
>> Eric
>>
>> ___
>> grass-user mailing list
>> grass-user@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/grass-user___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Raster null values unchanged by r.null

2021-10-20 Thread Eric Patton via grass-user
Thanks for checking, Micha.

I have had weird behaviour from the wxgui in the last several months. Nothing I 
can pin down exactly. Perhaps a missing dependency?

I'll try Grass 7.8.6 and see if that fixes the issue. I think I installed my 
version 7.8.5 via git, so what would be the safest way to completely uninstall 
it?

--
Eric

Sent with [ProtonMail](https://protonmail.com/) Secure Email.

‐‐‐ Original Message ‐‐‐
On Wednesday, October 20th, 2021 at 12:10, Micha Silver  
wrote:

> Hi
>
> On 10/20/21 4:52 PM, Eric Patton via grass-user wrote:
>
>> I'm encountering some strange behaviour from r.null - when I use the setnull 
>> parameter to assign a particular value to be null in a raster, the raster 
>> areas just set to null are still visible and coloured according to their 
>> previous values when I refresh the display in the gui map window. Querying 
>> these values shows they haven't been set to null.
>>
>> Using version 7.8.5 on Linux Mint. Can anyone confirm?
>
> No problem here, 7.8.5 on Debian. Also checked on grass 8.0.
>
>> --
>> Eric
>>
>> ___
>> grass-user mailing list
>> grass-user@lists.osgeo.org
>>
>> https://lists.osgeo.org/mailman/listinfo/grass-user
>
> --
> Micha Silver
> Ben Gurion Univ.
> Sde Boker, Remote Sensing Lab
> cell: +972-523-665918___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Raster null values unchanged by r.null

2021-10-20 Thread Eric Patton via grass-user
I'm encountering some strange behaviour from r.null - when I use the setnull 
parameter to assign a particular value to be null in a raster, the raster areas 
just set to null are still visible and coloured according to their previous 
values when I refresh the display in the gui map window. Querying these values 
shows they haven't been set to null.

Using version 7.8.5 on Linux Mint. Can anyone confirm?

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


[GRASS-user] Display Monitor redrawing issues

2021-07-02 Thread Eric Patton via grass-user
I'm having a problem with the g.gui Map Display - every time I zoom in or out, 
instead of erasing and repainting the whole window, the previous image is 
superimposed over the new one continually. The more I zoom in or out, the worse 
it gets.

This problem started right around the same time I started experimenting 
changing GRASS_RENDER_IMMEDIATE and GRASS_RENDER_FILE so I could script the 
creation of screenshots of the display monitor.

Now I can't seem to undo the changes, even after commenting out everything 
GRASS_RENDER* in my .grassrc, and even after doing make distclean.

Any help appreciated!

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


[GRASS-user] Multiple Map Display artefacts after zoom changes

2021-06-11 Thread Eric Patton via grass-user
Hi list,

I am running into a Map display issue - I made these changes to my .grassrc 
yesterday:

export GRASS_RENDER_IMMEDIATE=cairo
export GRASS_RENDER_WIDTH=1195
export GRASS_RENDER_HEIGHT=940
export GRASS_RENDER_FILE=display.png

I made these changes to be able to export png files of the current display 
monitor using d.rast on the command line.

However, now whenever I zoom in or out I get the effect where each mouse wheel 
zooom writes smaller and smaller versions of the current display, on top of 
itself, see here:

https://wsi.li/dl/EjcY6dQMuiaGfZsXq/

What am I doing wrong?

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


Re: [GRASS-user] Link to d.mon scripting commads

2021-06-10 Thread Eric Patton via grass-user
Nevermind, I found the commands here:

https://grass.osgeo.org/grass78/manuals/cairodriver.html

Sorry for the noise!

--
Eric Patton

‐‐‐ Original Message ‐‐‐
On Thursday, June 10th, 2021 at 13:49, Eric Patton via grass-user 
 wrote:

> Hi all,
>
> I can't seem to find the link on the Wiki for how to control d.mon wx0 from 
> the command line for generating png exports of the active monitor. Can 
> someone point me in the right place?
>
> Thanks,
>
> --
> Eric Patton___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Link to d.mon scripting commads

2021-06-10 Thread Eric Patton via grass-user
Hi all,

I can't seem to find the link on the Wiki for how to control d.mon wx0 from the 
command line for generating png exports of the active monitor. Can someone 
point me in the right place?

Thanks,

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


Re: [GRASS-user] Error launching GUI in latest verison of trunk

2021-02-08 Thread Eric Patton via grass-user
On 21/02/08 10:34AM, Anna Petrášová wrote:
> Could you create an issue for that? Does this happen with other locations as
> well?

Yes, it happens on all locations. Ticket created here:

https://github.com/OSGeo/grass/issues/1315

-- 
Eric 

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


Re: [GRASS-user] Error launching GUI in latest verison of trunk

2021-02-07 Thread Eric Patton via grass-user
On 21/02/07 10:32PM, Anna Petrášová wrote:
> Before looking more into this, have you tried make distclean?
> 
> Anna

Yes. It also persists with a fresh checkout of grass/master. 

I forgot to mention that just before the GUI crashes, a dialog box pops up that
says "Enable to get the geographic extent. Force quitting wxGUI. Please run
g.region manually to fix the problem."

Runing g.region -p prints the following:

g.region -p
projection: 99 (unnamed)
zone:   0
datum:  wgs84
ellipsoid:  wgs84
north:  -383300
south:  -918400
west:   -951200
east:   764600
nsres:  100
ewres:  100
rows:   5351
cols:   17158
cells:  91812458
free(): invalid pointer
Aborted (core dumped)


$ g.version -er
GRASS 7.9.dev (2021)
libgis revision: 2021-02-08T04:01:23+00:00
libgis date: 2021-02-07T12:00:00-04:00
PROJ: 7.0.1
GDAL/OGR: 3.2.1
GEOS: 3.9.0
SQLite: 3.31.1

$ wx-config --version
3.04

-- 
Eric

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


[GRASS-user] Error launching GUI in latest verison of trunk

2021-02-07 Thread Eric Patton via grass-user
Hi,

I forget if these kind of errors should go to the dev list or the user's list, 
it's been so long since I've been on dev.

Anyway, I get the following error launching the GUI after updating my git repo 
to Feb. 7th:

Details: 
gscript.use_temp_region()
File "/usr/local/grass79/etc/python/grass/script/core.py", line 1285, in 
use_temp_region
run_command("g.region", flags="u", save=name, overwrite=True)
File "/usr/local/grass79/etc/python/grass/script/core.py", line 501, in 
run_command
return handle_errors(returncode, result=None, args=args, kwargs=kwargs)
File "/usr/local/grass79/etc/python/grass/script/core.py", line 393, in 
handle_errors
raise CalledModuleError(module=module, code=code,
grass.exceptions.CalledModuleError: Module run g.region g.region --o -u 
save=tmp.r.mblend.265507 ended with error
Process ended with non-zero return code -6. See errors in the (error) output.

This is Grass 7.9 on Linux Mint 20.1.

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


Re: [GRASS-user] Raster gaussian filter

2021-01-27 Thread Eric Patton via grass-user
Great, thanks Markus! I’ll give it a try.

~ E.

On Wed, Jan 27, 2021 at 11:10 AM, Markus Metz  
wrote:

> A spatial Gauss filter is available in r.resamp.filter. I use it regularly 
> for smoothing and interpolation.
>
> HTH,
>
> Markus M
>
> On Wed, Jan 27, 2021 at 4:03 PM Eric Patton via grass-user 
>  wrote:
>>
>> Hi all,
>>
>> I was wondering if there was any tool in grass that does a Gaussian blur of 
>> a raster data set. I am trying to smooth out and blur survey-related 
>> artefacts in a swath multibeam dataset. I seem to remember in Grass 6.x 
>> there was r.gauss, but I don’t see it anymore in Grass 7.8.x.
>>
>> Thanks,
>>
>> ~ Eric.
>>
>> ___
>> grass-user mailing list
>> grass-user@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/grass-user___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Raster gaussian filter

2021-01-27 Thread Eric Patton via grass-user
Hi all,

I was wondering if there was any tool in grass that does a Gaussian blur of a 
raster data set. I am trying to smooth out and blur survey-related artefacts in 
a swath multibeam dataset. I seem to remember in Grass 6.x there was r.gauss, 
but I don’t see it anymore in Grass 7.8.x.

Thanks,

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