Re: [GRASS-user] Land cover change and forecasting

2016-12-07 Thread Micha Silver

Thanks to all for the quick responses.

-- Original Message -- Subject: Re: [GRASS-user] Land cover 
change and forecasting Date: Wed, 7 Dec 2016 16:20:25 +0100 To: Grass 
User List From: Paulo Van Breugel



On 07-12-16 15:45, Anna Petrášová wrote:

On Wed, Dec 7, 2016 at 9:40 AM, Moritz Lennert
 wrote:

On 07/12/16 15:21, Micha Silver wrote:

I am looking for a FOSS GIS alternative to the IDRISI "Land Change
Modeler". The LCM both analyses change between two input land cover
classification maps, and forecasts land cover for a chosen future time
with various simulation models.
The GRASS addon r.change.info seems to have many options for
investigating land cover change between some input categorical 
rasters,

but I can't find any module or addon for predicting land cover at a
future time.

Are there some modules or addons that I have missed? Any other FOSS
image analysis software I should be looking at?


Have you had a look at the r.futures suite:

The r.futures addon, as Anna mentioned, seems to be specifically fitted 
to the case of urban expansion. Our research focuses on protected areas, 
and forecasting land cover under stress of climate change.



https://grass.osgeo.org/grass70/manuals/addons/r.futures.html
Yes, this one projects urban growth, so 2 classes. Then, there is an 
R package:

https://cran.r-project.org/web/packages/lulcc/lulcc.pdf

Anna



Good idea, I'll have a look. Thanks


Also have a look at the r.randomforest addon for GRASS GIS
Can I ask for some guidance how randomforests could help here? Do you 
refer to the regression mode of RF?






?

Moritz
___


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

Re: [GRASS-user] GRASS for Mac 64bit, wxPython 3, maybe fix for SIP problem - please test

2016-12-07 Thread Michael Barton
This works if you are compiling it yourself. But I am providing installable 
binaries for people who do not want to compile or are unable to do so. AFAIK, 
Homebrew does not do this.

Michael

C. Michael Barton
Director, Center for Social Dynamics & Complexity 
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu















> On Dec 7, 2016, at 8:59 AM, Rainer M Krug  wrote:
> 
> Adam Dershowitz  writes:
> 
>> Michael,
>> 
>> Was there ever a solution found to running GRASS on the Mac (10.11 or now 
>> 10.12) without disabling SIP? 
> 
> I was using the homebrew way of installing it and it worked with enabled
> SIP.
> 
> No idea about the native way.
> 
> Cheers,
> 
> Rainer
> 
> 
>> 
>> Thanks,
>> 
>> -- Adam
>> 
>> From: grass-user  on behalf of Michael 
>> Barton 
>> Date: Wednesday, June 1, 2016 at 7:50 PM
>> To: GRASS developers list , grass-user grass-user 
>> 
>> Subject: [GRASS-user] GRASS for Mac 64bit, wxPython 3, maybe fix for SIP 
>> problem - please test
>> 
>> I just posted a new binary for GRASS 7.3 built fully 64 bit, with wxPython 
>> 3.0.2.0 to the GRASS for Mac site (http://grassmac.wikidot.com) 
>> 
>> It turns out the previous "64bit" GRASS binary still ran 32bit Python. I had 
>> to hack the python_wrapper.py file, but this one is fully 64bit AFAICT. I 
>> also tried
>> some hacks that might be a way to solve the inability to run GRASS on El 
>> Capitan with SIP enabled. There are a couple of known bugs in the wxPython 
>> 3.x
>> GUI
>> 
>> 1. The most serious is switching to 3D mode and back to 2D mode leaves one 
>> of the map display menu buttons corrupted. It seems the only thing you can
>> do is to close the map display and open a new one. 
>> 
>> 2. There are also some popup lists (e.g., for switching mapsets) that do not 
>> behave as they should. You cannot select an item with a mouse (but you can
>> select with arrow keys and ) unless you hit  to destroy part 
>> of the control. Then you can use the mouse to click something. 
>> 
>> Please let us know if you encounter any other bug or strange behavior. 
>> 
>> Also, and importantly if anyone is running El Capitan, it would be great if 
>> you could reenable SIP (if you've turned it off) and see if this version 
>> runs. Of
>> course, maybe I've "fixed" it so that it only runs on my system and crashes 
>> on everyone else's. 
>> 
>> Enjoy!
>> 
>> Michael
>> 
>> 
>> 
>> C. Michael Barton
>> 
>> Director, Center for Social Dynamics & Complexity 
>> 
>> Professor of Anthropology, School of Human Evolution & Social Change
>> 
>> Head, Graduate Faculty in Complex Adaptive Systems Science
>> 
>> Arizona State University
>> 
>> voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
>> fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
>> 
>> www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
>> 
>> 
>> ___
>> grass-user mailing list
>> grass-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
>> 
> 
> -- 
> Rainer M. Krug
> email: Rainerkrugsde
> PGP: 0x0F52F982

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

Re: [GRASS-user] GRASS for Mac 64bit, wxPython 3, maybe fix for SIP problem - please test

2016-12-07 Thread Michael Barton
Not yet. Working with a programmer here I think there is a way to do it, but I 
will need help to implement it.

Our idea is to:

1) switch to the new (current) Apple binary install protocol. The one we use is 
deprecated.
2) compile all dependencies outside of /usr/... and in locales not affected by 
SIP
3) package ALL dependencies (including frameworks) in a single installation 
package

