GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




No SVG file being generated? But the family tree shows up fine in a...

Click to view RSS...
Author
Posted Thursday, July 9, 2015 - Post #35112
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Forum Members

Last Login: Friday, July 10, 2015
Posts: 3, Visits: 6
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.
Posted Thursday, July 9, 2015 - Post #35113
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 15 hours ago
Posts: 3,339, Visits: 25,605
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.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Thursday, July 9, 2015 by genome
Posted Friday, July 10, 2015 - Post #35126
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Forum Members

Last Login: Friday, July 10, 2015
Posts: 3, Visits: 6
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.


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse