[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-dev
Subject:    Re: [xml-dev] Four fine text-based data formats ... liberate yourself from one (silo) data format
From:       Uche Ogbuji <uche () ogbuji ! net>
Date:       2013-03-25 22:30:54
Message-ID: CAPJCua2JZRfq3BRjyLc8gMdC8dAetezcUKD_3d_0G_40vH09Qg () mail ! gmail ! com
[Download RAW message or body]

On Mon, Mar 25, 2013 at 2:40 PM, Michael Kay <mike@saxonica.com> wrote:

>
>  Oi!  That definitely touches a nerve!  Geodata XML formats are
>> abominations.  I had to do a lot of work with KML last year and what the
>> hell was anyone thinking coding that in XML?!
>>
>>
> I did some experiments generating SVG from KML using XSLT and I found it
> worked extremely well.


That doesn't surprise me because SVG also uses the same interminable point
series attributes that KML does (I suspect KML borrowed the idea from SVG).
 It's not quite as bad in SVG because there's usually much more to the SVG
file than the point sets, but in KML files, that's in my experience
generally the thing you really care about, and you almost wish it were in a
fixed-width binary format instead.

So yeah, I can imagine a KML->SVG transform would be fairly painless (not
that I've ever tried that myself), but I don't think that really rescues
KML as a format.  I'll also say that I can't imagine it would be hard to
generate SVG from bog-standard KML data coded in a binary or CSV-like
format.  Again without the need for e.g. mixed content, attributes, etc,
XML really just gets in the way.


-- 
Uche Ogbuji                       http://uche.ogbuji.net
Founding Partner, Zepheira        http://zepheira.com
http://wearekin.org
http://www.thenervousbreakdown.com/author/uogbuji/
http://copia.ogbuji.net
http://www.linkedin.com/in/ucheogbuji
http://twitter.com/uogbuji

[Attachment #3 (text/html)]

<div dir="ltr">On Mon, Mar 25, 2013 at 2:40 PM, Michael Kay <span dir="ltr">&lt;<a \
href="mailto:mike@saxonica.com" target="_blank">mike@saxonica.com</a>&gt;</span> \
wrote:<br><div class="gmail_extra"><div class="gmail_quote"> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div class="im"><br> <blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Oi!  That \
definitely touches a nerve!  Geodata XML formats are abominations.  I had to do a lot \
of work with KML last year and what the hell was anyone thinking coding that in \
XML?!<br> <br>
</blockquote>
<br></div>
I did some experiments generating SVG from KML using XSLT and I found it worked \
extremely well.</blockquote><div><br></div><div style>That doesn&#39;t surprise me \
because SVG also uses the same interminable point series attributes that KML does (I \
suspect KML borrowed the idea from SVG).  It&#39;s not quite as bad in SVG because \
there&#39;s usually much more to the SVG file than the point sets, but in KML files, \
that&#39;s in my experience generally the thing you really care about, and you almost \
wish it were in a fixed-width binary format instead.</div> <div style><br></div><div \
style>So yeah, I can imagine a KML-&gt;SVG transform would be fairly painless (not \
that I&#39;ve ever tried that myself), but I don&#39;t think that really rescues KML \
as a format.  I&#39;ll also say that I can&#39;t imagine it would be hard to generate \
SVG from bog-standard KML data coded in a binary or CSV-like format.  Again without \
the need for e.g. mixed content, attributes, etc, XML really just gets in the \
way.</div> <div style><br></div></div><div><br></div>-- <br>Uche Ogbuji               \
<a href="http://uche.ogbuji.net" \
target="_blank">http://uche.ogbuji.net</a><br>Founding Partner, Zepheira        <a \
href="http://zepheira.com" target="_blank">http://zepheira.com</a><br> <a \
href="http://wearekin.org" target="_blank">http://wearekin.org</a><br><a \
href="http://www.thenervousbreakdown.com/author/uogbuji/" \
target="_blank">http://www.thenervousbreakdown.com/author/uogbuji/</a><br><a \
href="http://copia.ogbuji.net" target="_blank">http://copia.ogbuji.net</a><br> <a \
href="http://www.linkedin.com/in/ucheogbuji" \
target="_blank">http://www.linkedin.com/in/ucheogbuji</a><br><a \
href="http://twitter.com/uogbuji" target="_blank">http://twitter.com/uogbuji</a><br> \
</div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic