walkerke/crsuggest

Look at WhatTheProj for potential new feature

walkerke opened this issue · 1 comments

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.

Implemented in the guess_crs() function.