Distance is a web application that using Flask as Web framework. In order to find the furthest distance in the world from your location.
Data using Gaode Maps API(in China) and Google Maps API.
Distance is a system that find specific location and antipodes. In other words, it's a system that find the furthest distance in the world from your location.includes:
- /: Find the geographical position of the current location and antipodes. (The current position must be in China)
- Input: 北京天安门 (Simplified Chinese)
- /googlemap: Find the geographical position of the current location and antipodes.
- Input: New York City (Simplified Chinese or English)
- /latlng: Find the location of a given latitude and longitude.
- Input: 39, 112 (lat,lng)
- A RESTful API server
- Send the query result to the mail
Antipode: The antipode of any place on the Earth is the place that is diametrically opposite it, so a line drawn from the one to the other passes through the centre of the Earth and forms a true diameter. For example, the antipodes of New Zealand's lower North Island lie in Spain. Most of the Earth's land surfaces have ocean at their antipodes, this being a consequence of most land being in the land hemisphere.
There is a Web site built with Distance, just try it.
homepage:
Input a location(in China). For example:
If you want to query the foreign address, using /googlemap. For example:
If you want to query the longitude and latitude corresponding geographic location, using /latlng. For example:
If you want to see the appearance of the distance, just using Google street view. For example:
The quality of the picture is a bit poor, but actual effect is very clear. so, just try it.
Want deploy Distance system of you own? Check Distance Deploy Doc for deploy guide.
- Fork me
- Create a new branch from dev branch
- Add your code, comment, document and meaningful commit message
- Add yourself to CONTRIBUTION.md and describe your work
- PR to dev branch
Thanks all contributors!
You can see a list of contributors in CONTRIBUTIONS.md.
- Thanks Google Maps and her developers
- Thanks Gaode Maps and her developers
- Thanks Python language
- Thanks Flask Web framework and her developers
- Thanks Flask-GoogleMaps and her developers
- Thanks Atom and her developers
- Thanks open source
All code of Distance system are open source, based on GPL license.
See LICENSE.