Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ODATA-1587: Remove reference to obsolete GeoJSON document #194

Merged
merged 3 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions docs/odata-json-format/odata-json-format.html
Original file line number Diff line number Diff line change
Expand Up @@ -742,11 +742,7 @@ <h2 id="71-primitive-value"><a name="PrimitiveValue" href="#PrimitiveValue">7.1
<p>Values of type <code>Edm.Binary</code>, <code>Edm.Date</code>, <code>Edm.DateTimeOffset</code>, <code>Edm.Duration</code>, <code>Edm.Guid</code>, and <code>Edm.TimeOfDay</code> are represented as JSON strings whose content satisfies the rules <code>binaryValue</code>, <code>dateValue</code>, <code>dateTimeOffsetValue</code>, <code>durationValue</code>, <code>guidValue</code>, and <code>timeOfDayValue</code> respectively, in <a href="#ODataABNF">OData-ABNF</a>.</p>
<p>Primitive values that cannot be represented, for example due to server conversion issues or IEEE754 limitations on the size of an <code>Edm.Int64</code> or <code>Edm.Decimal</code> value, are annotated with the <code>Core.ValueException</code> term. In this case, the payload MAY include an approximation of the value and MAY specify a string representation of the exact value in the <code>value</code> property of the annotation.</p>
<p>Enumeration values are represented as JSON strings whose content satisfies the rule <code>enumValue</code> in <a href="#ODataABNF">OData-ABNF</a>. The preferred representation is the <code>enumerationMember</code>. If no <code>enumerationMember</code> (or combination of named enumeration members) is available, the <code>enumMemberValue</code> representation may be used.</p>
<p>Geography and geometry values are represented as geometry types as defined in <a href="#rfc7946">RFC7946</a>, with the following modifications:</p>
<ul>
<li>Keys SHOULD be ordered with type first, then coordinates, then any other keys</li>
<li>If the optional <a href="http://geojson.org/geojson-spec.html#named-crs">CRS object</a> is present, it MUST be of type <code>name</code>, where the value of the <code>name</code> member of the contained <code>properties</code> object is an EPSG SRID legacy identifier, see [<a href="#GeoJSON-2008">GeoJSON-2008</a>].</li>
</ul>
<p>Geography and geometry values are represented as geometry types as defined in <a href="#rfc7946">RFC7946</a>.</p>
<p>Geography and geometry types have the same representation in a JSON payload. Whether the value represents a geography type or geometry type is inferred from its usage or specified using the <a href="#ControlInformationtypeodatatype"><code>type</code></a> control information.</p>
<div class="example">
<p>Example 12:</p>
Expand Down Expand Up @@ -2011,8 +2007,6 @@ <h6 id="rfc8259"><a name="rfc8259">[RFC8259]</a></h6>
<h2 id="a2-informative-references"><a name="InformativeReferences" href="#InformativeReferences">A.2 Informative References</a></h2>
<h6 id="ecmascript"><a name="ECMAScript">[ECMAScript]</a></h6>
<p><em>ECMAScript 2023 Language Specification, 14th Edition</em>, June 2023. Standard ECMA-262. <a href="https://www.ecma-international.org/publications-and-standards/standards/ecma-262/">https://www.ecma-international.org/publications-and-standards/standards/ecma-262/</a>.</p>
<h6 id="geojson-2008"><a name="GeoJSON-2008">[GeoJSON-2008]</a></h6>
<p><em>Butler, H., Daly, M., Doyle, A., Gillies, S., Schaub, T., and C. Schmidt, "The GeoJSON Format Specification", June 2008</em> <a href="http://geojson.org/geojson-spec.html">http://geojson.org/geojson-spec.html</a>.</p>
<hr />
<h1 id="appendix-b-safety-security-and-privacy-considerations"><a name="SafetySecurityandPrivacyConsiderations" href="#SafetySecurityandPrivacyConsiderations">Appendix B. Safety, Security and Privacy Considerations</a></h1>
<p>This specification raises no security issues.</p>
Expand Down
14 changes: 1 addition & 13 deletions docs/odata-json-format/odata-json-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -1387,15 +1387,7 @@ combination of named enumeration members) is
available, the `enumMemberValue` representation may be used.

Geography and geometry values are represented as geometry types as
defined in [RFC7946](#rfc7946), with the following
modifications:

- Keys SHOULD be ordered with type first, then coordinates, then any other keys
- If the optional [CRS
object](http://geojson.org/geojson-spec.html#named-crs) is present, it
MUST be of type `name`, where the value of the
`name` member of the contained `properties` object
is an EPSG SRID legacy identifier, see [[GeoJSON-2008](#GeoJSON-2008)].
defined in [RFC7946](#rfc7946).

Geography and geometry types have the same representation in a JSON
payload. Whether the value represents a geography type or geometry type
Expand Down Expand Up @@ -3774,10 +3766,6 @@ http://tools.ietf.org/html/rfc8259.
###### <a name="ECMAScript">[ECMAScript]</a>
_ECMAScript 2023 Language Specification, 14th Edition_, June 2023. Standard ECMA-262. https://www.ecma-international.org/publications-and-standards/standards/ecma-262/.

###### <a name="GeoJSON-2008">[GeoJSON-2008]</a>
_Butler, H., Daly, M., Doyle, A., Gillies, S., Schaub, T., and C. Schmidt, "The GeoJSON Format Specification", June 2008_
http://geojson.org/geojson-spec.html.

-------

# <a name="SafetySecurityandPrivacyConsiderations" href="#SafetySecurityandPrivacyConsiderations">Appendix B. Safety, Security and Privacy Considerations</a>
Expand Down
10 changes: 1 addition & 9 deletions odata-json-format/7 Structural Property.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,7 @@ combination of named enumeration members) is
available, the `enumMemberValue` representation may be used.

Geography and geometry values are represented as geometry types as
defined in [RFC7946](#rfc7946), with the following
modifications:

- Keys SHOULD be ordered with type first, then coordinates, then any other keys
- If the optional [CRS
object](http://geojson.org/geojson-spec.html#named-crs) is present, it
MUST be of type `name`, where the value of the
`name` member of the contained `properties` object
is an EPSG SRID legacy identifier, see [[GeoJSON-2008](#GeoJSON-2008)].
defined in [RFC7946](#rfc7946).

Geography and geometry types have the same representation in a JSON
payload. Whether the value represents a geography type or geometry type
Expand Down
4 changes: 0 additions & 4 deletions odata-json-format/Appendix.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ http://tools.ietf.org/html/rfc8259.
_ECMAScript 2023 Language Specification, 14th Edition_, June 2023. Standard ECMA-262.
https://www.ecma-international.org/publications-and-standards/standards/ecma-262/.

###### <a name="GeoJSON-2008">[GeoJSON-2008]</a>
_Butler, H., Daly, M., Doyle, A., Gillies, S., Schaub, T., and C. Schmidt, "The GeoJSON Format Specification", June 2008_
http://geojson.org/geojson-spec.html.

-------

# Appendix ##asec Safety, Security and Privacy Considerations
Expand Down