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.1.0.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geomob-0.1.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for geomob-0.1.0.tar.gz
Algorithm Hash digest
SHA256 de02bfd962668b5655d665214746d2245b6d745dd4ed93ce0e4a3097ca787917
MD5 2a703f95fb381b26444373abeff4ccdc
BLAKE2b-256 7046a69607ff19152ee88ed28fe347b2edc631ceb5af74c641c70d9be1b0e8c3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for geomob-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 286e12e52f06a79d230e061b8ab1778675ff38e529dab71ac9c6830ae5ca6b4f
MD5 fdf30a0a991694e5e16e28d16a0d83c8
BLAKE2b-256 e038e9713f86b9ccea3ed44d8211639fa1cf2cba012e351fc901c6465ee96280

See more details on using hashes here.

Supported by

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