If nothing else, it will make installation easier and more reliable with 
respect to dependencies.

#2 would be helped considerably if we could solve the few remaining issues with 
wxPython 3 and switch all to 64 bit.

In the midst of the academic year, I don't have time to do a lot of trial and 
error compiling, but can squeeze in time to test alternative methods.

Michael

C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu















On Dec 7, 2016, at 7:26 AM, Adam Dershowitz 
> wrote:

Michael,

Was there ever a solution found to running GRASS on the Mac (10.11 or now 
10.12) without disabling SIP?

Thanks,


-- Adam


From: grass-user 
> 
on behalf of Michael Barton 
>
Date: Wednesday, June 1, 2016 at 7:50 PM
To: GRASS developers list 
>, grass-user 
grass-user >
Subject: [GRASS-user] GRASS for Mac 64bit, wxPython 3, maybe fix for SIP 
problem - please test

I just posted a new binary for GRASS 7.3 built fully 64 bit, with wxPython 
3.0.2.0 to the GRASS for Mac site 
(http://grassmac.wikidot.com)

It turns out the previous "64bit" GRASS binary still ran 32bit Python. I had to 
hack the python_wrapper.py file, but this one is fully 64bit AFAICT. I also 
tried some hacks that might be a way to solve the inability to run GRASS on El 
Capitan with SIP enabled. There are a couple of known bugs in the wxPython 3.x 
GUI

1. The most serious is switching to 3D mode and back to 2D mode leaves one of 
the map display menu buttons corrupted. It seems the only thing you can do is 
to close the map display and open a new one.

2. There are also some popup lists (e.g., for switching mapsets) that do not 
behave as they should. You cannot select an item with a mouse (but you can 
select with arrow keys and ) unless you hit  to destroy part of 
the control. Then you can use the mouse to click something.

Please let us know if you encounter any other bug or strange behavior.

Also,  and importantly if anyone is running El Capitan, it would be great if 
you could reenable SIP (if you've turned it off) and see if this version runs.  
Of course, maybe I've "fixed" it so that it only runs on my system and crashes 
on everyone else's.

Enjoy!
Michael

C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: 
http://www.public.asu.edu/~cmbarton,
 
http://csdc.asu.edu
















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

Re: [GRASS-user] GRASS for Mac 64bit, wxPython 3, maybe fix for SIP problem - please test

2016-12-07 Thread Rainer M Krug
Adam Dershowitz  writes:

> Michael,
>
> Was there ever a solution found to running GRASS on the Mac (10.11 or now 
> 10.12) without disabling SIP? 

I was using the homebrew way of installing it and it worked with enabled
SIP.

No idea about the native way.

Cheers,

Rainer


>
> Thanks,
>
> -- Adam
>
> From: grass-user  on behalf of Michael 
> Barton 
> Date: Wednesday, June 1, 2016 at 7:50 PM
> To: GRASS developers list , grass-user grass-user 
> 
> Subject: [GRASS-user] GRASS for Mac 64bit, wxPython 3, maybe fix for SIP 
> problem - please test
>
> I just posted a new binary for GRASS 7.3 built fully 64 bit, with wxPython 
> 3.0.2.0 to the GRASS for Mac site (http://grassmac.wikidot.com) 
>
> It turns out the previous "64bit" GRASS binary still ran 32bit Python. I had 
> to hack the python_wrapper.py file, but this one is fully 64bit AFAICT. I 
> also tried
> some hacks that might be a way to solve the inability to run GRASS on El 
> Capitan with SIP enabled. There are a couple of known bugs in the wxPython 3.x
> GUI
>
> 1. The most serious is switching to 3D mode and back to 2D mode leaves one of 
> the map display menu buttons corrupted. It seems the only thing you can
> do is to close the map display and open a new one. 
>
> 2. There are also some popup lists (e.g., for switching mapsets) that do not 
> behave as they should. You cannot select an item with a mouse (but you can
> select with arrow keys and ) unless you hit  to destroy part 
> of the control. Then you can use the mouse to click something. 
>
> Please let us know if you encounter any other bug or strange behavior. 
>
> Also, and importantly if anyone is running El Capitan, it would be great if 
> you could reenable SIP (if you've turned it off) and see if this version 
> runs. Of
> course, maybe I've "fixed" it so that it only runs on my system and crashes 
> on everyone else's. 
>
> Enjoy!
>
> Michael
>
> 
>
> C. Michael Barton
>
> Director, Center for Social Dynamics & Complexity 
>
> Professor of Anthropology, School of Human Evolution & Social Change
>
> Head, Graduate Faculty in Complex Adaptive Systems Science
>
> Arizona State University
>
> voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
> fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
>
> www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
>
>
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>

-- 
Rainer M. Krug
email: Rainerkrugsde
PGP: 0x0F52F982


signature.asc
Description: PGP signature
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Land cover change and forecasting

2016-12-07 Thread Paulo van Breugel



On 07-12-16 15:45, Anna Petrášová wrote:

On Wed, Dec 7, 2016 at 9:40 AM, Moritz Lennert
 wrote:

On 07/12/16 15:21, Micha Silver wrote:

I am looking for a FOSS GIS alternative to the IDRISI "Land Change
Modeler". The LCM both analyses change between two input land cover
classification maps, and forecasts land cover for a chosen future time
with various simulation models.
The GRASS addon r.change.info seems to have many options for
investigating land cover change between some input categorical rasters,
but I can't find any module or addon for predicting land cover at a
future time.

Are there some modules or addons that I have missed? Any other FOSS
image analysis software I should be looking at?


Have you had a look at the r.futures suite:

https://grass.osgeo.org/grass70/manuals/addons/r.futures.html

Yes, this one projects urban growth, so 2 classes. Then, there is an R package:
https://cran.r-project.org/web/packages/lulcc/lulcc.pdf

Anna


Also have a look at the r.randomforest addon for GRASS GIS



?

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

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


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

Re: [GRASS-user] Land cover change and forecasting

2016-12-07 Thread Anna Petrášová
On Wed, Dec 7, 2016 at 9:40 AM, Moritz Lennert
 wrote:
> On 07/12/16 15:21, Micha Silver wrote:
>>
>> I am looking for a FOSS GIS alternative to the IDRISI "Land Change
>> Modeler". The LCM both analyses change between two input land cover
>> classification maps, and forecasts land cover for a chosen future time
>> with various simulation models.
>> The GRASS addon r.change.info seems to have many options for
>> investigating land cover change between some input categorical rasters,
>> but I can't find any module or addon for predicting land cover at a
>> future time.
>>
>> Are there some modules or addons that I have missed? Any other FOSS
>> image analysis software I should be looking at?
>
>
> Have you had a look at the r.futures suite:
>
> https://grass.osgeo.org/grass70/manuals/addons/r.futures.html

Yes, this one projects urban growth, so 2 classes. Then, there is an R package:
https://cran.r-project.org/web/packages/lulcc/lulcc.pdf

Anna

>
> ?
>
> Moritz
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS for Mac 64bit, wxPython 3, maybe fix for SIP problem - please test

2016-12-07 Thread Adam Dershowitz
Michael,

Was there ever a solution found to running GRASS on the Mac (10.11 or now 
10.12) without disabling SIP?

Thanks,


-- Adam


From: grass-user  on behalf of Michael 
Barton 
Date: Wednesday, June 1, 2016 at 7:50 PM
To: GRASS developers list , grass-user grass-user 

Subject: [GRASS-user] GRASS for Mac 64bit, wxPython 3, maybe fix for SIP 
problem - please test

I just posted a new binary for GRASS 7.3 built fully 64 bit, with wxPython 
3.0.2.0 to the GRASS for Mac site 
(http://grassmac.wikidot.com)

It turns out the previous "64bit" GRASS binary still ran 32bit Python. I had to 
hack the python_wrapper.py file, but this one is fully 64bit AFAICT. I also 
tried some hacks that might be a way to solve the inability to run GRASS on El 
Capitan with SIP enabled. There are a couple of known bugs in the wxPython 3.x 
GUI

1. The most serious is switching to 3D mode and back to 2D mode leaves one of 
the map display menu buttons corrupted. It seems the only thing you can do is 
to close the map display and open a new one.

2. There are also some popup lists (e.g., for switching mapsets) that do not 
behave as they should. You cannot select an item with a mouse (but you can 
select with arrow keys and ) unless you hit  to destroy part of 
the control. Then you can use the mouse to click something.

Please let us know if you encounter any other bug or strange behavior.

Also,  and importantly if anyone is running El Capitan, it would be great if 
you could reenable SIP (if you've turned it off) and see if this version runs.  
Of course, maybe I've "fixed" it so that it only runs on my system and crashes 
on everyone else's.

Enjoy!
Michael

C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: 
http://www.public.asu.edu/~cmbarton,
 
http://csdc.asu.edu















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

[GRASS-user] Land cover change and forecasting

2016-12-07 Thread Micha Silver
I am looking for a FOSS GIS alternative to the IDRISI "Land Change 
Modeler". The LCM both analyses change between two input land cover 
classification maps, and forecasts land cover for a chosen future time 
with various simulation models.
The GRASS addon r.change.info seems to have many options for 
investigating land cover change between some input categorical rasters, 
but I can't find any module or addon for predicting land cover at a 
future time.


Are there some modules or addons that I have missed? Any other FOSS 
image analysis software I should be looking at?


Thanks,
Micha
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] WinGRASS not recognizing accented utf-8 (nor cp1252) attribute values

2016-12-07 Thread Helmut Kudrnovsky
Martin Landa wrote
> Hi,
> 
> 2016-12-05 22:12 GMT+01:00 Salim Al Razzaz 

> salim.razzaz@

> :
>> dbf file into utf-8 and sat it as the value of the variable, to no avail.
>> I also
>> tried using the 'encoding' parameter in v.in.ogr in both cases, didn't
>> work.
> 
> strange, it should help. Can you share with us a sample? Ma
> 
> -- 
> Martin Landa
> http://geo.fsv.cvut.cz/gwiki/Landa
> http://gismentors.cz/mentors/landa
> ___
> grass-user mailing list

> grass-user@.osgeo

> http://lists.osgeo.org/mailman/listinfo/grass-user

I've added some test data here:

https://trac.osgeo.org/grass/ticket/3220



-
best regards
Helmut
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/WinGRASS-not-recognizing-accented-utf-8-nor-cp1252-attribute-values-tp5298708p5299059.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] WinGRASS not recognizing accented utf-8 (nor cp1252) attribute values

2016-12-07 Thread Martin Landa
Hi,

2016-12-05 22:12 GMT+01:00 Salim Al Razzaz :
> dbf file into utf-8 and sat it as the value of the variable, to no avail. I 
> also
> tried using the 'encoding' parameter in v.in.ogr in both cases, didn't work.

strange, it should help. Can you share with us a sample? Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] WinGRASS not recognizing accented utf-8 (nor cp1252) attribute values

2016-12-07 Thread Helmut Kudrnovsky
Salim Razzaz wrote
> Hi,
> 
> I've got shape files with Swedish accented letters (ÄÖÅ) in the some of
> the attribute
> values. The Attributes are shwon as they should in the GUI. SQL
> statements, however,
> are not recognizing them. They're also messed up in the command output if
> another
> (not accented) values are queried.
> 
> I sat GRASS_DB_ENCODING to cp1252 firstly and it didn't work. Then I
> converted the
> dbf file into utf-8 and sat it as the value of the variable, to no avail.
> I also
> tried using the 'encoding' parameter in v.in.ogr in both cases, didn't
> work.
> 
> I tried it on windows 8.1 and windows 10. The same is happening in both,
> stable GRASS
> 7.0.5 and GRASS 7.2.0RC1.
> 
> The problem is only happening on Windows. Fedora and Mac OsX don't have
> this issue
> with the same shape files.
> 
> Any suggestion?

for the record, just opened a ticket for this:

https://trac.osgeo.org/grass/ticket/3220

please add further information here if needed.



-
best regards
Helmut
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/WinGRASS-not-recognizing-accented-utf-8-nor-cp1252-attribute-values-tp5298708p5299027.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] wxNviz: decorations do not have any explanatory text and need 2D raster

2016-12-07 Thread Moritz Lennert

Hi,

Trying to add some decorations (scalebar and North arrow) to 3D 
visualisations, I noticed the following:


- Without a 2D raster map, no decorations appear. You have to display a 
2D raster map, add decorations and then, if you do not want to visualize 
the 2D raster (e.g. because you just want to see a series of slices in a 
3D raster you can uncheck the 2D raster in the Layers tab. Why the need 
for a 2D raster ? Are the two decorations defined based on that raster ?


- Both decorations are without any annotation (no text indicating the 
length of the scale bar, no N on the arrow). Is this me missing 
something, or is this the way they work ?


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

Re: [GRASS-user] GRASS 7.2 install and Peals.A!cl

2016-12-07 Thread Moritz Lennert

On 06/12/16 23:42, Martin Landa wrote:

Hi,

2016-12-06 23:28 GMT+01:00 john polo :

I downloaded GRASS 7.2 and installed. The download came from this link:
https://grass.osgeo.org/news/65/15/GRASS-GIS-7-2-0RC2-released/

As GRASS was installing, Microsoft Security Essentials said that it detected
a trojan called Peals.A!cl. This trojan was found in GRASS GIS
7.2.0RC2\bin\v.in.dxf.exe, ...\v.net.iso.exe, and ... \v.out.dxf.exe. Can


ah, these Windows. I tested binaries on build server with Esset
Endpoint Antivirus and nothing is found. So I hope it's mistake of
MSE...


anyone confirm if this is a legitimate threat or was M.S.E. just acting
buggy? Is there an MD5 or something to check the file?



On [1] I see:

"NOTE: On December 6, 2016, an incorrect detection for our cloud-based 
protection for Trojan:Win32/Peals.A!cl was identified and immediately 
fixed. To ensure that this issue is remediated, you can do a forced 
daily update to download your Microsoft antimalware and antispyware 
software. For details, see Updating your Microsoft antimalware and 
antispyware software."


John, could you try to update and then check again ?

Moritz

[1] 
https://www.microsoft.com/security/portal/threat/encyclopedia/entry.aspx?Name=Trojan%3AWin32%2FPeals.A!plock=-2147276824



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