jbaileyh / geogrid

Turning geospatial polygons into regular or hexagonal grids. For other similar functionality see the tilemaps package https://github.com/kaerosen/tilemaps
Other
393 stars 31 forks source link

Porting to python #36

Open phloose opened 4 years ago

phloose commented 4 years ago

I am in charge of implementing a tool to convert polygons from shapefiles (or other geo data formats) to equal area cartogram representations. I stumbled over your R implementation and it looks exactly like what i want to achieve.

Would it be ok for you if i port parts of your code to a python package? I am asking because the Licence file is mostly empty :) Of course i would reference this repo here.

Thanks in advance

jbaileyh commented 4 years ago

Very kind of you to ask! Please feel free to use as much of this functionality as could be useful. And repurpose the code in any way you see fit. I'll add a license as soon as possible. If you're happy to share the progress or a link to a repo i'd welcome it.

phloose commented 4 years ago

Thanks for your reply and willingness! Currently i am working out what the functions of your R package are doing in detail. You can watch the progress at https://gitlab.com/phloose/pyeac/. The development takes place in the dev branch.

phloose commented 4 years ago

@jbaileyh if you are interested: In the last days i worked on a first functional version that creates regular or hexagonal grids on the dev branch.