GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
No SVG file being generated? But the family tree shows up fine in a browser.


https://support.genopro.com/Topic35112.aspx
Print Topic | Close Window

By Kaimana - Thursday, July 9, 2015
I generated a narrative report after reading a thread about using it to get an SVG file of my family tree.

When I run the report, and then look in the "genomaps" folder of the output, there is no SVG file, but in the htm file, it specifically refers to what should be the SVG file, and when opening that htm file in a browser, the family tree works.

Here's the folder, no SVG file present: http://i.imgur.com/0twl5UW.png

In the htm file is is very clearly referring to "genomap0.svg": http://i.imgur.com/MvaCcoq.png

Show hidden files and folders are on in explorer. I absolutely cannot find "genomap0.svg" anywhere, but clearly it exists because the narrative report works fine when I open it.
By genome - Thursday, July 9, 2015
The svg image is now embedded within the genomap0.htm file. The reference to 'genomap0.svg' is a remnant of the old code, sorry. 

You can extract the svg using a text editor e.g. NotePad. 
You will probably want to remove the zoom/pan control and the highlight circle and GenoPro link.

Discard all lines in genomap0.htm up to first <svg tag. 


<svg id="svgCanvas" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 



 Copy everything from the <svg tag down to the <circle tag that down that preceeds a </g> and  the next <svg tag 



<circle id="highlight" cx="0" cy="0" r="50" style="stroke: fuchsia;stroke-width:5px;fill:none;opacity:0.3;" visibility="hidden"/>
</g>
<svg

Delete the <circle line,  leave the </g> in but then delete everything from <svg down to but not including the final </svg> closing tag.  Delete everything beyond that </svg> tag.

Save the result as a .svg file.
By Kaimana - Friday, July 10, 2015
Thanks a lot. That probably should have occurred to me. I saw the svg tag but my mind was just on that reference to a separate svg file.