Skip to content

geojoek/GIS_Python_Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

GIS_Python_Scripts

Scripts I've made to do various little things in GIS using either OSGEO libraries or arcpy. All scripts generally written for Python 3.x

create_rectangle.py

Sometimes you just need to create a rectangle with a specific aspect ratio. This script will do that given the upper left XY coordinate of that rectangle, the aspect ratio, the length (in map units) of the shortest side of the rectangle, your spatial reference, and whether your want it in landscape or portrait orientation.

Writes out a shapefile with the rectangle.

Weird things probably happen, depending on which projection you're using, if you are doing this over a Rather Large Area...

Requires osgeo module: https://anaconda.org/conda-forge/gdal

scale_features.py

A simple script using the Fiona and Shapely libraries to uniformly scale features using an affine transformation

About

Scripts I've made to do various things in GIS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages