GooMPy | Google Maps in Python | Map library

 by   simondlevy Python Version: Current License: LGPL-3.0

kandi X-RAY | GooMPy Summary

kandi X-RAY | GooMPy Summary

GooMPy is a Python library typically used in Geo, Map applications. GooMPy has no bugs, it has no vulnerabilities, it has build file available, it has a Weak Copyleft License and it has low support. You can download it from GitHub.

Interactive Google Maps for Python. Tested with Python2.7 and Python3.6. GooMPy provides a Python interface to the Google Static Maps API, automatically downloading and stitching together map tiles into a single image that you can zoom and pan dynamically in your Python program. To support using maps when you don't have an internet connection, GooMPY provides a pre-fetching function that stores the tiles in a caching folder. To keep the amount of tile-downloading to a minimum, GooMPy doesn't have functions for adding waypoints or other annotations to the map through Google's API. To run GooMPy you'll need the Python Image Library (PIL) or equivalent (Pillow for Windows and OS X) installed on your computer. The repository includes an example using Tkinter, though you should be able to use GooMPy with other toolkits like wx and Qt.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              GooMPy has a low active ecosystem.
              It has 78 star(s) with 22 fork(s). There are 13 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 3 open issues and 2 have been closed. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of GooMPy is current.

            kandi-Quality Quality

              GooMPy has 0 bugs and 0 code smells.

            kandi-Security Security

              GooMPy has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              GooMPy code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              GooMPy is licensed under the LGPL-3.0 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              GooMPy releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              GooMPy saves you 78 person hours of effort in developing the same functionality from scratch.
              It has 202 lines of code, 27 functions and 4 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed GooMPy and discovered the below as its top functions. This is intended to give you an instant insight into GooMPy implemented functionality, and help decide if they suit your requirements.
            • Add radio button
            • Return the number of tiles required by the given coordinates
            • Grab tile from Google Maps API
            • Set maptype
            • Reloads the document
            • Explicitly change the map
            • Fetches and updates the database
            • Reload the cursor
            • Redraw the image
            • Return the image
            • Handle move event
            • Move the bounding box
            • Constrain a given range of values
            • Add a zoom button
            • Use this method to specify a zoom level
            • Zoom the zoom level
            Get all kandi verified functions for this library.

            GooMPy Key Features

            No Key Features are available at this moment for GooMPy.

            GooMPy Examples and Code Snippets

            No Code Snippets are available at this moment for GooMPy.

            Community Discussions

            Trending Discussions on GooMPy

            QUESTION

            Plotting a Google Maps route in Python
            Asked 2018-Feb-19 at 21:41

            I'm trying to develop a system that will show the user a route that GoogleMaps has calculated. I can get the route, via the googlemaps API. The system will send the API locations which the user has inputted, so the points will be arbatary.

            My current system for displaying the map is using goompy. This works by extracting tiles for a set location and then displaying them on a tkinter canvas. How do I also extract tiles for the route overlay?

            If it's not possible using goompy, could you point me in the right direction.

            Thanks

            ...

            ANSWER

            Answered 2018-Feb-19 at 21:41

            I've had a look at GooMPy on GitHub (https://github.com/simondlevy/GooMPy). The README.md contains the following text

            GooMPy provides a Python interface to the Google Static Maps API, automatically downloading and stitching together map tiles into a single image that you can zoom and pan dynamically in your Python program.

            Please be advised that the stitching of static maps tiles is prohibited by the Google Maps API Terms of Service. Have a look at paragraph 10.5 (b) of Terms of Service, it reads

            No derivative works. You will not modify or create a derivative work based on any Content unless expressly permitted to do so under these Terms. For example, the following are prohibited: (i) creating server-side modification of map tiles; (ii) stitching multiple static map images together to display a map that is larger than permitted in the Maps APIs Documentation; or (iii) tracing or copying the copyrightable elements of Google’s maps or building outlines and creating a new work, such as a new mapping or navigation dataset.

            You should use Google Maps JavaScript API or Static Maps API to draw routes and be compliant with Terms of Service.

            Have also look at paragraph 10.1 (a) that reads

            No access to APIs or Content except through the Service. You will not access the Maps API(s) or the Content except through the Service. For example, you must not access map tiles or imagery through interfaces or channels (including undocumented Google interfaces) other than the Maps API(s).

            source: https://developers.google.com/maps/terms?hl=es#10-license-restrictions

            Source https://stackoverflow.com/questions/48843991

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install GooMPy

            You can download it from GitHub.
            You can use GooMPy like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/simondlevy/GooMPy.git

          • CLI

            gh repo clone simondlevy/GooMPy

          • sshUrl

            git@github.com:simondlevy/GooMPy.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link