aws-regions icon indicating copy to clipboard operation
aws-regions copied to clipboard

Added latitude and longtitude

Open Sumo99 opened this issue 6 years ago • 2 comments

For issue #11

Sumo99 avatar Mar 15 '19 15:03 Sumo99

Can you update the data structure to be more clear on what the coordinates are for? Instead of:

latitude: ...
longitude: ...

I'm thinking something like this would be better (also leaves room for more location data in the future):

location: {
	area_coordinates: {
		latitude: ...
		longitude: ...
	}
}

jsonmaur avatar Mar 19 '19 03:03 jsonmaur

In fact, it would be better if you could get the actual data center locations (or as close as possible) as outlined here and make the structure:

location: {
	country_code: ...
	coordinates: {
		latitude: ...
		longitude: ...
	}
}

The region data in this repo is based on EC2, so make sure you look up IP addresses for EC2 endpoints.

jsonmaur avatar Mar 19 '19 03:03 jsonmaur