<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://ctuot.twoday.net/rss2html.xsl" type="text/xsl"?>
<rdf:RDF 
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  xmlns:cc="http://web.resource.org/cc/"
  xmlns="http://purl.org/rss/1.0/"
> 

  <channel rdf:about="http://ctuot.twoday.net/">
    <title>towards the geospatial semantic web (Semanticaly enabled Spatial Decision Support System) : topic:GIS</title>
    <link>http://ctuot.twoday.net/</link>
    <description>Semanticaly enabled Spatial Decision Support System</description>
    <dc:publisher>ctuot</dc:publisher>
    <dc:creator>ctuot</dc:creator>
    <dc:date>2007-10-28T05:25:35Z</dc:date>
    <dc:language>en</dc:language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T00:00:00Z</sy:updateBase>
    
    <image rdf:resource="http://static.twoday.net/icon.gif" />
    <items>
      <rdf:Seq>
            <rdf:li rdf:resource="http://ctuot.twoday.net/stories/4132499/" />

      </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://static.twoday.net/icon.gif">
    <title>towards the geospatial semantic web</title>
    <url>http://static.twoday.net/icon.gif</url>
    <link>http://ctuot.twoday.net/</link>
  </image>

  <item rdf:about="http://ctuot.twoday.net/stories/4132499/">
    <title>GML versus JSON when providing Geographical Data, speed and size factors</title>
    <link>http://ctuot.twoday.net/stories/4132499/</link>
    <description>So here is the situation: I need to process some spatial information which I retrieve from different servers using the &lt;a href=&quot;http://www.opengeospatial.org/&quot;&gt;OGC&lt;/a&gt; standard &lt;a href=&quot;http://www.opengeospatial.org/standards/wfs&quot;&gt;WFS&lt;/a&gt; protocol. I simply use the &lt;a href=&quot;http://geotools.codehaus.org/&quot;&gt;GeoTools&lt;/a&gt; to query and process the information.&lt;br /&gt;
&lt;br /&gt;
Information providers are all partners using either &lt;a href=&quot;http://geoserver.org/&quot;&gt;GeoServer&lt;/a&gt; or &lt;a href=&quot;http://mapserver.gis.umn.edu/&quot;&gt;UMN Mapserver&lt;/a&gt;. All providers have a relative good internet connection in terms of speed but try as much as possible to spare some bandwidth (In Europe, a lot of internet connections are still volume based).&lt;br /&gt;
&lt;br /&gt;
If I tell you that some spatial information stored in &lt;a href=&quot;http://www.opengeospatial.org/standards/gml&quot;&gt;GML&lt;/a&gt; format requires more space than when stored in &lt;a href=&quot;http://en.wikipedia.org/wiki/Json&quot;&gt;JSON&lt;/a&gt; format, you certainly will not be surprised. But about how much extra space are we exactly talking?&lt;br /&gt;
&lt;br /&gt;
Since the GeoServer supports both delivery in GML and &lt;a href=&quot;http://docs.codehaus.org/display/GEOSDOC/GeoJSON+Output+Format&quot;&gt;JSON&lt;/a&gt; format, I decided to give a quick shot to get a better idea about speed and size differences between GML and JSON.&lt;br /&gt;
&lt;br /&gt;
The spatial information I used is stored in &lt;a href=&quot;http://www.oracle.com/technology/products/spatial/index.html&quot;&gt;Oracle 10g&lt;/a&gt; and accessible through a GeoServer in a Gigabit Network. &lt;br /&gt;
&lt;br /&gt;
Here are the queries I used:
&lt;ul&gt;  
&lt;li&gt;for GML: &lt;i&gt;wfs?SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=GetFeature&amp;TYPENAME=topp:ACKERFLAECHEN_RLP_GK3&lt;/i&gt;&lt;/li&gt;  
&lt;li&gt;for JSON: &lt;i&gt;wfs?request=GetFeature&amp;typename=topp:ACKERFLAECHEN_RLP_GK3&amp;outputformat=json&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
All caching mechanisms have been disabled!&lt;br /&gt;
&lt;br /&gt;
Here the results:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Delivery time:&lt;/b&gt;
&lt;ul&gt;
&lt;li&gt;WFS: 12,33s&lt;/li&gt;
&lt;li&gt;JSON: 8,86s&lt;/li&gt;
&lt;/ul&gt;
&lt;b&gt;Result size:&lt;/b&gt;
&lt;ul&gt;  
&lt;li&gt;WFS: 235 MB&lt;/li&gt;  
&lt;li&gt;JSON: 157 MB&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;


Of course, there are many other aspects besides speed and size which should be taken into consideration like for example validation issues.&lt;br /&gt;
&lt;br /&gt;
Nevertheless, JSON spares a lot of bandwidth and for slower internet connections, this means sparing a lot of time when providing information.</description>
    <dc:creator>ctuot</dc:creator>
    <dc:subject>&lt;a href=&quot;http://ctuot.twoday.net/topics/GIS&quot;&gt;GIS&lt;/a&gt;</dc:subject>
    <dc:rights>Copyright &#169; 2007 ctuot</dc:rights>
    <dc:date>2007-08-03T08:56:00Z</dc:date>
  </item>


<textinput rdf:about="http://ctuot.twoday.net/search">
   <title>find</title>
   <description>Search this site:</description>
   <name>q</name>
   <link>http://ctuot.twoday.net/search</link>
</textinput>


</rdf:RDF>
