Skip to content

Config Option: lat/long -> long/lat #49

@sudowing

Description

@sudowing

Initial development of geoqueries relied on rest args sent in long,lat order for radius and bbox.

It is more intuitive to work with lat/long, but in order to prevent a version break -- this should be introduced by an optional config option.

GEO_RADIUS:
https://github.com/sudowing/service-engine/blob/develop/src/database.ts#L76

GEO_BBOX:
https://github.com/sudowing/service-engine/blob/develop/src/database.ts#L64

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions