Has anyone here ever used Basemap to display datasets/layers/features created using the OGR/GDAL libraries (http://www.gdal.org/)? They're SWIG wrappers, not pure Python, so I could see integration maybe being a pain. Just curious if there was anything out there to build on already...
Thanks!
···
--
Zane Selvans
Amateur Earthling
http://zaneselvans.org
zane@...1923...
303/815-6866
PGP Key: 55E0815F
Zane Selvans wrote:
Has anyone here ever used Basemap to display datasets/layers/features created using the OGR/GDAL libraries (http://www.gdal.org/)? They're SWIG wrappers, not pure Python, so I could see integration maybe being a pain. Just curious if there was anything out there to build on already...
Thanks!
--
Zane Selvans
Amateur Earthling
http://zaneselvans.org
zane@...1923...
303/815-6866
PGP Key: 55E0815F
Zane: You can use Basemap to plot GIS data you've read in with ogr/gdal. There's an example included with basemap (testgdal.py). I'm not a gdal user, so I may be missing something - what sort of integration do you have in mind?
-Jeff
···
--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jeffrey.S.Whitaker@...259...
325 Broadway Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
Oh, great! I'm a dunce. I should really go through and put all the Basemap examples into the Matplotlib cookbook so they come up when I search for them on the web. Er, when somebody else searches for them on the web... since I'd be familiar with all of them if I put them up!
Is there some reason that many of the example files haven't been updated to import basemap from the new mpl_toolkits.basemap instead of the old matplotlib.toolkits.basemap? Or maybe my version of the examples (0.99) isn't the most recent?
Zane
···
On Aug 6, 2008, at 2:15 PM, Jeff Whitaker wrote:
Zane Selvans wrote:
Has anyone here ever used Basemap to display datasets/layers/features created using the OGR/GDAL libraries (http://www.gdal.org/)? They're SWIG wrappers, not pure Python, so I could see integration maybe being a pain. Just curious if there was anything out there to build on already...
Thanks!
--
Zane Selvans
Amateur Earthling
http://zaneselvans.org
zane@...1923...
303/815-6866
PGP Key: 55E0815F
Zane: You can use Basemap to plot GIS data you've read in with ogr/gdal. There's an example included with basemap (testgdal.py). I'm not a gdal user, so I may be missing something - what sort of integration do you have in mind?
-Jeff
--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jeffrey.S.Whitaker@...259...
325 Broadway Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
--
Zane Selvans
Amateur Earthling
http://zaneselvans.org
zane@...1923...
303/815-6866
PGP Key: 55E0815F
Zane Selvans wrote:
Oh, great! I'm a dunce. I should really go through and put all the Basemap examples into the Matplotlib cookbook so they come up when I search for them on the web. Er, when somebody else searches for them on the web... since I'd be familiar with all of them if I put them up!
Is there some reason that many of the example files haven't been updated to import basemap from the new mpl_toolkits.basemap instead of the old matplotlib.toolkits.basemap? Or maybe my version of the examples (0.99) isn't the most recent?
Zane
Zane: All the examples do use mpl_toolkits, and have since the name was changed. You must have a very old copy (probably 0.9.9, not 0.99).
-Jeff
···
On Aug 6, 2008, at 2:15 PM, Jeff Whitaker wrote:
Zane Selvans wrote:
Has anyone here ever used Basemap to display datasets/layers/features created using the OGR/GDAL libraries (http://www.gdal.org/)? They're SWIG wrappers, not pure Python, so I could see integration maybe being a pain. Just curious if there was anything out there to build on already...
Thanks!
--
Zane Selvans
Amateur Earthling
http://zaneselvans.org
zane@...1923...
303/815-6866
PGP Key: 55E0815F
Zane: You can use Basemap to plot GIS data you've read in with ogr/gdal. There's an example included with basemap (testgdal.py). I'm not a gdal user, so I may be missing something - what sort of integration do you have in mind?
-Jeff
--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jeffrey.S.Whitaker@...259...
325 Broadway Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
--
Zane Selvans
Amateur Earthling
http://zaneselvans.org
zane@...1923...
303/815-6866
PGP Key: 55E0815F
--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jeffrey.S.Whitaker@...259...
325 Broadway Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg