wengngai / NSSF_IBMs

Spatially explicit individual based models of tree species in the Nee Soon Freshwater Swamp Forest (NSSF) catchment in Singapore
1 stars 0 forks source link

Warnings with new setup_map_four_spp.R #15

Closed hrlai closed 3 years ago

hrlai commented 3 years ago

I am getting these warnings. Can be safely ignored?

> source("code/setup_map_four spp.R")
OGR data source with driver: ESRI Shapefile 
Source: "/home/hrlai/Documents/collaboration/NSSF_IBMs/data/NSSF2_Catchment.shp", layer: "NSSF2_Catchment"
with 1 features
It has 3 fields
Integer64 fields read as strings:  Catchment 
There were 17 warnings (use warnings() to see them)
> warnings()
Warning messages:
1: In proj4string(obj) : CRS object has comment, which is lost in output
2: In proj4string(obj) : CRS object has comment, which is lost in output
3: In proj4string(obj) : CRS object has comment, which is lost in output
4: In proj4string(obj) : CRS object has comment, which is lost in output
5: In proj4string(obj) : CRS object has comment, which is lost in output
6: In proj4string(obj) : CRS object has comment, which is lost in output
7: In proj4string(obj) : CRS object has comment, which is lost in output
8: In proj4string(obj) : CRS object has comment, which is lost in output
9: In proj4string(obj) : CRS object has comment, which is lost in output
10: In proj4string(obj) : CRS object has comment, which is lost in output
11: In proj4string(obj) : CRS object has comment, which is lost in output
12: In proj4string(obj) : CRS object has comment, which is lost in output
13: In proj4string(obj) : CRS object has comment, which is lost in output
14: In proj4string(obj) : CRS object has comment, which is lost in output
15: In proj4string(obj) : CRS object has comment, which is lost in output
16: In proj4string(obj) : CRS object has comment, which is lost in output
17: In proj4string(obj) : CRS object has comment, which is lost in output
wengngai commented 3 years ago

So sorry I didn't know how to remove that warning but I'm quite sure they can be ignored for our purposes. https://gis.stackexchange.com/questions/364667/r-4-0-1-not-sure-i-understand-this-message-warning-message-in-proj4stringx this thread may be of interest. But I can't fully understand it or determine what we should do in light of it.

hrlai commented 3 years ago

seems harmless so close for now