Skip to main content

Python Geospatial Library

Project description

The Python Geospatial Library, Geotran, is a comprehensive toolkit for geospatial data preprocessing, analysis, and modeling. It provides a variety of functions for transforming and manipulating geospatial data, including data normalization, resampling, filtering, and feature selection. It also offers a range of analytical techniques, such as spatial clustering, classification, and regression, as well as machine learning algorithms for predictive modeling.

Geotran is designed to work with a variety of geospatial data formats, including shapefiles, GeoJSON, and raster data. It also supports integration with popular geospatial tools and platforms, such as QGIS, GDAL, and ArcGIS.

Geotran is widely used in the geospatial industry, research, and open-source communities for developing geospatial applications, performing spatial analysis, and modeling complex geospatial phenomena.

Example:

from geotran import raster
from matplotlib import pyplot


fig, (axr, axg, axb) = pyplot.subplots(1,3, figsize=(21,7))

raster.plot('T60GVV.tif',bands=[3],ax=axr, title="Red", cmap='Reds')
raster.plot('T60GVV.tif',bands=[2],ax=axg, title="Green", cmap="Greens")
raster.plot('T60GVV.tif',bands=[1],ax=axb, title="Blue", cmap="Blues")
![Alt text](image.png)

input_raster_files = ['blue.tif', 'green.tif',
                      'red.tif', 'red-edge.tif', 'nir.tif']
output_raster_file = datetime.now().strftime("%d%m%Y%H%M%S") + "_stacked.tif"

stacked_file = stack_rasters(input_raster_files, output_raster_file, band_names=[
                             'blue', 'green', 'red', 'rededge', 'nir'])

clip_raster_by_shp(raster_file, shapefile, output_file, epsg_code=2193)

(more)

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

geotran-0.1.5.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

geotran-0.1.5-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file geotran-0.1.5.tar.gz.

File metadata

  • Download URL: geotran-0.1.5.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for geotran-0.1.5.tar.gz
Algorithm Hash digest
SHA256 e2ee6b606565479fc948b8e8565271c70a5c2150f0dcf3f5c1de0bcf60871833
MD5 be722e766cc1897a6e9a3b007751b850
BLAKE2b-256 b739e497663449976093a865bd5d9baf2283699aee5e5cb6172608cb71091639

See more details on using hashes here.

File details

Details for the file geotran-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: geotran-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for geotran-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 41801c4845e88d1b2765cc1fda9a4eb0a717e228fae8378340f91ba388e956a0
MD5 14df720d27c230f07e517b251c54839a
BLAKE2b-256 1e8c8df2ba62fd60cd1f6246d8382f71aa935c147faf3b4215b3f0398850fd70

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