Skip to content

mlmarius/regionclasser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Region classer

Classes used to classify the regions in and around Romania into usefull tags.

Installation

pip install git+git://github.com/mlmarius/regionclasser.git

Usage

Get classes for a particular point:

getRegionClasses(45.8, 25.2) == ['romania']

Instantiate and use custom region classer:

rc =  RegionClasser(<path to shapefiles directory>)
rc.plotRegions()            # plot regions to screen for visual inspection
rc.getClasses(lat, lon)     # get regions containing this point

Tests

Self tests inside the classer.py file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages