conv

pylayers.gis.ezone.conv(extent, m, mode='tocart')[source]

convert zone to cartesian or lon lat

extent : (lonmin,lonmax,latmin,latmax) m : matplotlib mapping mode : string

‘tocart’ | ‘toll’

outnp.array

[xmin,xmax,ymin,ymax] if mode == ‘tocart’ [lonmin,lonmax,latmin,latmax] if mode == ‘toll’