[Matplotlib-users] Basemap Problems

2015-06-08 Thread Ronquillo, Edgar Nahum
Hello, I am currently working with Basemap to plot a shapefile on the map. However, I am confused on how to initialize llcrnrx and llcrnry and same for the upper corner. I currently have both latitudes and longitudes for lower and upper corners in degrees. Does this mean I have to convert from

Re: [Matplotlib-users] Basemap Problems

2015-06-08 Thread Paul Hobson
Edgar, You feed lat/lon (float) values. See this example here: http://matplotlib.org/basemap/users/cea.html And a whole collection of setting up maps in other projection here: http://matplotlib.org/basemap/users/mapsetup.html You also need to make sure that all of inputs make sense together

Re: [Matplotlib-users] Basemap Problems

2015-06-08 Thread Benjamin Root
By the way, if you want quick-n-easy plotting of shapefiles, I suggest using GeoPandas, which makes it dead simple. On Mon, Jun 8, 2015 at 1:49 PM, Ronquillo, Edgar Nahum eronqui...@lanl.gov wrote: Hello, I am currently working with Basemap to plot a shapefile on the map. However, I am