|
From: klo uo <kl...@gm...> - 2012-08-28 16:57:10
|
>> Jeff it looks great, everything is parametrized including server name >> and map name, so it should work for any additional service. >> However on Windows with Python 2.7 and Basemap 1.0.5 I get an error >> while trying to run the script: > > > Klo: Just added a pull request for this > > https://github.com/matplotlib/basemap/pull/73 > > Regarding your windows error - you have to rebuild basemap to get the needed > updates (it's not just a matter of running the testwms.py script). Thanks will do that right now. I was just investigating possibility of returning clear map without annotations where it is possible. For example World_Topo_Map (http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer) has additional layers and according layers parameter in export function (http://atlas.resources.ca.gov/arcgis/SDK/REST/export.html): ======================================== Description: Determines which layers appear on the exported map. There are four ways to specify which layers are shown: show: Only the layers specified in this list will be exported. hide: All layers except those specified in this list will be exported. include: In addition to the layers exported by default, the layers specified in this list will be exported. exclude: The layers exported by default excluding those specified in this list will be exported. Syntax: [show | hide | include | exclude]:layerId1,layerId2 where layerId1, layerId2are the layer ids returned by the map service resource Example: layers=show:2,4,7 ======================================== if we add additional parameter "&layers=hide:5,6,7,8,9" I expected annotations to be gone, but unfortunately not there yet Will look further if it's somehow possible to clear annotations. |