Skip to content

check and fit child geom into parent polygon. Example: can we relocate a home to your plot.

License

Notifications You must be signed in to change notification settings

karunakar2/kPolyFitsGeom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The package has several external module dependencies. This module has been tested for basic functionality and reproduces reasonable results future version to include tests

The package implementation is straight forward. The following code is self explanatory.

Two geopandas dataframe are required.

  1. the polygons table into which others are to be checked and moved.
  2. the polygon that will go in and sit in the above.

from kPolyFitsGeom import kPolyFitsGeom myAlg = kPolyFitsGeom(plotsOfInterest,homesTemplate) myAlg.run()

def myPlots(): ax = plotsOfInterest.plot() myAlg.sampleFittedGeometry.plot(ax=ax,color='k',alpha=0.33) plt.show() myPlots()

About

check and fit child geom into parent polygon. Example: can we relocate a home to your plot.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages