Skip to content

Find the furthest distance in the world from your location using Google Maps and Gaode Maps(China).

License

Notifications You must be signed in to change notification settings

Tiierr/Distance

Repository files navigation

Distance - Find the furthest distance in the world.

中文版

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.

Introduction

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)

Other parts (in plan)

  • 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.

Demo

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:

/googlemap

If you want to query the longitude and latitude corresponding geographic location, using /latlng. For example:

/latlng

Other functions

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.

Deploy

Want deploy Distance system of you own? Check Distance Deploy Doc for deploy guide.

Contribution

  • 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.

Acknowledgements

  • 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

License

All code of Distance system are open source, based on GPL license.

See LICENSE.

About

Find the furthest distance in the world from your location using Google Maps and Gaode Maps(China).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages