Changes between Version 3 and Version 4 of MapGuideRfc161


Ignore:
Timestamp:
Jun 15, 2017, 8:07:09 AM (7 years ago)
Author:
jng
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc161

    v3 v4  
    8282
    8383|| '''Name''' || '''Value'''  || '''Required''' || '''Description''' ||
    84 || OPERATION || GEO.BINARYOPERATION|| Yes || Operation to execute ||
     84|| OPERATION || GEO.BINARYOPERATION || Yes || Operation to execute ||
    8585|| VERSION || 3.3.0 || Yes || Operation version ||
    8686|| CLIENTAGENT || text || Optional || Descriptive text for client ||
     
    110110
    111111|| '''Name''' || '''Value'''  || '''Required''' || '''Description''' ||
    112 || OPERATION || GEO.BINARYOPERATION|| Yes || Operation to execute ||
     112|| OPERATION || GEO.SPATIALPREDICATE || Yes || Operation to execute ||
    113113|| VERSION || 3.3.0 || Yes || Operation version ||
    114114|| CLIENTAGENT || text || Optional || Descriptive text for client ||
     
    118118
    119119All operators are invoked in the form of {{{GEOMETRYA OPERATOR GEOMETRYB}}}. Where ordering of input geometries matters (the operator is not commutative), refer to this rule.
     120
     121=== Convex Hull ===
     122
     123Returns the smallest convex Polygon that contains all the points in the given Geometry
     124
     125|| '''Name''' || '''Value'''  || '''Required''' || '''Description''' ||
     126|| OPERATION || GEO.CONVEXHULL || Yes || Operation to execute ||
     127|| VERSION || 3.3.0 || Yes || Operation version ||
     128|| CLIENTAGENT || text || Optional || Descriptive text for client ||
     129|| GEOMETRY || string || Yes || The Well-Known Text of the input geometry ||
     130|| FORMAT || WKT/GEOJSON || Yes || Output the operation result as WKT or GeoJSON ||
     131|| COORDINATESYSTEM || string || Optional || The coordinate system (CS-Map code) of the input geometries. Only required in combination with `TRANSFORMTO` if you intend to transform the geometry result ||
     132|| TRANSFORMTO || string || Optional || The coordinate system (CS-Map code) to transform the simplified geometry into. Only required in combination with `COORDINATESYSTEM ` if you intend to transform the geometry result ||
     133
     134=== Distance ===
     135
     136Returns the shortest distance between this geometry and another
     137
     138|| '''Name''' || '''Value'''  || '''Required''' || '''Description''' ||
     139|| OPERATION || GEO.DISTANCE || Yes || Operation to execute ||
     140|| VERSION || 3.3.0 || Yes || Operation version ||
     141|| CLIENTAGENT || text || Optional || Descriptive text for client ||
     142|| GEOMETRY || string || Yes || The Well-Known Text of the input geometry ||
     143|| OTHERGEOMETRY || string || Yes || The Well-Known Text of the other geometry (to compute distance to) ||
     144|| COORDINATESYSTEM || string || Optional || The coordinate system (CS-Map code) to use for measuring distance. If provided, the distance result with be returned in meters. If not provided, a linear distance measurement is used and the result will be returned in unknown units. ||
     145|| FORMAT || string || Yes || {{{text/xml}}} for XML, {{{application/json}}} for JSON ||
     146|| CLEAN || 1/0 || Optional || If requested format is {{{application/json}}}, returns a clean JSON structure per [wiki:MapGuideRfc158] ||
     147
     148The result adheres to the new {{{UnitOfMeasure-3.3.0.xsd}}} XML schema
     149
     150{{{
     151<?xml version="1.0" encoding="UTF-8"?>
     152<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
     153  <xs:element name="UnitOfMeasure">
     154    <xs:annotation>
     155      <xs:documentation>Unit of measure</xs:documentation>
     156    </xs:annotation>
     157    <xs:complexType>
     158      <xs:sequence>
     159        <xs:element name="Value" type="xs:double" />
     160        <xs:element name="Unit" type="xs:string" />
     161      </xs:sequence>
     162    </xs:complexType>
     163  </xs:element>
     164</xs:schema>
     165
     166}}}
    120167
    121168== MgGeometry enhancements ==