Mobile app version of vmapp.org
Login or Join
Sarah814

: Inkscape: can I use a path to select all objects in it? I'm working on a high-res world map that eventually will look like the mock-up below, thereby using a multi-layered map that I bought.

@Sarah814

Posted in: #Inkscape

I'm working on a high-res world map that eventually will look like the mock-up below, thereby using a multi-layered map that I bought. As you can see I'm working with a double colour palette for the time zones: blue colours for the water, and grey colours for the land.



The problem is in creating the grey areas on the land using the over-all time-zone areas. Unfortunately, the base map does not differentiate for the various time zones for the land areas: all land is the same colour.

This image shows how I have made a layer with the TZ zones in grey. The TZ layer is complete/continuous and laying underneath the land layer



So now I have to somehow combine the grey-coloured TZ zones with the black-coloured land. And that is where I'm stuck now.

The layer with the TZ zones consists of (one group of) 50 objects (paths), and the layer with the land consists of (one group of) more than 25.000 objects, all the same colour.

What I came up with:


use the binary intersection tool, but that only works on (two) paths;
use the land layer to clip the underlying TZ zone layer, but the land layer is way too complex (25k paths) for that.


A final idea I have is this: my impression is that the individual objects in the land layer do not cross the borders of the TZ zones.
So maybe there is a way to use a single TZ zone path to select all land objects that are in it, and then colour them?

But any other solutions/ideas are welcome!

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sarah814

1 Comments

Sorted by latest first Latest Oldest Best

 

@Sarah814

The main problem here was that I didn't have two paths for creating a binary Intersection, and that the 25k paths of the land part were way too many for clipping.

The breakthrough was that I first had to keep Ungrouping everything in the land layer until I had only paths left, and then Combine all these paths into a single path. I did the same for the various TZ zones (a single path for each of the six colours), and then I was able to perform an Intersection.

The number of nodes became so large that some of the operations took several minutes to complete, but I never received any error messages and everything seem to work fine (yay Inkscape!)

As a result of the Ungrouping/Combining, all the original grouping is gone using this method, but that is not a problem (for :-)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme