diff --git a/GPSminCir.py b/GPSminCir.py index cea534a..b2240dd 100644 --- a/GPSminCir.py +++ b/GPSminCir.py @@ -1,7 +1,7 @@ #!/usr/bin/env python ''' @Author: Xiangwen Wang -@Version: 1.0.3 +@Version: 1.0.5 @Description: A tool to calculate the radius of the smallest circle which covers the given GPS track. @Input: [[lat1, lon1], [lat2, lon2], [lat3, lon3], ...] @Output: (O, r), where O and r are respectively the position and the radius of the smallest circle. diff --git a/README.md b/README.md index 4230ea0..f514c82 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ GPSpairs = [[51.764865, -0.003145], [51.764865, -0.003145], [51.764865, -0.00314 [51.764190, -0.003530], [51.764068, -0.005696], [51.764053, -0.007808], [51.764746, -0.008535], [51.764721, -0.009518], [51.765195, -0.010123]] res = GPSminCir.MinCir(GPSpairs) -print res +print(res) ``` The output would be: ``` diff --git a/setup.py b/setup.py index 2f9c002..e9e7a5e 100644 --- a/setup.py +++ b/setup.py @@ -3,12 +3,11 @@ setup( name='GPSminCir', py_modules=["GPSminCir"], - version='1.0.3', + version='1.0.5', description='A tool to calculate the position and radius of the smallest circle that covers the given GPS track.', author='Xiangwen Wang', author_email='wangxiangwen1989@gmail.com', url='https://github.com/XiangwenWang/GPSminCir', - download_url='https://github.com/XiangwenWang/GPSminCir/tarball/1.0.3', license="MIT", keywords=['GPS', 'smallest circle'], classifiers=[],