-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert input data CRS to config's input_crs
only if there is no CRS in input data
#26
Comments
I was thinking about this @julietcohen... Do you think there will ever be a scenario where we would want to correct an existing CRS in a dataset? |
@robyngit That's a good idea, it does seem likely that one day we will receive data with incorrect CRS information. I have not encountered this before, but maybe instead of including another option like |
Seems like the output of both |
To clarify: In the current code, here are the 4 possible scenarios and their outcome:
So considering options 1 and 3, if |
In the config, there is an option to set
input_crs
(see here) which was intended to be used when the input data lacks CRS information, which was the case with some early ice wedge polygon data. However, the wayset_crs()
is currently configured here inTileStager.py
, the CRS of input data is set to theinput_crs
if the value in this in the config is not None. To be clear, the way the operation is set at the moment, the data is not transformed. See the documentation for geopandasset_crs()
here.We need the data to only be set to the value of
input_crs
when it is not None and the input data does not already have CRS info.The text was updated successfully, but these errors were encountered: