Open goepi opened 4 years ago
GeoJSON: [lng, lat] Google Maps: lat,lng
@nodeful Try opening Google Maps and inputting the coordinates I pasted in the example above. Whichever order you use for the coordinates, you do not end up in the Netherlands. Same goes for other countries using this API, such as the UK.
You can edit the data here: /modules/data/src/seeds/places/countries/data.json
Ok sure I can potentially do that but one question: where did the seed data originally come from?
There are potentially many incorrect coordinates, so perhaps best to get to the root of the issue
That's mentioned in the README. I would discourage to use our API at this point. The project hasn't picked up much traction so our company can't continue supporting it further.
gotcha ok
I am a bit new to developing using maps, but I got google maps up and running quickly and I wanted to display some of the data on a google map using longitude and latitude.
For example, GET https://api.coronatab.app/places/netherlands?include[]=children returns
What are the coordinates there? When I locate them on google maps, it's the middle of the ocean. This sort of thing happens for many countries, but not for others. Am I missing something completely by assuming that GeoJSON is longitude and latitude here?