16,719
edits
Changes
From Gramps
Xsl
,→Examples
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/Graphics/SVG/SVG-19990812.dtd" xmlns:gr="http://gramps-project.org/xml/1.12.40/"
exclude-result-prefixes="gr">
<xsl:output method="xml" indent="yes" media-type="image/svg"/>
xsltproc --novalid xxx.xsl data.xml > map.svg
You will get a layer according to specified dimensions on XSLT stylesheet.
Ex: [http://romjerome.ifrance.com/carte.png carte.png] uses a custom [http://en.wikipedia.org/wiki/Coordinate_system#Geographical_systems frame of reference]
<rect x="{(($long+(-4))*16)*120}" y="{(1000-$lat*20)*40}" width="5px" height="5px"/>
<text x="{(($long+(-4))*16)*116}" y="{(1000-$lat*20)*40}" font-size="13px"><xsl:value-of select="ptitle"/>
for displaying what we want, not always practical but fast and effective.