Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Standardize listing location format #300

Description

@franckc

Currently when creating a new listing, the location is a free text field. Origin.js does not enforce neither any sort of standard formatting/schema for the location.

In order to be able to index the data and implement search based on listing location (ex: search for listings in a particular country, state or city, or within a given geographic radius), we need to standardize the location data. One idea would be to store in the listing location both:

  • normalized address format
  • (latitude, longitude)

One possible solution would be to have the DApp integrate with Google Maps APIs or any other similar service that provides similar functionalities. In addition, we could also add some validation at the Origin.js layer to enforce that new listings are created with a valid location.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Users are not significantly affected, minor cosmetic issueenhancementNew feature or requestjavascript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions