geoshapes

A basic geospatial geoprocessing library on experimental design


Keywords
experimental, design, spatial, analysis, interpolation
License
MIT
Install
pip install geoshapes==0.0.4

Documentation

geoshapes

Geospatial Experimental Design with GIS Analytics

Install pypi library

pip install geoshapes

Example

import string, shapely, geopandas
from geoshapes import splitShape
pointShape = shapely.geometry.Point(0.0, 0.0)
c = splitShape.splitCircle(pointShape, 150, 45, clipInterior = False, innerWidth = 50, getGeom = 'Both')
ft = geopandas.GeoDataFrame(geometry = c, crs = 'EPSG:3857')
ft['ids'] = range(len(ft))
ft['Group']= ft.apply(lambda row : string.ascii_uppercase[int(row.ids)], axis = 1)
ft.plot(cmap = 'tab20')

Split a circle geometry with defined indentifier as a treatment plot

License

MIT