walkerke / crsuggest

Get appropriate CRS suggestions for your spatial data in R
Other
128 stars 7 forks source link

Look at WhatTheProj for potential new feature #2

Closed walkerke closed 3 years ago

walkerke commented 4 years ago

I noticed on Twitter today the WhatTheProj project (https://github.com/stevage/WhatTheProj) that helps you determine the projected coordinate system of your data in the absence of CRS information. Right now {crsuggest} can't handle this type of information (e.g. a shapefile without a .prj file, or a CSV file of projected coordinates).

This would be a useful feature to add to the package. A function (e.g. suggest_missing_crs()) could use a dataset without CRS information, require an argument of a long/lat coordinate in geographic coordinates that is known to be in the dataset's area, then infer the CRS by matching with the EPSG dataset.

walkerke commented 3 years ago

Implemented in the guess_crs() function.