-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Description
Processing the file https://commons.wikimedia.org/wiki/File:Instrumental_Temperature_Record_GISS.svg
with
$ scour -i input.svg -o output.svg
the outputfile don't have the blue dots any more:
A minimal Working example:
Instrumental_Temperature_Record_GISS.svg.txt
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>
<svg id="svg85" version="1.1" viewBox="0 0 480 384" xmlns="http://www.w3.org/2000/svg">
<defs id="defs9">
<style id="style4" type="text/css"><![CDATA[
.tempMarker {
fill: blue;
stroke: blue;
}
.annualTemp {
fill: none;
stroke: #333;
stroke-width: 0.5;
stroke-linecap: butt;
stroke-linejoin: bevel;
marker: url(#tempMarker);
}
]]></style>
<marker id="tempMarker" markerHeight="4" markerWidth="4" refX="2" refY="2">
<circle id="circle6" class="tempMarker" cx="2" cy="2" r="1.5"/>
</marker>
</defs>
<g id="g83" transform="scale(3) translate(-1855 74) scale(1 -1)">
<polyline id="polyline39" class="annualTemp" points="1888 54 1893 54 1898 54"/>
<polyline id="polyline79" class="annualTemp" points="1880 -25 1881 -20 1882 -22 1883 -24 1884 -30 1885 -30 1886 -25 1887 -35 1888 -27 1889 -15 1890 -37 1891 -27 1892 -32 1893 -31 1894 -33 1895 -27 1896 -16 1897 -12 1898 -24 1899 -17 1900 -9 1901 -15 1902 -27 1903 -31 1904 -34 1905 -24 1906 -20 1907 -38 1908 -34 1909 -35 1910 -33 1911 -33 1912 -34 1913 -32 1914 -15 1915 -9 1916 -31 1917 -40 1918 -32 1919 -20 1920 -19 1921 -13 1922 -24 1923 -20 1924 -21 1925 -16 1926 -1 1927 -13 1928 -11 1929 -25 1930 -7 1931 -1 1932 -6 1933 -18 1934 -7 1935 -11 1936 -3 1937 8 1938 11 1939 3 1940 5 1941 10 1942 3 1943 10 1944 20 1945 7 1946 -4 1947 0 1948 -4 1949 -7 1950 -15 1951 -4 1952 3 1953 11 1954 -10 1955 -10 1956 -17 1957 7 1958 8 1959 6 1960 -1 1961 8 1962 4 1963 8 1964 -21 1965 -11 1966 -3 1967 0 1968 -4 1969 8 1970 3 1971 -10 1972 0 1973 14 1974 -8 1975 -5 1976 -16 1977 13 1978 1 1979 9 1980 18 1981 26 1982 5 1983 26 1984 9 1985 5 1986 13 1987 26 1988 31 1989 20 1990 38 1991 35 1992 13 1993 14 1994 23 1995 38 1996 29 1997 40 1998 56 1999 32 2e3 33 2001 48 2002 56 2003 55 2004 49 2005 63 2006 54 2007 57 2008 43 2009 57"/>
</g>
</svg>
scour deletes:
<marker id="tempMarker" markerHeight="4" markerWidth="4" refX="2" refY="2">
<circle id="circle6" class="tempMarker" cx="2" cy="2" r="1.5"/>
</marker>
which is referenced/needed in <style id="style4" type="text/css">