none
Problem rest in service RRS feed

Answers

  • At first sight, I think there is a problem with the reverse geocoding in Brasil, that's pretty weird and I don't know the origin of this possible problem.
    But after, did you try to change your url since your not passing the key parameter in the good way, it should be:
    http://dev.virtualearth.net/rest/v1/locations/-26.912833,-49.071032?key=YOURKEY

    It will give you a result like:

    { 
        "authenticationResultCode": "ValidCredentials",
        "brandLogoUri": "http:\/\/dev.virtualearth.net\/Branding\/logo_powered_by.png",
        "copyright": "Copyright © 2012 Microsoft and its suppliers. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Microsoft Corporation.", "resourceSets": [{ "estimatedTotal": 1, "resources": [{ "__type": "Location:http:\/\/schemas.microsoft.com\/search\/local\/ws\/rest\/v1",
            "bbox": [-26.916734912814512, -49.07679962526791, -26.909009477673159, -49.065248346219136],
            "name": "134 Rua Tocantins, Boa Vista - SC, Brazil", 
            "point": {
                "type": "Point", 
                "coordinates": [-26.912872195243835, -49.071023985743523]
            }, "address": {
                "addressLine": "134 Rua Tocantins",
                "adminDistrict": "SC",
                "countryRegion": "Brazil",
                "formattedAddress": "134 Rua Tocantins, Boa Vista - SC, Brazil", 
                "locality": "Boa Vista"
            },
            "confidence": "Medium",
            "entityType": "Address",
            "geocodePoints": [
                { 
                    "type": "Point",
                    "coordinates": [-26.912872195243835, -49.071023985743523],
                    "calculationMethod": "Interpolation",
                    "usageTypes": ["Display", "Route"]
                }],
                "matchCodes": ["Good"]
            }]
        }],
        "statusCode": 200,
        "statusDescription": "OK",
        "traceId": "BLABLA" 
    }


    MVP - Bing Maps - My blog (FR): http://blogs.developpeur.org/nicoboo/ Twitter: http://twitter.com/nicolasboonaert/

    Saturday, March 17, 2012 12:59 AM
    Moderator
  • Note that the coordinate: 26.912833,-49.071032 is out in the ocean. The reverse geocoder will not return an address there.

    http://rbrundritt.wordpress.com

    Saturday, March 17, 2012 2:39 PM

All replies

  • At first sight, I think there is a problem with the reverse geocoding in Brasil, that's pretty weird and I don't know the origin of this possible problem.
    But after, did you try to change your url since your not passing the key parameter in the good way, it should be:
    http://dev.virtualearth.net/rest/v1/locations/-26.912833,-49.071032?key=YOURKEY

    It will give you a result like:

    { 
        "authenticationResultCode": "ValidCredentials",
        "brandLogoUri": "http:\/\/dev.virtualearth.net\/Branding\/logo_powered_by.png",
        "copyright": "Copyright © 2012 Microsoft and its suppliers. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Microsoft Corporation.", "resourceSets": [{ "estimatedTotal": 1, "resources": [{ "__type": "Location:http:\/\/schemas.microsoft.com\/search\/local\/ws\/rest\/v1",
            "bbox": [-26.916734912814512, -49.07679962526791, -26.909009477673159, -49.065248346219136],
            "name": "134 Rua Tocantins, Boa Vista - SC, Brazil", 
            "point": {
                "type": "Point", 
                "coordinates": [-26.912872195243835, -49.071023985743523]
            }, "address": {
                "addressLine": "134 Rua Tocantins",
                "adminDistrict": "SC",
                "countryRegion": "Brazil",
                "formattedAddress": "134 Rua Tocantins, Boa Vista - SC, Brazil", 
                "locality": "Boa Vista"
            },
            "confidence": "Medium",
            "entityType": "Address",
            "geocodePoints": [
                { 
                    "type": "Point",
                    "coordinates": [-26.912872195243835, -49.071023985743523],
                    "calculationMethod": "Interpolation",
                    "usageTypes": ["Display", "Route"]
                }],
                "matchCodes": ["Good"]
            }]
        }],
        "statusCode": 200,
        "statusDescription": "OK",
        "traceId": "BLABLA" 
    }


    MVP - Bing Maps - My blog (FR): http://blogs.developpeur.org/nicoboo/ Twitter: http://twitter.com/nicolasboonaert/

    Saturday, March 17, 2012 12:59 AM
    Moderator
  • Hello Thanks for the help I tried as follows!

    http://dev.virtualearth.net/REST/v1/Locations/26.912833,-49.071032?key=MyKey

    Result:

    {"authenticationResultCode":"ValidCredentials","brandLogoUri":"http:\/\/dev.virtualearth.net\/Branding\/logo_powered_by.png","copyright":"Copyright © 2012 Microsoft and its suppliers. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Microsoft Corporation.","resourceSets":[{"estimatedTotal":0,"resources":[]}],"statusCode":200,"statusDescription":"OK","traceId":"c95fb7e75c764c2caa6feda518a32c8f|MIAM001451|02.00.105.1200|MIAMSNVM001366, MIAMSNVM001370"}

    I had a similar problem a while ago on this forum where an issue was identified on the server that meets Brazil.

    http://social.msdn.microsoft.com/Forums/en-US/bingmapsservices/thread/c94cc36f-859e-4a54-94c6-47485f2ff76b


    • Edited by Shakall Saturday, March 17, 2012 1:09 AM
    Saturday, March 17, 2012 1:07 AM
  • Friends started to work again! Very odd and even now I look is functioning normally.
    Saturday, March 17, 2012 1:30 AM
  • Note that the coordinate: 26.912833,-49.071032 is out in the ocean. The reverse geocoder will not return an address there.

    http://rbrundritt.wordpress.com

    Saturday, March 17, 2012 2:39 PM