New answers tagged geolocation
I think your best bet is going to be downloading GIS data for populated places and coastlines (Natural Earth is an oft-recommended source) and performing a proximity analysis using GIS software to exclude all places except those matching some criteria, e.g. within 10 miles of a coastline. Bear in mind the world is a big place, and the coastlines are very ...
There is no simple and accurate way to do it because ellipsoid. conversion to meters varies depending latitude. See : Length of a degree: where do the terms in this formula come from? one way to make it very simple (but not very accurate) is use table from http://en.wikipedia.org/wiki/Decimal_degrees. use 0.001 degrees and trigonometry to solve points
You might be interested in Traccar which does exactly what you are looking for. Plus it is open source. Plus it is already a web-server. Plus you can install it on Amazon Ec2 and link the database with Amazon RDS service.
Top 50 recent answers are included