2

I'm dealing with the gridded shpefile with different color in each pixel. The gridded figure looks like this:

enter image description here

I want to transform the pcolormesh plot into contour plot. I have tried the contour plugin which can generate contours of set of data points.

But the shapefile which I have uploaded here can not be imported into the contour plugin as a vector layer.

It seems that the original shapefile need to be pre-processed.

2

I think you can create a Centroids layer first.

In this example I used Polygon centroids tool in Processing Toolbox | SAGA | Vector polygon tools. (Type "centroid" in the search window to find it).

enter image description here

And use Centroids as input to the Contour plugin.

enter image description here

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.