On 8/26/12 9:07 PM, klo uo wrote: > On Sun, Aug 26, 2012 at 9:56 PM, Jeff Whitaker wrote: >> Klo: Since epsg codes comprise a very small subset of possible Basemap >> projections, it may be better to just allow Basemap to accept an epsg kwarg. >> That keyword would be required in order to use a WMS to display a map >> background. This may be tricky though, since Basemap needs more information >> to define a map projection region than is provided by the epsg code. We may >> have to start with just a few supported epsg codes and then add more as >> necessary. >> >> I added a testwms.py example to my fork >> (https://github.com/jswhit/basemap.git) that shows how to use three >> different map projections (epsg codes). > I'm not sure if I understand projection problem, as arcgis webservice > provides thousands of projections, but then you know better. > I thought that the code will be just one function which would accept > Map name, then coordinates and projection code will be deduced from > Basemap function initiation? Klo: WMS servers use EPSG codes to define map projections - Basemap uses a set of kwargs. We need some way of inferring epsg codes from the Basemap kwargs. Alternatively, we could extend Basemap so it can accept EPSG codes. But, there are many EPSG codes that don't correspond to allowable Basemap projections, and valid Basemap projections that don't correspond to EPSG codes. It's not obvious to me how to proceed. > > Here is same server from agency where you work according your > signature: maps.ngdc.noaa.gov/rest/services it provides additional > maps on same server as arcgis > > I also checked many WMS servers, first with XML editor but then with > Gaia, which was excellent help in determining that many WMS servers > just return their capabilities, but does not provide service as > described in capabilities response. Some offer tilling features, for > possible future interactive zooming in Basemap ;)
Maybe it's better not have the function accept a OWSLib wms object - that way we don't have to tie ourselves to a particular WMS server. -Jeff > > Here is one > http://maps.dwd.de/geoserver/wms?request=GetCapabilities&service=WMS&version=1.1.1 > which offers bluemarble in many projection. Additionally it offers > some German datasets, but does not offer tilling service. > > Perhaps we could look just for servers with get map service but also > tilling support and support for various projections. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users