Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-357

Use GeoJSON in JSON and GML in Atom to represent geo types

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_WD01
    • Fix Version/s: V4.0_WD01
    • Component/s: ATOM Format, JSON Format
    • Labels:
      None
    • Environment:

      [Applied]

      Description

      Right now we use a common literal format based on "Well Known Text" for literals within URLs, serializing in ATOM, and serializing in JSON.

      Well-known-text defines a convenient format for URLs, yowever, both Atom and JSON have "native" representations of geo types. The most natural representation in ATOM is the xml representation GML. GeoJSON appears to be the most broadly accepted way to encode geo types in JSON. It works very well in JSON.

      It would be unfortunate to force consumers in XML or JSON to have to understand formats that are not common in each environment, and unfortunate to have extra brackets or curly braces in URLs

        Attachments

          Activity

          mikep Michael Pizzo (Inactive) created issue -
          mikep Michael Pizzo (Inactive) made changes -
          Field Original Value New Value
          Environment [Proposed [Resolved]
          ralfhandl Ralf Handl made changes -
          Status New [ 10000 ] Open [ 1 ]
          ralfhandl Ralf Handl made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          ralfhandl Ralf Handl made changes -
          Component/s OData ATOM Format [ 10271 ]
          Environment [Resolved] [Applied to JSON]
          Summary Use GeoJSON to format geo types in JSON Use GeoJSON in JSON and GML in Atom to represent geo types
          ralfhandl Ralf Handl made changes -
          Environment [Applied to JSON] [Applied]

            People

            • Assignee:
              Unassigned
              Reporter:
              mikep Michael Pizzo (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: