GeoJikuu is a Python library for analysing geographical data that contains both spatial and spatiotemporal variables.
Project description
Overview
GeoJikuu is an open-source Python library designed for geospatial analysis. Although it works in any Python environment, it is particularly suited for use with Pandas DataFrames in Jupyter Notebooks. The current version of GeoJikuu is considered alpha, with GeoJikuu v1.0 set for release later in 2024. Despite being an alpha version, it already offers functionalities for calculating spatial and spatiotemporal descriptive statistics, performing spatial and spatiotemporal aggregation, and conducting spatial and spatiotemporal hypothesis testing. Preliminary documentation is available at geojikuu.com/docs.
Installation
GeoJikuu can be installed via:
pip install geojikuu
Usage Example
Projecting coordinates to Cartesian form and running Global Moran's I:
from geojikuu.hypothesis_testing.autocorrelation import GlobalMoranI
from geojikuu.preprocessing.projection import CartesianProjector
cartesian_projector = CartesianProjector("wgs84")
data = {
"lat": [34.6870676, 34.696109, 34.6525807, 35.7146509, 35.6653623, 35.6856905,
33.5597115, 33.5716997, 33.5244701, 33.5153417, 33.5206116, 33.4866878],
"lon": [135.5237618, 135.5121774, 135.5059984, 139.7963897, 139.7254906, 139.7514867,
130.3818748, 130.4030704, 130.4063441, 130.4373212, 130.4841434, 130.5220605],
"value": [2, 3, 1, 4, 4, 2, 5, 6, 5, 7, 8, 8]
}
df = pd.DataFrame.from_dict(data)
results = cartesian_projector.project(list(zip(df["lat"], df["lon"])))
df["cartesian_coordinates"] = results["cartesian_coordinates"]
unit_conversion = results["unit_conversion"]
global_moran_i = GlobalMoranI(data=df, coordinate_label="cartesian")
global_moran_i.run(input_field="value", critical_distance=10/unit_conversion)
Future Updates
The following additions and improvements can be expected in GeoJikuu v1.0:
- In-built visualisation
- Optimised algorithms for efficient operations on large datasets
- Many additional modules for performing various types of spatial, temporal, and spatiotemporal analyses
- Improved packaging and module designs that are more suitable for representing and working with spatial structures
- Improved documentation and the introduction of a blog and newsletter
Contact
If you are interested in the project and have any questions or implementation requests, please direct your correspondence to admin@gaiaabstract.com. Feedback from academic and professional researchers is particularly welcome.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file geojikuu-0.27.55.tar.gz.
File metadata
- Download URL: geojikuu-0.27.55.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24b5c255082d5cf1cc042d6ead0a3db91dadfc8b91ad90f0c3a473cae21e3b55
|
|
| MD5 |
8c911d0c015d70e5744d881513ec60b8
|
|
| BLAKE2b-256 |
ea6144d3d1ec0bbc721430c4b82a2c4940ec44ffb93b29b9f8d3cb2dc8285542
|
File details
Details for the file geojikuu-0.27.55-py3-none-any.whl.
File metadata
- Download URL: geojikuu-0.27.55-py3-none-any.whl
- Upload date:
- Size: 25.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae7a3af569c2c7935d1aedd90237b182d26296d206502ecc0be9e9b4429b91d5
|
|
| MD5 |
2ab9eacf170497c8fb14ee2708ea0072
|
|
| BLAKE2b-256 |
e7cfa7bd724002a2a83487e331a823bde71d312b787aafd94275f3ef4776854f
|