Skip to content

Some places coming out as being located on null island #2

@MoralCode

Description

@MoralCode

context: null island is a location in the ocean off the african coast where the lat/long is 0,0.

i just exported my saved places and about 4/6 of them are being set to null island.

I checked the source data and it seems like the place in the geojson where the coordinates are stored is indeed providing coordinates of 0,0, however, theres a google maps URL field that contains more plausible coordinates.

from the geoJSON:

 {
      "geometry": {
        "coordinates": [
          0,
          0
        ],
        "type": "Point"
      },
      "properties": {
        "date": "2024-05-28T18:42:08Z",
        "google_maps_url": "http://maps.google.com/?q=42.30039043516156,-71.12115081399679",
        "Comment": "No location information is available for this saved place"
      },
      "type": "Feature"
    },

Would it be helpful to include detection for these null coordinates and replacing them with the coordinates from the url?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions