Re:Getting started with maps in Python
by julienchastang on Wednesday August 05, 2015 @12:48PM
(#10011059)
I've been working in this area and I do generally prefer Cartopy over Basemap. Our team recently made this switch. Cartopy is more Pythonic and has a better software design. It has nice abstraction for dealing with and using different map projections. It also handles seam issues well (I cannot recall if this is a problem in Basemap or not). All that said, Basemap has features that are lacking in Cartopy (e.g., can you label lat/lon lines on non-XY projections in Cartopy? The last time I looked, this was not possible.) Also I agree that Cartopy documentation is somewhat lacking in some areas. But going forward I would probably choose Cartopy, notwithstanding Jeff's great work over the years.
Re:Getting started with maps in Python
by urschrei on Wednesday August 05, 2015 @12:23PM
(#10010886)
I'm the author of http://sensitivecities.com/so-youd-like-to-make-a-map-using-... and make maps using Python all the time.
I'd love to switch to Cartopy, but its documentation isn't comprehensive or well-presented. I check back every six months or so, and then forget about it again.
Re:Getting started with maps in Python
by maxberggren on Wednesday August 05, 2015 @01:04PM
(#10011186)
This one really helped me back when I needed choropleth maps. So thanks!
Re:Getting started with maps in Python
by makmanalp on Wednesday August 05, 2015 @11:11AM
(#10010312)
I myself prefer Kartograph, which exports SVGs and I think yields very pretty maps: http://kartograph.org/
Kartograph is quite nice. I need to play around with it more.
However, it's aimed at a very different audience (web-based interactive rendering of vector graphics, as opposed to desktop-based interactive rendering of scientific data). For example, as far as I know (I could be very wrong about this), there's no way to display image/raster data in kartograph.
That having been said, kartograph is a very slick library, and its built-in clustering methods for point data are particularly nice.
Re:Getting started with maps in Python
by maxberggren on Wednesday August 05, 2015 @01:03PM
(#10011174)
OP here. Cartopy is actually news to me! Thanks for the info! HN at its finest.
Edit: Scratch the Winkel Tripel projection support. Proj4 doesn't define an inverse method for that projection (it's non-trivial), so it can't be used correctly by cartopy.