Skip to main content

Geospatial and mobility data library

Project description

GeoMob

Welcome to GeoMob, a lightweight library designed to facilitate working with geospatial data. At the moment this library provides essential tools for preprocessing and tessellating geospatial mobility data, making it an excellent choice for developers and researchers in the field of geographic information systems (GIS). I am planning to add many more features. Stay tuned!

Features

Current functionalities

  1. Preprocess Module

    • Convert input GeoJSON formats into Shapely Geometries.
    • A lightweight improved version of a stop detection algorithm (2004, Ramaswamy, H., Toyama, K.).
    • A custom made algorithm to detect clean user's trips.
    • A location function to rank users locations during a time window based on different criterions.
    • A function to compress (into an OD table) user's trips.
  2. Tessellate Module

    • Module to discretize the space of a shape.
    • Support for many tessellation algorithms (e.g., Squared, S2, GeoHash, H3, Voronoi, etc.)
    • Function to simplify complex polygons into a complex of triangles
    • Efficient function to compute a random set of points in a polygon (useful for synthetic data generation, and for the randomized version of the Voronoi tessellation when points are not provided etc.)
  3. Routing Module

    • It supports only iGraph at the moment
    • A simple python isochrone algorithm (not very efficient with large graphs)
  4. Retrieve Module

    • A simple function to query OSM for geometries
  5. Plot Module

    • At the moment it contains just a function to plot dataframes on KeplerGl

Installation

To install GEOMOB, you can use pip:

pip install geomob

Contributing

I welcome contributions from the community. If you would like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Commit your changes and push your branch to your fork.
  4. Submit a pull request to our main repository.

Please ensure all contributions adhere to our coding standards and include appropriate tests.

License

GEOMOB is licensed under the MIT License. See the LICENSE file for more information.

Contact

If you have any questions or need further assistance, feel free to open an issue on GitHub or contact me at lwdovico@protonmail.com

Happy Mapping!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geomob-0.0.8.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

geomob-0.0.8-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file geomob-0.0.8.tar.gz.

File metadata

  • Download URL: geomob-0.0.8.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for geomob-0.0.8.tar.gz
Algorithm Hash digest
SHA256 746bd67726be83cd81545267eaef887d6ecf0d2cbfcc735b2374935ab92925c7
MD5 fb55e7f72a540f2eba4d83bf82b7f66b
BLAKE2b-256 0ee423f73d6de0dd45da476c7c446fb1999814c9f9131a5e64031c3891ca0e71

See more details on using hashes here.

File details

Details for the file geomob-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: geomob-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for geomob-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 127cd0f641b53fbd784f54074149e59dde3a7c6540ae0ac68e3dd48bc99d035c
MD5 203a4b31b569f8b3fd87a873084052ab
BLAKE2b-256 c43791272c3e358d6d4e8b9e7f0048ca33d17e768422799697fa5ffc965c6562

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page