Changes between Version 3 and Version 4 of XML

Show
Ignore:
Timestamp:
09/19/07 08:09:18 (6 years ago)
Author:
crschmidt
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XML

    v3 v4  
    11= XML = 
    22 
    3 A number of Layer types in OpenLayers use Extensible Markup Language (XML) to load structured data from a file or URL.  This makes it easy to draw complex layers with little or no additional coding. 
     3A number of Layer types in OpenLayers use Extensible Markup Language (XML) to load structured data from a file or URL.  This makes it easy to draw complex layers with little or no additional coding. There is also support for non-XML formats in several forms like WKT and GeoJSON. 
    44 
    55In particular this means that data can be combined from a number of sources without requiring any server side processing as layers are assembled by the client. 
     
    99This page describes and compares the various formats, linking to examples and language specifications where available. 
    1010 
    11 A usefull comparison of the various formats is provided by the vector-formats example [but which lacks example data???] - http://openlayers.org/dev/examples/vector-features.html 
     11A useful comparison of the various formats is provided by the vector-formats example [but which lacks example data???] - http://openlayers.org/dev/examples/vector-formats.html 
    1212 
    1313Vector layers are probably best suited to displaying XML type data, and can include markers displayed as external images via styling in a vector layer, as in the vector-features example - http://openlayers.org/dev/examples/vector-features.html 
    14  
    15  
    1614 
    1715== GeoRSS - Geographically Encoded Objects for RSS feeds == 
     
    1917"GeoRSS is an emerging standard for encoding location as part of an RSS feed." - [http://en.wikipedia.org/wiki/GeoRSS wikipedia] 
    2018 
    21 '''Read''': Can be used to display markers loaded from a GeoRSS Feed - http://openlayers.org/dev/examples/georss-markers.html 
     19Currently, there are two forms of GeoRSS parsing.  
     20 
     21There is the GeoRSS *layer*, which uses parsing in the layer, and only supports GeoRSS simple points and W3C Geo Points. This creates markers and popups for the features for you. 
     22 
     23There is also the GeoRSS Format parser, which allows reading and writing of Vector Features from GeoRSS simple documents, including points, lines, and polygons. This section addresses the GeoRSS Format parser. 
     24 
     25'''Read''': Can read W3C Geo points and most GeoRSS Simple features. Does not support georss:box. 
     26 * Point 
     27 * Line 
     28 * Polygon 
    2229 
    2330'''Write''': Can be used to serialise vector data drawn with the editing toolbar - http://openlayers.org/dev/examples/georss-serialize.html 
    2431 
    2532Question: Can GeoRSS display vector data such as that created with the serialise example? 
     33   * Yes, it can. However, the current GeoRSS layer does not use the Format.GeoRSS class, and therefore can not display anything other than points. 
    2634 
    2735   * '''Specification''': http://georss.org/ 
     
    3442"The Geography Markup Language (GML) is the XML grammar defined by the Open Geospatial Consortium (OGC) to express geographical features. GML serves as a modeling language for geographic systems as well as an open interchange format for geographic transactions on the Internet." - [http://en.wikipedia.org/wiki/Geography_Markup_Language - wikipedia] 
    3543 
    36 '''Read''': Can be used to display polygon shapes from a GML file - http://openlayers.org/dev/examples/gml-layer.html 
     44'''Read''': Full support for all geometries, including reading of attributes. http://openlayers.org/dev/examples/gml-layer.html 
     45 * Point 
     46 * LineString 
     47 * Polygon 
     48 * MultiPoint 
     49 * MultiLineString 
     50 * MultiPolygon 
    3751 
    38 Write: Serialise vector data drawn with the editing toolbar [example does not seem to work in firefox 2.0???] - http://openlayers.org/dev/examples/gml-serialize.html 
     52 
     53'''Write''': Serialise vector data drawn with the editing toolbar [example does not seem to work in firefox 2.0???] - http://openlayers.org/dev/examples/gml-serialize.html 
    3954 
    4055   * '''Specification''': http://portal.opengeospatial.org/files/?artifact_id=4700 (requires EULA to read) 
     
    5065 
    5166'''Read''': Example [broken???] - http://openlayers.org/dev/examples/kml-layer.html 
    52  
    53 '''Read''': Linestring example - http://openlayers.org/dev/examples/kml-layer-linestring.html 
    5467 
    5568   * '''Specification''': http://code.google.com/apis/kml/documentation/