wmgeolab / geoBoundaries

geoBoundaries : A Political Administrative Boundaries Dataset (www.geoboundaries.org)
http://www.geoboundaries.org
Other
285 stars 51 forks source link

[FEATURE REQUEST] Improve image previews #1546

Open DanRunfola opened 3 years ago

DanRunfola commented 3 years ago

Is your feature request related to a problem you run into when using geoBoundaries or geoDesc? Please describe. The image previews we currently have are really.. not that great. I am doing a bare-bones build (basically using the geopandas plot feature), which in many cases results in sillyness like this: https://github.com/wmgeolab/geoBoundaries/blob/main/releaseData/gbOpen/AFG/ADM0/geoBoundaries-AFG-ADM0-PREVIEW.png

Describe the solution you'd like I would absolutely love someone to do a small pass at creating a nice-looking image, maybe even with a small geoBoundaries logo in the lower-right. Something someone would actually, you know, use! I don't think this would be a huge amount of work, but not something I have time for right now.

Additional context All 6 lines of code making the map now are over on the geoBoundaryBot repo, starting here: https://github.com/wmgeolab/geoBoundaryBot/blob/743e8a7ff5931e8e1e54cd0ee3d26c6c213ef9d5/gbBuild.py#L472

PRs very welcome :)))

maxmalynowsky commented 3 years ago

Generating hundreds of nice looking map images is something I've done very frequently in the past. Vega Lite has usually fit most use cases I've had for visualizations, able to give lots of styling controls, and being able to export to vector formats like SVG. To stay within the Python ecosystem I could take a look at how to integrate its port, Altair.

maxmalynowsky commented 3 years ago

These are the kind of outputs I have in mind when you mention map images people would actually use, with a logo on them: https://reliefweb.int/location-maps

DanRunfola commented 3 years ago

Oh yeah, that would be amazing!

No big rush on this one, of course, but anything you can contribute would be welcome. Probably a second-tier thing behind the gbHumanitarian push with COD, though, as I recognize your already doing a ton migrating that code :)