Trying to simplify SVG file: Inkscape crashes

Post questions on how to use or achieve an effect in Inkscape.
videoclocknet
Posts: 1
Joined: Thu Jan 23, 2014 1:39 am

Trying to simplify SVG file: Inkscape crashes

Postby videoclocknet » Thu Jan 23, 2014 2:03 am

Hi guys!

I'm trying to create a web map from a SVG file. The SVG file is about 1.7 MB in size, which is not so large, but it has a lot of SVG elements to be rendered, so it becomes a problem when I try to show it in a website

So I'm trying to reduce the number of SVG elements to be rendered through the "simplify" option in Inkscape. But it crashes while performing the conversion.
I've tried in Linux as well, but it throws a "256 use XML_PARSE_HUGE option" when I execute the simplification from command line.

I've heard the new 0.49 version will fix this bug. Can anyone provide me a built version of Inkscape 0.49 for Windows? I'm not enough experienced for compiling the sources.

Or at least a way for simplifying this file with no crashes, please.

Kind Regards,

videocloknet
Attachments
optimised.rar
Here you have the file to be simplified.
(250.92 KiB) Downloaded 142 times

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Trying to simplify SVG file: Inkscape crashes

Postby Lazur » Thu Jan 30, 2014 11:23 pm

Hi videocloknet!

That file cannot be helped by simplify options. It would need manual work to make it right.
I'm guessing it was made with a cad software, had such experience with autocad drawings.
The fills are turned to separate objects. You could reduce the size largely by making a proper fill with that fishnet pattern, and use that instead of many lines.
Same with the wide dashed lines: now they are made up of separate triangles, resulting in a bad look and six times more nodes than necessary.
Texts also turned to be unusable, that could only be corrected by typing in them again and deleting the old ones.

So it would take hours of work to clean it up.

1,7 MB is not that big, so maybe the performance could be improved by grouping objects together -if you have rendering issues.

Good luck!


Return to “Help with using Inkscape”