opfpizza.blogg.se

Capa de bing wms url
Capa de bing wms url





capa de bing wms url

Since Bing Maps thinks in terms of quadkeys, and WMS servers in terms of bounding boxes, to add a WMS layer to Bing Maps we simply need to intercept any tile layer requests via an intermediary handler, convert the quadkey to the relevant WMS bounding box, and request and return the supplied image as a tile to Bing Maps. The bounding box defines the minimum and maximum longitude and latitude extents of the image – in other words, the West, South, East, and North points of the image. WMS servers, in contrast, create map images of (potentially) variable height and width, covering the features in the geographic area specified by a supplied bounding box. There’s an excellent MSDN article that explains the Bing Maps Tile System in more detail, so I won’t bother repeating it here. The following tile, for example, has the quadkey 120200223312:

capa de bing wms url

Each tile is referred to by its quadkey – a unique string consisting of characters between 0 – 3, which describes the position and zoom level at which this tile should be placed. If you want to see how to access a WMS server using the Bing Maps Silverlight control, please see my other post.īing Maps are created from sets of image tiles – each 256px wide by 256px high. So, I thought I’d write up how to do this using Bing Maps AJAX v7.0. A short web search revealed that, although there are some existing articles on this topic, they’re either somewhat broken or very old. A recent question on the MSDN forums asked about how to create an overlay from a WMS tile server on Bing Maps.







Capa de bing wms url