mggg / maup

The geospatial toolkit for redistricting data.
https://maup.readthedocs.io/en/latest/
MIT License
67 stars 23 forks source link

Set CRS in `adjacencies` #20

Closed maxhully closed 5 years ago

maxhully commented 5 years ago

maup.adjacencies returns a GeoSeries of all the pairwise intersections of the input geometries. This should have the same CRS as the original geometries. This PR sets that CRS and includes a test to verify this behavior.

codecov-io commented 5 years ago

Codecov Report

Merging #20 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #20   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           9      9           
  Lines         198    198           
=====================================
  Hits          198    198
Impacted Files Coverage Δ
maup/adjacencies.py 100% <100%> (ø) :arrow_up:
maup/__init__.py 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a546546...0e48bb5. Read the comment docs.