GeoCoder Flow Chart
2017-03-08 16:42:38 0 举报
GeoCoder流程图是一种图形化表示,用于描述地理编码(Geocoding)的过程。地理编码是将地理位置信息(如地址、经纬度等)转换为结构化数据(如坐标、行政区划等)的过程。在GeoCoder流程图中,首先输入需要查询的地理位置信息,然后通过一系列步骤进行处理,最后输出结构化数据。这些步骤包括:解析输入数据、查询地理数据库、处理查询结果、验证结果准确性以及生成输出数据。整个过程旨在为用户提供准确、快速的地理编码服务,以满足各种应用场景的需求,如地图导航、位置搜索、地理信息系统分析等。
作者其他创作
大纲/内容
Add newToken into validTokens and return validTokens
Get \"List<DetailItem>\" by \"osm_type\
PostgreSQL DataBase
Reset \"DetailItem.Importance\" by \"query string\
Get data from word table by sql statement
Set \"DetailItem.Label\" by \"DetialItem.Class\
Set data into newTokens variable
Reverse tokens
Is reverse geocoder ?
Loop \"List<DetailItem>\
Call ExtendedHelper.AddSlashes(string) method
Y
Get \"placeIds\" by \"query text\" and \"tokens\"
Sort \"List<DetailItem>\" objects and remove \"DetailItem.Count>=10\" object
Remove duplicate searches
Reset \"DetailItem.Foundorder\" by \"DetailItem.AddressImportance\
Loop duplicated searches to get placeIds and housenumvers by search item
Combine searches and reverseSearches
Get placeIds by search name (SearchItem.Name = WordId)
Get \"place_id\
Set \"place_id\
Get \"osm_type\
PGRefactoredGeocoder.Match(string)
Create PlaceIdAndHousenumber objects by placeIds and searchedHousenumber
Query text
Begin
Convert multiple space to single space
Loop \"List<DetailItem>\" and return \"List<MatchItem>\"
End
Split \"query text\
Build sql statement
Combine sql statement by wordSets
N
Set \"DetailItem.Name\" by \"DetailItem.LangAddress\"
......
Copy tokens with \" \" prefixion and added into wordSets with orignal tokens.
Get \"tokens\" from \"query text\"
Convert some names to short name
Make \"query text\" to standard name
Return List<DetailItem>
Get \"query results' by \"query text\" and \"placeIds\"
Convert \"query text\" to UTF8 string
Loop split query list and return valid \"tokens\"
0 条评论
下一页