-
Notifications
You must be signed in to change notification settings - Fork 384
Why can't I set data_crs using ccrs.CRS(), how can I do it if I already know the coordinate system of the data. #2510
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
Comments
Does it work if you use a
|
@greglucas The former answer may not work,but the latter one does work in utm projection.However, it does nor work for epsg=4326.
The latter one:
Well,for utm it does work However,when I use cn_dem which epsg is 4326, it causes errors. There seems to be a need for a generalized approach to this problem |
Does this page provide any help for moving between the CRS'? I agree that this would be good to add some examples and better interoperability between all of the various packages. xref previous discussions: #923 |
But using proj4 does work for both conditions,but I get a FutureWarning:
I don't know if I'll be able to use it after the version update |
I want to use the data under the utm projection but using the latitude/longitude scale, and for that I wrote the function to visualize the dem. But it seems to work only for data with EPSG=4326 and not the utm projection (EPSG=3857).How can I figure it out?
The function is below:
It works properly under the following conditions:
But when I use data under utm projection, it causes errors.
The text was updated successfully, but these errors were encountered: