这里 maps api for geocoder 没有得到地区的区域形状

Here maps api for geocoder doesn't get the area shape for district

我使用 Here Geocode API 来获取该地区的区域形状。但是,API.

上没有返回可用的形状

这里是 link API

https://geocoder.ls.hereapi.com/6.2/geocode.xml?xnlp=CL_JSMv3.0.17.0&apiKey=<APIKEY>&searchtext=Cakung%20Barat%20Kel.%20Jakarta%2013910%20Indonesia&mode=retrieveAddresses&jsoncallback=H.service.jsonp.handleResponse(37)&gen=9&additionalData=IncludeShapeLevel,district

这是回复

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:Search xmlns:ns2="http://www.navteq.com/lbsp/Search-Search/4">
    <Response>
        <MetaInfo>
            <Timestamp>2021-07-28T10:09:26.934Z</Timestamp>
        </MetaInfo>
        <View xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:SearchResultsViewType">
            <ViewId>0</ViewId>
            <Result>
                <Relevance>1.0</Relevance>
                <MatchLevel>district</MatchLevel>
                <MatchQuality>
                    <Country>1.0</Country>
                    <City>1.0</City>
                    <Subdistrict>1.0</Subdistrict>
                    <PostalCode>1.0</PostalCode>
                </MatchQuality>
                <Location>
                    <LocationId>NT_ezpLZJFGXsz2rWjEVeA2oD</LocationId>
                    <LocationType>area</LocationType>
                    <DisplayPosition>
                        <Latitude>-6.16492</Latitude>
                        <Longitude>106.93429</Longitude>
                    </DisplayPosition>
                    <NavigationPosition>
                        <Latitude>-6.16492</Latitude>
                        <Longitude>106.93429</Longitude>
                    </NavigationPosition>
                    <MapView>
                        <TopLeft>
                            <Latitude>-6.1516</Latitude>
                            <Longitude>106.92209</Longitude>
                        </TopLeft>
                        <BottomRight>
                            <Latitude>-6.19349</Latitude>
                            <Longitude>106.94349</Longitude>
                        </BottomRight>
                    </MapView>
                    <Address>
                        <Label>Cakung Barat Kel., Cakung, Jakarta, Indonesia</Label>
                        <Country>IDN</Country>
                        <County>DKI Jakarta</County>
                        <City>Jakarta</City>
                        <District>Cakung</District>
                        <Subdistrict>Cakung Barat Kel.</Subdistrict>
                        <PostalCode>13910</PostalCode>
                        <AdditionalData key="CountryName">Indonesia</AdditionalData>
                        <AdditionalData key="CountyName">DKI Jakarta</AdditionalData>
                    </Address>
                </Location>
            </Result>
        </View>
    </Response>
</ns2:Search>

它适用于城市和其他选项。基于 documentation,地区包含在有效形状级别

我们已尝试重现该请求,但已确定覆盖范围不支持获得雅加达地区级形状。

例如, 演示 link:https://tcs.ext.here.com/examples/v3/admin_boundaries

此外,我们还有关于覆盖范围的文档信息。

Link: https://developer.here.com/documentation/geocoder/dev_guide/topics/coverage-geocoder.html