Skip to content

Query output formats (Esri JSON, GeoJSON) #9

@mikemcdougall

Description

@mikemcdougall

Summary

Support multiple output formats for query results.

Tasks

  • Implement Esri JSON formatter
  • Implement GeoJSON formatter
  • Add format parameter parsing (f=json, f=geojson)
  • Implement outFields parameter for attribute filtering
  • Implement returnGeometry parameter
  • Add format negotiation logic
  • Set appropriate Content-Type headers
  • Add unit tests for formatters
  • Add integration tests for each format
  • Document supported formats

Acceptance Criteria

  • f=json returns Esri JSON (default)
  • f=geojson returns GeoJSON FeatureCollection
  • outFields filters returned attributes
  • returnGeometry=false omits geometry

Legacy Reference

  • ../Honua.Server/src/protocol/geoservices/Formatters/

Test Plan

  • Integration test: Esri JSON format validates
  • Integration test: GeoJSON format validates
  • Integration test: outFields limits properties

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocks-others🔗 This issue blocks other work - prioritize completioneffort/M🌿 M: 4-8 hours (feature implementation, integration tests)enhancementNew feature or requestphase/MVPMVP scopepriority/P1🔥 High priority - blocks current phase completion, work within 48h

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions