5

I have a situation where planning is done on a "base map" consisting of rivers, contours, roads etc. There is a need to create a "overlay(s)" over the "base map" consisting of drawings, that could be point(s), line(s) or polygon(s) on one overlay.

Is it possible to create point, line and polygon features on one QGis layer/overlay?

I have looked at the vector overlay, with a memory data provider, but it looked like you can create an instance of the memory data provider for one type of feature only.

3 Answers 3

8

It's not possible to mix geometry types in layers. You will need to add separate layers.

Also, I'd recommend splitting the layers by topic, e.g. one layer with buildings, one with general zoning info. Don't just throw everything into one layer, otherwise you will have a mess to clean up later. Also styling is going to be easier with more layers.

As @Willy commented, you could have different projects for different scenarios. Look into the "embed layers and groups" functionality in layers menu to keep the background layers synced between scenario projects.

0
3

You can use groups in order to turn a set of layers on and off together. Just CTRL+click the layers you want in a group, right click one of them and select "Group". The layers will remain separate entities but you can turn them all on or off at once rather than manually finding the layers you need for a given scenario.

0

Perhaps it might be more convenient to export your "base map" to a high-resolution image and then georeference this. Then you could plot your overlays on the image.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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