[Matplotlib-users] Create image with higher resolution basemap

2014-11-18 Thread jorma
Hi Folks -

i have a simply Python script below that shows a low res basemap of Maui
using the Blue Marble imagery. Can anyone provide info on how to create a
high res map? Thanks!

- Jorma


from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
import numpy as np
 
map = Basemap(projection='merc', lat_0 = 21, lon_0 = -156,
resolution = 'f', area_thresh = 0.1,
llcrnrlon=-156.753926, llcrnrlat=20.537775,
urcrnrlon=-155.958679, urcrnrlat=21.058561)

map.bluemarble() 
map.drawcoastlines()
map.drawcountries()
map.drawmapboundary()
 
lon = -156.325691
lat = 20.922652
x,y = map(lon, lat)
map.plot(x, y, 'bo', markersize=14)
 
plt.show()





--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/Create-image-with-higher-resolution-basemap-tp44428.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Create image with higher resolution basemap

2014-11-19 Thread jorma
Thanks Ben! That helped. I ended up using this method instead…

map.arcgisimage(service='ESRI_Imagery_World_2D', xpixels = 1500, verbose=
True)

Works great!

- Jorma




--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/Create-image-with-higher-resolution-basemap-tp44428p2.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users