William Candillon has proposed merging lp:~zorba-coders/zorba/expath_geo_doc into lp:zorba/geo-module.
Commit message: Improve documentation of the EXPath Geo module. Requested reviews: William Candillon (wcandillon) Matthias Brantner (matthias-brantner) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/expath_geo_doc/+merge/126447 Improve documentation of the EXPath Geo module. -- https://code.launchpad.net/~zorba-coders/zorba/expath_geo_doc/+merge/126447 Your team Zorba Coders is subscribed to branch lp:zorba/geo-module.
=== modified file 'src/org/expath/ns/geo.xq' --- src/org/expath/ns/geo.xq 2011-08-13 00:08:28 +0000 +++ src/org/expath/ns/geo.xq 2012-09-26 13:14:31 +0000 @@ -27,75 +27,69 @@ : Possible GMLSF geometric structures are: : <dl> : <dt><b>Point</b></dt> - : <pre class="brush: xml;"><gml:Point [srsDimension='2|3']?> - :   <gml:pos [srsDimension='2|3']?>double_x double_y </gml:pos> - : </gml:Point></pre> + : <pre class="ace-static" ace-mode="xquery"><![CDATA[<gml:Point [srsDimension='2|3']?> + : <gml:pos [srsDimension='2|3']?>double_x double_y </gml:pos> + : </gml:Point>]]></pre> : <dt><b>LineString</b></dt> - : <pre class="brush: xml;"><gml:LineString [srsDimension='2|3']?> - :   <gml:posList [srsDimension='2|3']?> double_x1 double_y1 double_x2 double_y2 ... </gml:posList> - : </gml:LineString></pre> + : <pre class="ace-static" ace-mode="xquery"><![CDATA[<gml:LineString [srsDimension='2|3']?> + : <gml:posList [srsDimension='2|3']?> double_x1 double_y1 double_x2 double_y2 ... </gml:posList> + : </gml:LineString>]]></pre> : <dt><b>Curve</b></dt> - : <pre class="brush: xml;"><gml:Curve [srsDimension='2|3']?> - : <gml:segments> - : [<gml:LineStringSegment interpolation="linear" [srsDimension='2|3']?> - :   <gml:posList [srsDimension='2|3']?> double_x1 double_y1 double_x2 double_y2 ... </gml:posList> - : <gml:LineStringSegment>]* - : </gml:segments> - : </gml:Curve> - : </pre> + : <pre class="ace-static" ace-mode="xquery"><![CDATA[<gml:Curve [srsDimension='2|3']?> + : <gml:segments> + : [<gml:LineStringSegment interpolation="linear" [srsDimension='2|3']?> + : <gml:posList [srsDimension='2|3']?> double_x1 double_y1 double_x2 double_y2 ... </gml:posList>; + : <gml:LineStringSegment>]* + : </gml:segments> + : </gml:Curve>]]></pre> : <dt><b>LinearRing</b></dt> - : <pre class="brush: xml;"><gml:LinearRing [srsDimension='2|3']?> - :   <gml:posList [srsDimension='2|3']?> double_x1 double_y1 double_x2 double_y2 ... </gml:posList> - : </gml:LinearRing></pre> + : <pre class="ace-static" ace-mode="xquery"><![CDATA[<gml:LinearRing [srsDimension='2|3']?> + : <gml:posList [srsDimension='2|3']?> double_x1 double_y1 double_x2 double_y2 ... </gml:posList> + : </gml:LinearRing>]]></pre> : <dt><b>Surface</b></dt> - : <pre class="brush: xml;"><gml:Surface [srsDimension='2|3']?> - : <gml:patches> - : [<gml:PolygonPatch [srsDimension='2|3']?> - :   <gml:exterior> - :     <gml:LinearRing> ... </gml:LinearRing> - :   </gml:exterior> - :   [<gml:interior> - :     <gml:LinearRing> ... </gml:LinearRing> - :   </gml:interior>]* - : </gml:PolygonPatch>]* - : </gml:patches> - : </gml:Surface> - : </pre> + : <pre class="ace-static" ace-mode="xquery"><![CDATA[<gml:Surface [srsDimension='2|3']?> + : <gml:patches> + : [<gml:PolygonPatch [srsDimension='2|3']?> + : <gml:exterior> + : <gml:LinearRing> ... </gml:LinearRing> + : </gml:exterior> + : <gml:interior> + : <gml:LinearRing> ... </gml:LinearRing> + : </gml:interior>]* + : </gml:PolygonPatch>]* + : </gml:patches> + : </gml:Surface>]]></pre> : <dt><b>Polygon</b></dt> - : <pre class="brush: xml;"><gml:Polygon [srsDimension='2|3']?> - :   <gml:exterior> - :     <gml:LinearRing> ... </gml:LinearRing> - :   </gml:exterior> - :   [<gml:interior> - :     <gml:LinearRing> ... </gml:LinearRing> - :   </gml:interior>]* - : </gml:Polygon> - : </pre> + : <pre class="ace-static" ace-mode="xquery"><![CDATA[<gml:Polygon [srsDimension='2|3']?> + : <gml:exterior> + : <gml:LinearRing> ... </gml:LinearRing> + : </gml:exterior> + : [<gml:interior> + : <gml:LinearRing> ... </gml:LinearRing> + : </gml:interior>]* + : </gml:Polygon>]]></pre> : <dt><b>MultiPoint</b></dt> - : <pre class="brush: xml;"><gml:MultiPoint [srsDimension='2|3']?> - :   [<gml:Point> ... </gml:Point>]* - : </gml:MultiPoint> - : </pre> + : <pre class="ace-static" ace-mode="xquery"><![CDATA[<gml:MultiPoint [srsDimension='2|3']?> + : [<gml:Point> ... </gml:Point>]* + : </gml:MultiPoint>]]></pre> : <dt><b>MultiCurve</b></dt> - : <pre class="brush: xml;"><gml:MultiCurve [srsDimension='2|3']?> - :   [<gml:LineString> ... </gml:LineString>]* - : </gml:MultiCurve> - : </pre> + : <pre class="ace-static" ace-mode="xquery"><![CDATA[<gml:MultiCurve [srsDimension='2|3']?> + : [<gml:LineString> ... </gml:LineString>]* + : </gml:MultiCurve>]]></pre> : <dt><b>MultiSurface</b></dt> - : <pre class="brush: xml;"><gml:MultiSurface [srsDimension='2|3']?> - :   [<gml:Polygon> ... </gml:Polygon>]* - : </gml:MultiSurface> - : </pre> + : <pre class="ace-static" ace-mode="xquery"><![CDATA[<gml:MultiSurface [srsDimension='2|3']?> + : [<gml:Polygon> ... </gml:Polygon>]* + : </gml:MultiSurface> + : ]]></pre> : <dt><b>MultiGeometry (this is from GML 3 schema)</b></dt> - : <pre class="brush: xml;"><gml:MultiGeometry [srsDimension='2|3']?> - :   [<gml:geometryMember> - :      ...one geometry... - :   </gml:geometryMember>]* - :   [<gml:geometryMembers> - :      ...a list of geometries... - :   </gml:geometryMembers>]? - : </gml:MultiGeometry> - : </pre> + : <pre class="ace-static" ace-mode="xquery"><![CDATA[<gml:MultiGeometry [srsDimension='2|3']?> + : [<gml:geometryMember> + : ...one geometry... + : </gml:geometryMember>]* + : [<gml:geometryMembers> + : ...a list of geometries... + : </gml:geometryMembers>]? + : </gml:MultiGeometry>]]></pre> : </dl><br/><br/> : Note: When using gml:posList, it is possible to replace this element with a list of gml:pos.<br/> : Note: XLink referencing is not supported.<br/> @@ -156,7 +150,7 @@ : @see http://www.opengeospatial.org/standards/gml : @see http://trac.osgeo.org/geos/ : @library <a href="http://trac.osgeo.org/geos/">GEOS (Geometry Engine - Open Source)</a> - : @project geo + : @project EXPath/Geo :) module namespace geo = "http://expath.org/ns/geo";
-- Mailing list: https://launchpad.net/~zorba-coders Post to : [email protected] Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp

