I want to warp a vector layer (set of polygons, but not a raster map) to fit a map. The problem is, the vector layer coordinates are from 0 to 360 and the basemap layer coordinates are from -180 to 180

My initial status

So I tried subtracting -360 from polygon coordinates, but polygons are broken (maybe because of meridian)

My problem

Eventually what I want is this picture, (just for description, I duplicated the layer). Can somebody help please?

The polygon file is GeoJSON.

This is what I want to make

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.