Re: [R-sig-Geo] Strange spatial reference system netCDF [stars and sf functions not working now]

2020-02-19 Thread Maurizio Marchi
I’m sorry for being the smoking gun but looking at the issue climatological 
data seems to be difficult to be handled in R...
Yes the issue is connected to the GDAL version. I can’t remember exactly but 
I’m sure it wasn’t the versions I have now and posted before...
I did a trick using proj4 package and some handmade stuff but not really GIS ;) 
However my code was not working on other systems so I’m far away from a real 
solution...
But the main question is Why RCM are delivered in this awful CRS!? 
All my bests 

-- 
Maurizio Marchi,
PhD Forest Science - Ecological Mathematics 
Researcher
CNR - Institute of Biosciences and BioResources (IBBR), Florence division 
(Italy)
SkypeID: maurizioxyz
http://www.ibbr.cnr.it/ibbr/info/people/maurizio-marchi
#--#
Annals of Silvicultural Research Associated Editor
EUFGIS National Focal Point for Italy (www.eufgis.org)
Scopus Author ID: 57188626512
ResearcherID: T-3813-2019
http://b4est.eu/ project
[[alternative HTML version deleted]]

___
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo


Re: [R-sig-Geo] using the same legend for different scenarios in sf plots

2020-02-19 Thread Paulo Flores Ribeiro
Thanks, Edzer. I used «breaks = seq (from = 0, to = 0.4, by = 0.01)» and 
it works beautifully!
Best regards,
PauloFR

Às 14:10 de 19-02-2020, Edzer Pebesma escreveu:
> With the breaks argument you can specify the numbers at which colors break.
>
> On 2/19/20 3:05 PM, Paulo Flores Ribeiro wrote:
>> Hello,
>> I want to compare the spatial distribution of a variable in 7 different
>> scenarios by running the same plot code successively 7 times (within sf
>> package), each time changing the values of the variable for each
>> scenario. In each run, I copy-paste the map into a word document. In the
>> end, I want to visually compare the 7 maps, but for that I need the
>> scale range of the legend values to be the same on the seven maps
>> (including the colour ramp).
>> How to force the scale interval (and the corresponding colour ramp) to
>> be the same on the seven maps, within the sf package?
>> Thanks,
>> PauloFR
>>
>>
>>  [[alternative HTML version deleted]]
>>
>> ___
>> R-sig-Geo mailing list
>> R-sig-Geo@r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>
>
> ___
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo

[[alternative HTML version deleted]]

___
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo


Re: [R-sig-Geo] using the same legend for different scenarios in sf plots

2020-02-19 Thread Edzer Pebesma
With the breaks argument you can specify the numbers at which colors break.

On 2/19/20 3:05 PM, Paulo Flores Ribeiro wrote:
> Hello,
> I want to compare the spatial distribution of a variable in 7 different 
> scenarios by running the same plot code successively 7 times (within sf 
> package), each time changing the values of the variable for each 
> scenario. In each run, I copy-paste the map into a word document. In the 
> end, I want to visually compare the 7 maps, but for that I need the 
> scale range of the legend values to be the same on the seven maps 
> (including the colour ramp).
> How to force the scale interval (and the corresponding colour ramp) to 
> be the same on the seven maps, within the sf package?
> Thanks,
> PauloFR
> 
> 
>   [[alternative HTML version deleted]]
> 
> ___
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> 

-- 
Edzer Pebesma
Institute for Geoinformatics
Heisenbergstrasse 2, 48149 Muenster, Germany
Phone: +49 251 8333081


pEpkey.asc
Description: application/pgp-keys
___
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo


[R-sig-Geo] using the same legend for different scenarios in sf plots

2020-02-19 Thread Paulo Flores Ribeiro
Hello,
I want to compare the spatial distribution of a variable in 7 different 
scenarios by running the same plot code successively 7 times (within sf 
package), each time changing the values of the variable for each 
scenario. In each run, I copy-paste the map into a word document. In the 
end, I want to visually compare the 7 maps, but for that I need the 
scale range of the legend values to be the same on the seven maps 
(including the colour ramp).
How to force the scale interval (and the corresponding colour ramp) to 
be the same on the seven maps, within the sf package?
Thanks,
PauloFR


[[alternative HTML version deleted]]

___
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo


[R-sig-Geo] Spatilal Network Hackathon

2020-02-19 Thread Robin Lovelace
Dear all,

We are happy to invite you to join a hackathon on spatial networks on the*
27th of May at the University of Milan - Bicocca from 9AM to 5PM. *The
hackathon is an official satellite event of the European R Users Meeting
(ERUM)  conference, that will be organized in Milan
from 27th to 30th of May. The hackathon will be focussed on developing and
testing of the new R package for spatial networks: sfnetworks.

Anyone with an interest in spatial networks and open source software is
invited, especially if you have experience with real world spatial network
data that could be used in documentation or experience developing software
for working with spatial or graph datasets (particularly R packages).

The event is free and you can get a ticket at the following link:
https://www.eventbrite.co.uk/e/erum2020-satellite-event-hackathon-on-spatial-networks-tickets-90976873277
You can read a more detailed description of the event at the following
link: https://2020.erum.io/program/hackathon/

*Summary*:

   - *What*: A hackathon on spatial networks where we will present our new
   R package and discuss with the participants the problems they face working
   with spatial networks.
   - *Who*: Everyone working on or interested in spatial networks can join
   the hackathon. The only minimal requirement is a basic knowledge of sf
   and igraph packages. We will provide a few vignettes explaining how our
   package works, so you don't need to be an expert in the field.
   - *When*: 27th of May, from 9AM to 5PM
   - *Where*: University of Milan - Bicocca, the same building of the
   ERUM2020 conference. We will specify the venue of the event as soon as
   possible. You can also find more information on how to reach the venue
   here .

Best wishes, Lorena Abad, Andrea Gilardi, Robin Lovelace, Lucan van der
Meer.

[[alternative HTML version deleted]]

___
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo