How to open SVG 1.1 in Visio 2007

A while ago I had a horrible problem with MS Visio 2007. I was really happy that I did manage to prepare nice vector graphics in Adobe Illustrator CS4. Among others it was a map indicating one of onshore wind farms that I analyze within the confines of my research project. Normally at work I do not have such fancy tools as Adobe software, so I had to save results in something that MS Visio would be able to open.

Clipping Path 1
Vector graphics created in Adobe Illustrator CS4.

I decided to use an open standard vector format such as SVG is. Since it is an open standard it should be possible to easily save it in Illustrator and hypothetically without any problems open in Visio. I would like to emphasize that this version (i.e. SVG 1.1)  was developed in 2003 as it is stated on the W3C website. Actually Visio can deal with SVG 1.1 but in a selective manner. How big was my disappointment when I realized that actually well described in the standard clipping path is not supported.

The same drawing with visible clipping path.

The description of the clipping path (commonly known in popular vector graphics applications) can be found on the W3C (Clipping Path) website. An exemplary code showing an application of the clipping path from an SVG file generated by Adobe Illustrator looks in the following way

     <path id="SVGID_1_" d="M111.478,271.964c0,0-5.669,0-5.669,5.478z"/>
<clipPath id="SVGID_2_">
     <use xlink:href="#SVGID_1_"  overflow="visible"/>

If one would like to open such kind of SVG file with clipping path in Visio the error dialog box appears which is presented below. MS Visio 2007 is simply not capable to open files  including clipping path definitions. I tried to find any solution how to deal with this problem via Internet but unsuccessfully.

In the error log file generated by the software it is clearly stated which elements from SVG structure are incompatible. One of possibilities to work around this problem is to delete unsupported fragments of the code. Of course this would affect that elements of our vector graphics which should be hidden by the clipping path will be visible.

[Warning] DataType: Element <clipPath>
Context: Line 13 ID SVGID_2_
Description: Invalid children of clip-path element. Children removed

Please remember also to remove information about the clipping path from each of elements included in the vector graphics. Later in MS Visio 2007 it is possible to use other methods of masking unwanted elements or parts of them.

I hope this help and please shear your experience with me regarding this problem by adding a comment. Cheers!