在交叉路口上执行geocodeAddresses时缺少输出字段

时间:2019-06-27 14:04:30

标签: geocoding arcgis

我有一个在10.6中创建的US Address-Dual Range地址定位器。它除了一件事情外,效果很好。当我在十字路口上执行geocodeAddresses时,我没有找回我期望的所有输出字段,主要是ref_id1和ref_id2。我确实得到了ref_id,但它是-1。如果我使用findAddressCandidates进行相同的交集,则会得到这些输出字段。

该定位器是根据HERE street数据库创建的。

我已经浏览了文档和示例,但找不到任何有用的东西。我缺少某些设置吗?

我确实找到了这篇文章,但是我无法在.lot.xml文件中找到它们所引用的代码行。

https://support.esri.com/en/technical-article/000012860

地理编码地址

输入:

{"records":[
  {"attributes": 
   {"city":34,"objectId":105221913,"zip":11,"street":"NW 13th St & W University Ave"}}
]}

输出:

{
   "address": "NW 13TH ST & W UNIVERSITY AVE, 11",
   "location": {
    "x": 560525.01460000128,
    "y": 628335.97840000037
   },
   "score": 100,
   "attributes": {
    "ResultID": 105221913,
    "Status": "M",
    "Score": 100,
    "Match_addr": "NW 13TH ST & W UNIVERSITY AVE, 11",
    "Addr_type": "StreetInt",
    "AddNum": "",
    "AddNumFrom": "",
    "AddNumTo": "",
    "Side": "",
    "StPreDir": "",
    "StPreType": "",
    "StName": "",
    "StType": "",
    "StDir": "",
    "StAddr": "",
    "City": "",
    "County": "",
    "State": "",
    "StateAbbr": "",
    "RegionAbbr": "",
    "ZIP": "",
    "Country": "USA",
    "LangCode": "",
    "Distance": 0,
    "X": 560525.01462200005,
    "Y": 628335.97843799996,
    "DisplayX": 560525.01462200005,
    "DisplayY": 628335.97843799996,
    "Xmin": 0,
    "Xmax": 0,
    "Ymin": 0,
    "Ymax": 0,
    "Ref_ID": -1,
    "StreetID": "",
    "User_fld": "",
    "Pct_along": 0,
    "Match_time": 0.046308988501369046,
    "Comp_score": ";prefix1=100; pretype1=100; StName1=100; suftype1=100; suffix1=100; Postal1=100; prefix2=100; pretype2=100; StName2=100; suftype2=100; suffix2=100; Postal2=100"
   }
  }

查找地址候选人

单行输入:NW 13th St & W University Ave 34 11 输出:

{
   "address": "NW 13TH ST & W UNIVERSITY AVE, 34, 11",
   "location": {
    "x": 560525.01462192251,
    "y": 628335.97843770578
   },
   "score": 100,
   "attributes": {
    "Score": 100,
    "Match_addr": "NW 13TH ST & W UNIVERSITY AVE, 34, 11",
    "Addr_type": "StreetInt",
    "AddNum": "",
    "StAddr": "",
    "City": "34",
    "County": "",
    "Country": "USA",
    "Distance": 0,
    "X": 560525.01462200005,
    "Y": 628335.97843799996,
    "DisplayX": 560525.01462200005,
    "DisplayY": 628335.97843799996,
    "Match_time": 0.078146043903034257,
    "Comp_score": ";prefix1=100; pretype1=100; StName1=100; suftype1=100; suffix1=100; Locality1=100; Postal1=100; prefix2=100; pretype2=100; StName2=100; suftype2=100; suffix2=100; Locality2=100; Postal2=100",
    "AddNumFrom1": "1",
    "AddNumTo1": "99",
    "Side1": "R",
    "StPreDir1": "NW",
    "StPreType1": "",
    "StName1": "13TH",
    "StType1": "ST",
    "StDir1": "",
    "State1": "",
    "StateAbbr1": "",
    "RegionAbbr1": "",
    "ZIP1": "11",
    "LangCode1": "",
    "Xmin1": null,
    "Xmax1": null,
    "Ymin1": null,
    "Ymax1": null,
    "Ref_ID1": 105816769,
    "StreetID1": "105816769",
    "User_fld1": "",
    "Pct_along1": 0,
    "AddNumFrom2": "1398",
    "AddNumTo2": "1300",
    "Side2": "L",
    "StPreDir2": "W",
    "StPreType2": "",
    "StName2": "UNIVERSITY",
    "StType2": "AVE",
    "StDir2": "",
    "State2": "",
    "StateAbbr2": "",
    "RegionAbbr2": "",
    "ZIP2": "11",
    "LangCode2": "",
    "Xmin2": null,
    "Xmax2": null,
    "Ymin2": null,
    "Ymax2": null,
    "Ref_ID2": 105817669,
    "StreetID2": "105817669",
    "User_fld2": "",
    "Pct_along2": 100
   }
  }

0 个答案:

没有答案