mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-29 08:36:24 +03:00
117 lines
35 KiB
XML
117 lines
35 KiB
XML
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="594px" preserveAspectRatio="none" style="width:695px;height:594px;background:#FFFFFF;" version="1.1" viewBox="0 0 695 594" width="695px" zoomAndPan="magnify"><defs><filter height="300%" id="f1abmn4sk1koxw" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><rect fill="#F8F8F8" filter="url(#f1abmn4sk1koxw)" height="393.3438" style="stroke:#383838;stroke-width:1.5;" width="168" x="7" y="187"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="45" x="68.5" y="200.1387">placex</text><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="175" y1="204.9688" y2="204.9688"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="38" x="34.5" y="216.251">place_id</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="34" x="105" y="216.251">BIGINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="100" x2="100" y1="204.9688" y2="220.6094"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="175" y1="220.6094" y2="220.6094"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="48" x="29.5" y="231.8916">osm_type</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="44" x="105" y="231.8916">CHAR(1)</text><line style="stroke:#383838;stroke-width:1.0;" x1="100" x2="100" y1="220.6094" y2="236.25"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="175" y1="236.25" y2="236.25"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="34" x="36.5" y="247.5322">osm_id</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="34" x="105" y="247.5322">BIGINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="100" x2="100" y1="236.25" y2="251.8906"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="175" y1="251.8906" y2="251.8906"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="23" x="42" y="263.1729">class</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="23" x="105" y="263.1729">TEXT</text><line style="stroke:#383838;stroke-width:1.0;" x1="100" x2="100" y1="251.8906" y2="267.5313"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="175" y1="267.5313" y2="267.5313"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="22" x="42.5" y="278.8135">type</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="23" x="105" y="278.8135">TEXT</text><line style="stroke:#383838;stroke-width:1.0;" x1="100" x2="100" y1="267.5313" y2="283.1719"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="175" y1="283.1719" y2="283.1719"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="28" x="39.5" y="294.4541">name</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="42" x="105" y="294.4541">HSTORE</text><line style="stroke:#383838;stroke-width:1.0;" x1="100" x2="100" y1="283.1719" y2="298.8125"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="175" y1="298.8125" y2="298.8125"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="38" x="34.5" y="310.0947">address</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="42" x="105" y="
|
||
|
reverse link placex to search_name--><path codeLine="87" d="M181.41,211.25 C259.75,203.85 171.16,31.5 257,31.5 " fill="none" id="placex-backto-search_name" style="stroke:#383838;stroke-width:1.0;"/><polygon fill="#383838" points="176,211.5,185.163,215.111,180.9954,211.2859,184.8205,207.1183,176,211.5" style="stroke:#383838;stroke-width:1.0;"/><!--MD5=[9225071ced1fa56d3be038aebaf7c111]
|
||
|
reverse link placex to place_addressline--><path codeLine="88" d="M181.25,211.5 C215.64,211.5 226.15,211.5 263,211.5 " fill="none" id="placex-backto-place_addressline" style="stroke:#383838;stroke-width:1.0;"/><polygon fill="#383838" points="176,211.5,185,215.5,181,211.5,185,207.5,176,211.5" style="stroke:#383838;stroke-width:1.0;"/><!--MD5=[9225071ced1fa56d3be038aebaf7c111]
|
||
|
reverse link placex to place_addressline--><path codeLine="89" d="M181.32,211.6 C216.1,212.87 225.6,226.5 263,226.5 " fill="none" id="placex-backto-place_addressline-1" style="stroke:#383838;stroke-width:1.0;"/><polygon fill="#383838" points="176,211.5,184.9301,215.6537,180.9993,211.5857,185.0672,207.6549,176,211.5" style="stroke:#383838;stroke-width:1.0;"/><!--MD5=[bd411bc1e40cdc9c35ac95f86ac574be]
|
||
|
link search_name to word--><path codeLine="91" d="M446,92.5 C492.35,92.5 504.95,99.92 548.79,100.47 " fill="none" id="search_name-to-word" style="stroke:#383838;stroke-width:1.0;"/><polygon fill="#383838" points="554,100.5,545.023,96.4486,549.0001,100.4714,544.9773,104.4485,554,100.5" style="stroke:#383838;stroke-width:1.0;"/><!--MD5=[bd411bc1e40cdc9c35ac95f86ac574be]
|
||
|
link search_name to word--><path codeLine="92" d="M446,107.5 C492.32,107.5 504.97,101.01 548.79,100.53 " fill="none" id="search_name-to-word-1" style="stroke:#383838;stroke-width:1.0;"/><polygon fill="#383838" points="554,100.5,544.9773,96.5515,549.0001,100.5286,545.023,104.5514,554,100.5" style="stroke:#383838;stroke-width:1.0;"/><!--MD5=[2026b97b8eebe17816bba28c4ad4b669]
|
||
|
link place_addressline to location_property_osmline--><!--MD5=[a9348f7e9012ac5ef48544c7a8bc4c7c]
|
||
|
link search_name to place_addressline--><!--MD5=[28ade17d5fbc4e5a643b9e72ecbc3cb5]
|
||
|
link location_property_osmline to location_postcode--><!--MD5=[3778d5ad5451b5ba12005c60410924eb]
|
||
|
@startuml
|
||
|
skinparam monochrome true
|
||
|
skinparam ObjectFontStyle bold
|
||
|
|
||
|
left to right direction
|
||
|
|
||
|
map placex {
|
||
|
place_id => BIGINT
|
||
|
osm_type => CHAR(1)
|
||
|
osm_id => BIGINT
|
||
|
class => TEXT
|
||
|
type => TEXT
|
||
|
name => HSTORE
|
||
|
address => HSTORE
|
||
|
extratags => HSTORE
|
||
|
admin_level => SMALLINT
|
||
|
partition => SMALLINT
|
||
|
geometry_sector => INT
|
||
|
parent_place_id => BIGINT
|
||
|
linked_place_id => BIGINT
|
||
|
importance => DOUBLE
|
||
|
rank_search => SMALLINT
|
||
|
rank_address => SMALLINT
|
||
|
wikipedia => TEXT
|
||
|
country_code => VARCHAR(2)
|
||
|
housenumber => TEXT
|
||
|
postcode => TEXT
|
||
|
indexed_status => SMALLINT
|
||
|
indexed_date => TIMESTAMP
|
||
|
centroid => GEOMETRY
|
||
|
geometry => GEOMETRY
|
||
|
}
|
||
|
|
||
|
map search_name {
|
||
|
place_id => BIGINT
|
||
|
importance => DOUBLE
|
||
|
search_rank => SMALLINT
|
||
|
address_rank => SMALLINT
|
||
|
name_vector => INT[]
|
||
|
nameaddress_vector => INT[]
|
||
|
country_code => VARCHAR(2)
|
||
|
centroid => GEOMETRY
|
||
|
}
|
||
|
|
||
|
map word {
|
||
|
word_id => INT
|
||
|
word_token => TEXT
|
||
|
... =>
|
||
|
}
|
||
|
|
||
|
map location_property_osmline {
|
||
|
place_id => BIGINT
|
||
|
osm_id => BIGINT
|
||
|
startnumber => INT
|
||
|
endnumber => INT
|
||
|
interpolationtype => TEXT
|
||
|
address => HSTORE
|
||
|
partition => SMALLINT
|
||
|
geometry_sector => INT
|
||
|
parent_place_id => BIGINT
|
||
|
country_code => VARCHAR(2)
|
||
|
postcode => text
|
||
|
indexed_status => SMALLINT
|
||
|
indexed_date => TIMESTAMP
|
||
|
linegeo => GEOMETRY
|
||
|
}
|
||
|
|
||
|
map place_addressline {
|
||
|
place_id => BIGINT
|
||
|
address_place_id => BIGINT
|
||
|
distance => DOUBLE
|
||
|
cached_rank_address => SMALLINT
|
||
|
fromarea => BOOLEAN
|
||
|
isaddress => BOOLEAN
|
||
|
}
|
||
|
|
||
|
map location_postcode {
|
||
|
place_id => BIGINT
|
||
|
postcode => TEXT
|
||
|
parent_place_id => BIGINT
|
||
|
rank_search => SMALLINT
|
||
|
rank_address => SMALLINT
|
||
|
indexed_status => SMALLINT
|
||
|
indexed_date => TIMESTAMP
|
||
|
geometry => GEOMETRY
|
||
|
}
|
||
|
|
||
|
placex::place_id <- - search_name::place_id
|
||
|
placex::place_id <- - place_addressline::place_id
|
||
|
placex::place_id <- - place_addressline::address_place_id
|
||
|
|
||
|
search_name::name_vector - -> word::word_id
|
||
|
search_name::nameaddress_vector - -> word::word_id
|
||
|
|
||
|
place_addressline -[hidden]> location_property_osmline
|
||
|
search_name -[hidden]> place_addressline
|
||
|
location_property_osmline -[hidden]-> location_postcode
|
||
|
|
||
|
@enduml
|
||
|
|
||
|
PlantUML version 1.2021.12(Tue Oct 05 18:01:58 CEST 2021)
|
||
|
(GPL source distribution)
|
||
|
Java Runtime: OpenJDK Runtime Environment
|
||
|
JVM: OpenJDK 64-Bit Server VM
|
||
|
Default Encoding: UTF-8
|
||
|
Language: en
|
||
|
Country: US
|
||
|
--></g></svg>
|