[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-597) Seeking clarification of naming for GeographyCollection with GeoJSON
[ https://tools.oasis-open.org/issues/browse/ODATA-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Pizzo updated ODATA-597:
--------------------------------
Proposal:
I propose we don't introduce new properties/annotations at this point; that a geographyCollection is represented as a geometryCollection with "geometries" as the property name. Whether it is to be interpreted as geography or geometry is based on metadata.
was:
Clarify the situation (presumably without forcing an unwanted change onto GeoJSON).
In other words, clarify that a GeographyCollection contains a member with the name "geometries", and that the type will be "GeometryCollection".
> Seeking clarification of naming for GeographyCollection with GeoJSON
> --------------------------------------------------------------------
>
> Key: ODATA-597
> URL: https://tools.oasis-open.org/issues/browse/ODATA-597
> Project: OASIS Open Data Protocol (OData) TC
> Issue Type: Improvement
> Components: OData JSON Format
> Affects Versions: V4.0_OS
> Reporter: Evan Ireland
> Fix For: V4.0_ERRATA01
>
>
> GeoJSON section 2.1.8 states:
> A GeoJSON object with type "GeometryCollection" is a geometry object which represents a collection of geometry objects.
> A geometry collection must have a member with the name "geometries". The value corresponding to "geometries" is an array. Each element in this array is a GeoJSON geometry object.
>
> Can we assume that for OData, a GeographyCollection contains a member with the name "geographies", as opposed to "geometries", and that the "type" will be "GeographyCollection" rather than "GeometryCollection"?
> Or do we assume that the "geometry" naming is used in the GeoJSON format, even for "geography" types?
--
This message was sent by Atlassian JIRA
(v6.1.1#6155)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]