Opened 13 years ago

Last modified 13 years ago

#8742 closed defect

Cannot import SVG files generated with Microsoft Visio — at Version 3

Reported by: musle@… Owned by: Upliner
Priority: normal Milestone:
Component: Core Version: latest
Keywords: svg microsoft visio Cc:

Description (last modified by Don-vip)

I can not import svg that from visio2013 export svg file

ref the file content:

<!-- 由 Microsoft Visio, SVG Export 產生 testsvg.svg 頁-1 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"
                xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="7.32948in" height="6.09843in"
                viewBox="0 0 527.722 439.087" xml:space="preserve" color-interpolation-filters="sRGB" class="st25">
        <v:documentProperties v:langID="1028" v:metric="true" v:viewMarkup="false"/>

        <style type="text/css">
        <![CDATA[
                .st1 {fill:#ff0000;stroke:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.75}
                .st2 {fill:#ffffff}
                .st3 {stroke:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.75}
                .st4 {fill:none;stroke:#ffffff;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.24}
                .st5 {fill:#ffffff;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.75;visibility:hidden}
                .st6 {fill:none}
                .st7 {stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.75}
                .st8 {fill:none;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.75}
                .st9 {fill:none;stroke:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.75}
                .st10 {fill:#000000;font-family:新細明體;font-size:0.162231em}
                .st11 {fill:#000000;font-family:新細明體;font-size:0.194687em}
                .st12 {stroke:#000000;stroke-linecap:butt;stroke-width:0.75}
                .st13 {fill:#0000ff;stroke:#0000ff;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.75}
                .st14 {fill:none;stroke:#0000ff;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.75}
                .st15 {fill:#0000ff;font-family:Arial Unicode MS;font-size:0.259575em}
                .st16 {fill:#0000ff;font-family:新細明體;font-size:0.324463em}
                .st17 {font-size:1em}
                .st18 {fill:none;stroke:#000000;stroke-linecap:butt;stroke-width:0.75}
                .st19 {stroke:#0000ff;stroke-linecap:butt;stroke-width:0.75}
                .st20 {stroke:#00ff00;stroke-linecap:butt;stroke-width:0.75}
                .st21 {stroke:#4c4400;stroke-linecap:butt;stroke-width:0.75}
                .st22 {stroke:#ff0000;stroke-linecap:butt;stroke-width:0.75}
                .st23 {fill:#ffffff;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.72}
                .st24 {fill:#000000;font-family:新細明體;font-size:0.666664em}
                .st25 {fill:none;fill-rule:evenodd;font-size:12px;overflow:visible;stroke-linecap:square;stroke-miterlimit:3}
        ]]>
        </style>

        <g v:mID="0" v:index="1" v:groupContext="foregroundPage">
                <title>頁-1</title>
                <v:pageProperties v:drawingScale="0.19685" v:pageScale="0.0393701" v:drawingUnits="24" v:shadowOffsetX="8.50394"
                                v:shadowOffsetY="-8.50394"/> .....

Does the svg support visio export svg files?

Thanks a lot
musle 5/26

Change History (5)

comment:1 by bastiK, 13 years ago

How do you import the svg file into JOSM?

Please add the file as an attachment.

by musle@…, 13 years ago

Attachment: svg_test.vsd added

visio file

by musle@…, 13 years ago

Attachment: svg_test.zip added

save as svg file from visio

in reply to:  1 comment:2 by Don-vip, 13 years ago

Component: CorePlugin importvec
Keywords: microsoft visio added
Owner: changed from team to Upliner
Summary: I can not import svgCannot import SVG files generated with Microsoft Visio

Replying to bastiK:

How do you import the svg file into JOSM?

Likely with http://wiki.openstreetmap.org/wiki/JOSM/Plugins/ImportVec

comment:3 by Don-vip, 13 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.