happyjack27 / autoredistrict

Programmatically makes a fair congressional district map (prevents gerrymandering)
GNU General Public License v3.0
89 stars 14 forks source link

Use geotools for shapefile functionality #14

Open carlschroedl opened 8 years ago

carlschroedl commented 8 years ago

We depend on geotools and a lot of tools that depend on geotools at the USGS. It's a stable, well-tested, actively-developed, and widely-used geospatial library. We can import only the shapefile functionality into autoredistrict.

Docs on the shapefile module: http://docs.geotools.org/latest/userguide/library/data/shape.html

Advantages of geotools over current checked-in dependencies:

happyjack27 commented 8 years ago

the only functionality i need from shapefile is:

i found the smallest and simplest package i could for that and used only what was needed.

i want to keep unneccessary code complexity to a minimum.

happyjack27 commented 8 years ago

need some enhancement ideas that would justify the extra code first. no need to add the extra code if there literally is no need to add the extra code.