none
Metadata for CanvasGrey return non localizable URLs RRS feed

  • Question

  • Hi,

    Imagery Metadata returns templated metadata, where culture is a possible placeholder (cf. https://msdn.microsoft.com/en-us/library/ff701712.aspx).

    If I ask the metadata for, say, the Road imagery set, I get a template with the culture placeholder: http://ecn.{subdomain}.tiles.virtualearth.net/tiles/r{quadkey}.jpeg?g=5801&mkt={culture}&shading=hill

    But if I ask the metadata for the Canvas Gray imagery set, the template does not include the culture, but a hard coded en-US: http://ak.dynamic.{subdomain}.tiles.virtualearth.net/comp/ch/{quadkey}?mkt=en-US&it=G,L&cstl=CG&og=94&n=z

    If I manually set the culture to something else (fr-FR, say), the tiles are correctly translated. So I figure that the returned template is incorrect.

    What do you think?

    Monday, August 7, 2017 8:54 AM

Answers

  • Ah, looks like I had an issue on my computer when testing. The culture in the tile URL changes when the culture is specified in the imagery metadata request. This is by design. A placeholder in the URL is only used in the older road map URL's (RoadOnDemand works the same as CanvasGray).

    [Blog] [twitter] [LinkedIn]

    Tuesday, August 8, 2017 1:26 AM

All replies