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
geotiff wrapX does not work under 4326 #15719
Comments
e.g. to wrap the example https://openlayers.org/en/latest/examples/cog-stretch.html use
|
I want the map to be visible as well, the layers to be visible, and wrapX to be available, under 4326 |
But there is a problem. If the projection is set to 4326A, the map base map will not be displayed. I hope the map will also be visible. |
If changing the view projection causes problems with other layers you could set 4326A as the projection in the GeoTIFF options instead https://codesandbox.io/s/cog-stretch-forked-jg2vf9 |
What exactly is 4326A? Is there any documentation I can check? If it is a coordinate system, are there corresponding parameters? |
There is nothing special about it. All projections must have a unique code and if no transforms are defined an identity transform will be used for the reprojection. |
This should be a separate issue. It happens with some reprojections where the edges can be clipped when using the canvas renderer, as in https://gis.stackexchange.com/a/364509/102658 and https://gis.stackexchange.com/a/432538/102658 I do not know if direct clipping would be possible with WebGL. Instead you could try adding an opaque canvas layer over the WebGL layer and clip that to create a spy hole, or you could use the WebGL layer as the source for an |
I loaded a geotiff file and set wrapX to true. If the map projection is 3857, there is no problem and it can be displayed repeatedly. However, if it is set to 4326, it will not work. Cannot be displayed repeatedly
The text was updated successfully, but these errors were encountered: