Basemap - UTM Support

Hi All,

Trying to move from ArcGIS into pure python GIS, but am a little surprised to find that UTM is not (directly) supported as a projection. Going through the machinations in the utmtest.py file every time I want to plot a map in UTM seems a little unwieldy.

Please excuse my ignorance, but is there a reason it is so hard to support / any plans to integrate in the future / any other easier paths to plotting UTMs I don’t know about?

Thanks,

Nick

Hi,

I only partially know what I’m talking about, but what the heck. Have you considered pyproj (which Basemap is apparently built on)? Pyproj seems to support any kind of projection you could even imagine, and a quick ggogle suggests UTM would be included.

I had to learn all about this to some depth in order to teach it last summer to a group in Vienna, and I have slides at

https://sites.google.com/a/borealscicomp.com/zamg-scientific-python-aug-sep-2014/home

and if you go to course slides, 06-PlottingMetData, starting at about Slide 60, I have some examples which lead up to Basemap. My intent was to try to get students to understand the how and why of plotting grids in projections, then moving on to Basemap. This way they might have a better idea of how to deal with Basemap when things go wrong. I think I just confused them, though :slight_smile:

At any rate, I haven’t tried it, but I think it would be fairly simple to do what you want, IF you understand some of the low-level aspects. But, maybe UTM is harder than I am imagining.

All the best,

Don Morton

···

On Mon, May 11, 2015 at 4:45 PM, Nick Eubank <nickeubank@…287…> wrote:

Hi All,

Trying to move from ArcGIS into pure python GIS, but am a little surprised to find that UTM is not (directly) supported as a projection. Going through the machinations in the utmtest.py file every time I want to plot a map in UTM seems a little unwieldy.

Please excuse my ignorance, but is there a reason it is so hard to support / any plans to integrate in the future / any other easier paths to plotting UTMs I don’t know about?

Thanks,

Nick


One dashboard for servers and applications across Physical-Virtual-Cloud

Widest out-of-the-box monitoring support with 50+ applications

Performance metrics, stats and reports that give you Actionable Insights

Deep dive visibility with transaction tracing using APM Insight.

http://ad.doubleclick.net/ddm/clk/290420510;117567292;y


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Don Morton, Owner/Manager

Boreal Scientific Computing LLC

Fairbanks, Alaska USA

http://www.borealscicomp.com/

http://www.borealscicomp.com/Miscellaneous/MortonBio/

Thanks Don. The consensus seems to be that I need to move to Cartopy, which apparently supersedes Basemap.

(Just realized the helpful responses I received weren’t cc’d to the list, so responding here for the record).

···

Don Morton, Owner/Manager

Boreal Scientific Computing LLC

Fairbanks, Alaska USA

http://www.borealscicomp.com/

http://www.borealscicomp.com/Miscellaneous/MortonBio/

On Mon, May 11, 2015 at 4:45 PM, Nick Eubank <nickeubank@…287…> wrote:

Hi All,

Trying to move from ArcGIS into pure python GIS, but am a little surprised to find that UTM is not (directly) supported as a projection. Going through the machinations in the utmtest.py file every time I want to plot a map in UTM seems a little unwieldy.

Please excuse my ignorance, but is there a reason it is so hard to support / any plans to integrate in the future / any other easier paths to plotting UTMs I don’t know about?

Thanks,

Nick


One dashboard for servers and applications across Physical-Virtual-Cloud

Widest out-of-the-box monitoring support with 50+ applications

Performance metrics, stats and reports that give you Actionable Insights

Deep dive visibility with transaction tracing using APM Insight.

http://ad.doubleclick.net/ddm/clk/290420510;117567292;y


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Nick,

Just to be clear, cartopy is intended to supersede basemap, but there are still many advantages at the moment to basemap over cartopy. The codebase is much more mature, and it is much easier to install than cartopy. I still regularly use basemap because I don’t need the more advanced features of cartopy (yet).

This isn’t to discourage you from cartopy, just simply to help put the utility of the projects in the right context.

Cheers!

Ben Root

···

On Wed, May 13, 2015 at 6:20 PM, Nick Eubank <nickeubank@…287…> wrote:

Thanks Don. The consensus seems to be that I need to move to Cartopy, which apparently supersedes Basemap.

(Just realized the helpful responses I received weren’t cc’d to the list, so responding here for the record).

On Wed, May 13, 2015 at 1:47 PM Don Morton <don.morton@…4517…> wrote:

Hi,

I only partially know what I’m talking about, but what the heck. Have you considered pyproj (which Basemap is apparently built on)? Pyproj seems to support any kind of projection you could even imagine, and a quick ggogle suggests UTM would be included.

I had to learn all about this to some depth in order to teach it last summer to a group in Vienna, and I have slides at

https://sites.google.com/a/borealscicomp.com/zamg-scientific-python-aug-sep-2014/home

and if you go to course slides, 06-PlottingMetData, starting at about Slide 60, I have some examples which lead up to Basemap. My intent was to try to get students to understand the how and why of plotting grids in projections, then moving on to Basemap. This way they might have a better idea of how to deal with Basemap when things go wrong. I think I just confused them, though :slight_smile:

At any rate, I haven’t tried it, but I think it would be fairly simple to do what you want, IF you understand some of the low-level aspects. But, maybe UTM is harder than I am imagining.

All the best,

Don Morton


One dashboard for servers and applications across Physical-Virtual-Cloud

Widest out-of-the-box monitoring support with 50+ applications

Performance metrics, stats and reports that give you Actionable Insights

Deep dive visibility with transaction tracing using APM Insight.

http://ad.doubleclick.net/ddm/clk/290420510;117567292;y


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Don Morton, Owner/Manager

Boreal Scientific Computing LLC

Fairbanks, Alaska USA

http://www.borealscicomp.com/

http://www.borealscicomp.com/Miscellaneous/MortonBio/

On Mon, May 11, 2015 at 4:45 PM, Nick Eubank <nickeubank@…287…> wrote:

Hi All,

Trying to move from ArcGIS into pure python GIS, but am a little surprised to find that UTM is not (directly) supported as a projection. Going through the machinations in the utmtest.py file every time I want to plot a map in UTM seems a little unwieldy.

Please excuse my ignorance, but is there a reason it is so hard to support / any plans to integrate in the future / any other easier paths to plotting UTMs I don’t know about?

Thanks,

Nick


One dashboard for servers and applications across Physical-Virtual-Cloud

Widest out-of-the-box monitoring support with 50+ applications

Performance metrics, stats and reports that give you Actionable Insights

Deep dive visibility with transaction tracing using APM Insight.

http://ad.doubleclick.net/ddm/clk/290420510;117567292;y


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users