[OSM-talk] SVG output & Inkscape
Etienne
80n80n at gmail.com
Tue May 30 13:35:16 BST 2006
David
I have a new version of Osmarender in the pipeline. I've changed a
lot of things in the way the SVG is created so it will probably fix
some issues and create a whole new set of issues. The <style> tag is
already gone.
The character encoding problem might be because osmarender.xsl is
missing encoding='UTF-8' on the <?xml..?> prolog. Try changing the
first line to be:
<?xml version='1.0' encoding='UTF-8' ?>
I'll try to check things out on Inkscape before I publish it.
Don't know exactly when I'll make it available as I'm on the road for
the next few days.
Etienne
On 5/28/06, David Groom <reviews at pacific-rim.net> wrote:
> Further to yesterdays posting.
>
> The extra <style type="text/css"></style> seems to result from the
> following code in osmarender.xsl at about line 111
>
>
> <!-- Get CSS definitions from the rules file (deprecated) -->
> <style type='text/css'>
> <xsl:value-of select='style'/>
> </style>
>
> This seems to need to be removed from osmarender.xsl
>
> David
>
> ----- Original Message -----
> From: "David Groom" <reviews at pacific-rim.net>
> To: <talk at openstreetmap.org>
> Sent: Saturday, May 27, 2006 1:47 PM
> Subject: [OSM-talk] SVG output & Inkscape
>
>
> > I've been frustrated for some while now (actually since Etienne first
> > released details of the excellent Osmarender ) of my inability to open SVG
> > files produced by msxml in Inkscape.
> >
> > I seem to have found a work around, which hopefully will lead to someone
> > more technical than myself finding a permanent solution.
> >
> > My text editor of choice is win32pad available from
> > http://www.gena01.com/win32pad/
> >
> > However when I open the SVG file in win32pad there seems to be some
> > encoding issues.
> >
> > Therefore I first open the SVG file in notepad, then select all the text
> > and copy it to the clipboard, and then paste it into win32pad.
> >
> > Next, just before the end of the first <defs> section (in my output its
> > just after the SVG symbol for a church, there is the following code:
> >
> > <style type="text/css"></style>
> >
> >
> > delete that code, save the file, and it should open in Inkscape.
> >
> > David
> >
> >
> >
> > _______________________________________________
> > talk mailing list
> > talk at openstreetmap.org
> > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
> >
> >
>
>
>
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>
More information about the talk
mailing list