Path handling on SVG map

Post questions on how to use or achieve an effect in Inkscape.
hubalu
Posts: 2
Joined: Sun Dec 11, 2011 6:39 am

Path handling on SVG map

Postby hubalu » Sun Dec 11, 2011 7:17 am

Hi!
I'm new to Inkscape.
Here is a map: https://upload.wikimedia.org/wikipedia/ ... rict02.svg
There are several objects in this map: districts and the river.

Currently the borders are touching each other under the river. You can see this if you hide the river.
Now the goal is to set the borders of the districts to the riverbank. So that the districts don't touch each other, just the river.

And currently the islands are also part of the districts. How can I transform them to a separate object?

I played with the Path commands but I could not achieve the solutions specified above.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Path handling on SVG map

Postby brynn » Sun Dec 11, 2011 8:12 am

Image
Welcome to InkscapeForum!

You'll need to duplicate the river object as many times as you have districts to edit. Make sure that the duplicated river object is on top of the district in z-order (should happen automatically when you duplicate the river), select a river duplicate and a district, then do Path menu > Difference. You'll have to do this once for each district.

Where you have a district that includes an island (after you do the Difference), do Path menu > Break Apart, and that will make the island separate from the district.

For some reason, which I don't understand, when I do the Difference, it changes the color of the district to black. But you can just use the Color Dropper tool ( :tool_dropper: ) to change it back.

Oh ok, I think it has something to do with the districts being grouped. If I ungroup everything before doing the Difference, then the original color is retained.

Let us know if you run into problems :D

hubalu
Posts: 2
Joined: Sun Dec 11, 2011 6:39 am

Re: Path handling on SVG map

Postby hubalu » Wed Dec 14, 2011 8:35 am

Hi!
Thank you very much, it works!


Return to “Help with using Inkscape”