Files
Nominatim/docs/develop/search-tables.svg
2026-03-04 16:29:24 +01:00

121 lines
36 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="663px" preserveAspectRatio="none" style="width:654px;height:663px;background:#FFFFFF;" version="1.1" viewBox="0 0 654 663" width="654px" zoomAndPan="magnify"><defs><filter height="300%" id="f1sgvgfjxqv9ct" 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(#f1sgvgfjxqv9ct)" height="443.2238" style="stroke:#383838;stroke-width:1.5;" width="156" x="7" y="206"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="39" x="65.5" y="220.8281">placex</text><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="226.3441" y2="226.3441"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="39" x="32.5" y="239.0341">place_id</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="34" x="102" y="239.0341">BIGINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="226.3441" y2="243.9641"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="243.9641" y2="243.9641"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="45" x="29.5" y="256.6541">osm_type</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="37" x="102" y="256.6541">CHAR(1)</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="243.9641" y2="261.5841"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="261.5841" y2="261.5841"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="33" x="35.5" y="274.2741">osm_id</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="34" x="102" y="274.2741">BIGINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="261.5841" y2="279.2041"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="279.2041" y2="279.2041"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="24" x="40" y="291.8941">class</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="24" x="102" y="291.8941">TEXT</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="279.2041" y2="296.8241"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="296.8241" y2="296.8241"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="21" x="41.5" y="309.5141">type</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="24" x="102" y="309.5141">TEXT</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="296.8241" y2="314.4441"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="314.4441" y2="314.4441"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="27" x="38.5" y="327.134">name</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="38" x="102" y="327.134">HSTORE</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="314.4441" y2="332.064"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="332.064" y2="332.064"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="38" x="33" y="344.754">address</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="38" x="102" y="344.754">HSTORE</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="332.064" y2="349.684"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="349.684" y2="349.684"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="46" x="29" y="362.374">extratags</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="38" x="102" y="362.374">HSTORE</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="349.684" y2="367.304"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="367.304" y2="367.304"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="57" x="23.5" y="379.994">admin_level</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="47" x="102" y="379.994">SMALLINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="367.304" y2="384.924"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="384.924" y2="384.924"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="42" x="31" y="397.614">partition</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="47" x="102" y="397.614">SMALLINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="384.924" y2="402.544"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="402.544" y2="402.544"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="80" x="12" y="415.234">geometry_sector</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="17" x="102" y="415.234">INT</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="402.544" y2="420.164"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="420.164" y2="420.164"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="75" x="14.5" y="432.854">parent_place_id</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="34" x="102" y="432.854">BIGINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="420.164" y2="437.784"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="437.784" y2="437.784"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="72" x="16" y="450.474">linked_place_id</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="34" x="102" y="450.474">BIGINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="437.784" y2="455.404"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="455.404" y2="455.404"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="55" x="24.5" y="468.0939">importance</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="40" x="102" y="468.0939">DOUBLE</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="455.404" y2="473.0239"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="473.0239" y2="473.0239"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="57" x="23.5" y="485.7139">rank_search</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="47" x="102" y="485.7139">SMALLINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="473.0239" y2="490.6439"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="490.6439" y2="490.6439"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="63" x="20.5" y="503.3339">rank_address</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="47" x="102" y="503.3339">SMALLINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="490.6439" y2="508.2639"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="508.2639" y2="508.2639"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="46" x="29" y="520.9539">wikipedia</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="24" x="102" y="520.9539">TEXT</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="508.2639" y2="525.8839"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="525.8839" y2="525.8839"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="63" x="20.5" y="538.5739">country_code</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="55" x="102" y="538.5739">VARCHAR(2)</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="525.8839" y2="543.5039"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="543.5039" y2="543.5039"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="66" x="19" y="556.1939">housenumber</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="24" x="102" y="556.1939">TEXT</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="543.5039" y2="561.1239"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="561.1239" y2="561.1239"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="44" x="30" y="573.8139">postcode</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="24" x="102" y="573.8139">TEXT</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="561.1239" y2="578.7439"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="578.7439" y2="578.7439"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="72" x="16" y="591.4339">indexed_status</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="47" x="102" y="591.4339">SMALLINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="578.7439" y2="596.3639"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="596.3639" y2="596.3639"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="64" x="20" y="609.0538">indexed_date</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="56" x="102" y="609.0538">TIMESTAMP</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="596.3639" y2="613.9838"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="613.9838" y2="613.9838"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="40" x="32" y="626.6738">centroid</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="54" x="102" y="626.6738">GEOMETRY</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="613.9838" y2="631.6038"/><line style="stroke:#383838;stroke-width:1.0;" x1="7" x2="163" y1="631.6038" y2="631.6038"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="46" x="29" y="644.2938">geometry</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="54" x="102" y="644.2938">GEOMETRY</text><line style="stroke:#383838;stroke-width:1.0;" x1="97" x2="97" y1="631.6038" y2="649.2238"/><rect fill="#F8F8F8" filter="url(#f1sgvgfjxqv9ct)" height="161.304" style="stroke:#383838;stroke-width:1.5;" width="174" x="239" y="7"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="78" x="287" y="21.8281">search_name</text><line style="stroke:#383838;stroke-width:1.0;" x1="239" x2="413" y1="27.3441" y2="27.3441"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="39" x="274" y="40.0341">place_id</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="34" x="353" y="40.0341">BIGINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="348" x2="348" y1="27.3441" y2="44.9641"/><line style="stroke:#383838;stroke-width:1.0;" x1="239" x2="413" y1="44.9641" y2="44.9641"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="55" x="266" y="57.6541">importance</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="40" x="353" y="57.6541">DOUBLE</text><line style="stroke:#383838;stroke-width:1.0;" x1="348" x2="348" y1="44.9641" y2="62.5841"/><line style="stroke:#383838;stroke-width:1.0;" x1="239" x2="413" y1="62.5841" y2="62.5841"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="57" x="265" y="75.2741">search_rank</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="47" x="353" y="75.2741">SMALLINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="348" x2="348" y1="62.5841" y2="80.2041"/><line style="stroke:#383838;stroke-width:1.0;" x1="239" x2="413" y1="80.2041" y2="80.2041"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="63" x="262" y="92.8941">address_rank</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="47" x="353" y="92.8941">SMALLINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="348" x2="348" y1="80.2041" y2="97.8241"/><line style="stroke:#383838;stroke-width:1.0;" x1="239" x2="413" y1="97.8241" y2="97.8241"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="61" x="263" y="110.5141">name_vector</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="23" x="353" y="110.5141">INT[]</text><line style="stroke:#383838;stroke-width:1.0;" x1="348" x2="348" y1="97.8241" y2="115.4441"/><line style="stroke:#383838;stroke-width:1.0;" x1="239" x2="413" y1="115.4441" y2="115.4441"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="99" x="244" y="128.134">nameaddress_vector</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="23" x="353" y="128.134">INT[]</text><line style="stroke:#383838;stroke-width:1.0;" x1="348" x2="348" y1="115.4441" y2="133.064"/><line style="stroke:#383838;stroke-width:1.0;" x1="239" x2="413" y1="133.064" y2="133.064"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="63" x="262" y="145.754">country_code</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="55" x="353" y="145.754">VARCHAR(2)</text><line style="stroke:#383838;stroke-width:1.0;" x1="348" x2="348" y1="133.064" y2="150.684"/><line style="stroke:#383838;stroke-width:1.0;" x1="239" x2="413" y1="150.684" y2="150.684"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="40" x="273.5" y="163.374">centroid</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="54" x="353" y="163.374">GEOMETRY</text><line style="stroke:#383838;stroke-width:1.0;" x1="348" x2="348" y1="150.684" y2="168.304"/><rect fill="#F8F8F8" filter="url(#f1sgvgfjxqv9ct)" height="73.2041" style="stroke:#383838;stroke-width:1.5;" width="99" x="515" y="84.5"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="30" x="549.5" y="99.3281">word</text><line style="stroke:#383838;stroke-width:1.0;" x1="515" x2="614" y1="104.8441" y2="104.8441"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="37" x="529" y="117.5341">word_id</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="17" x="585" y="117.5341">INT</text><line style="stroke:#383838;stroke-width:1.0;" x1="580" x2="580" y1="104.8441" y2="122.4641"/><line style="stroke:#383838;stroke-width:1.0;" x1="515" x2="614" y1="122.4641" y2="122.4641"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="55" x="520" y="135.1541">word_token</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="24" x="585" y="135.1541">TEXT</text><line style="stroke:#383838;stroke-width:1.0;" x1="580" x2="580" y1="122.4641" y2="140.0841"/><line style="stroke:#383838;stroke-width:1.0;" x1="515" x2="614" y1="140.0841" y2="140.0841"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="9" x="543" y="152.7741">...</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="0" x="588" y="152.7741"/><line style="stroke:#383838;stroke-width:1.0;" x1="580" x2="580" y1="140.0841" y2="157.7041"/><rect fill="#F8F8F8" filter="url(#f1sgvgfjxqv9ct)" height="267.0239" style="stroke:#383838;stroke-width:1.5;" width="172" x="240" y="371"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="158" x="247" y="385.8281">location_property_osmline</text><line style="stroke:#383838;stroke-width:1.0;" x1="240" x2="412" y1="391.3441" y2="391.3441"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="39" x="265.5" y="404.0341">place_id</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="34" x="335" y="404.0341">BIGINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="330" x2="330" y1="391.3441" y2="408.9641"/><line style="stroke:#383838;stroke-width:1.0;" x1="240" x2="412" y1="408.9641" y2="408.9641"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="33" x="268.5" y="421.6541">osm_id</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="34" x="335" y="421.6541">BIGINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="330" x2="330" y1="408.9641" y2="426.5841"/><line style="stroke:#383838;stroke-width:1.0;" x1="240" x2="412" y1="426.5841" y2="426.5841"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="21" x="274.5" y="439.2741">type</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="24" x="335" y="439.2741">TEXT</text><line style="stroke:#383838;stroke-width:1.0;" x1="330" x2="330" y1="426.5841" y2="444.2041"/><line style="stroke:#383838;stroke-width:1.0;" x1="240" x2="412" y1="444.2041" y2="444.2041"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="60" x="255" y="456.8941">startnumber</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="17" x="335" y="456.8941">INT</text><line style="stroke:#383838;stroke-width:1.0;" x1="330" x2="330" y1="444.2041" y2="461.8241"/><line style="stroke:#383838;stroke-width:1.0;" x1="240" x2="412" y1="461.8241" y2="461.8241"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="55" x="257.5" y="474.5141">endnumber</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="17" x="335" y="474.5141">INT</text><line style="stroke:#383838;stroke-width:1.0;" x1="330" x2="330" y1="461.8241" y2="479.4441"/><line style="stroke:#383838;stroke-width:1.0;" x1="240" x2="412" y1="479.4441" y2="479.4441"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="21" x="274.5" y="492.134">step</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="13" x="335" y="492.134">int</text><line style="stroke:#383838;stroke-width:1.0;" x1="330" x2="330" y1="479.4441" y2="497.064"/><line style="stroke:#383838;stroke-width:1.0;" x1="240" x2="412" y1="497.064" y2="497.064"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="38" x="266" y="509.754">address</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="38" x="335" y="509.754">HSTORE</text><line style="stroke:#383838;stroke-width:1.0;" x1="330" x2="330" y1="497.064" y2="514.684"/><line style="stroke:#383838;stroke-width:1.0;" x1="240" x2="412" y1="514.684" y2="514.684"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="80" x="245" y="527.374">geometry_sector</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="17" x="335" y="527.374">INT</text><line style="stroke:#383838;stroke-width:1.0;" x1="330" x2="330" y1="514.684" y2="532.304"/><line style="stroke:#383838;stroke-width:1.0;" x1="240" x2="412" y1="532.304" y2="532.304"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="75" x="247.5" y="544.994">parent_place_id</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="34" x="335" y="544.994">BIGINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="330" x2="330" y1="532.304" y2="549.924"/><line style="stroke:#383838;stroke-width:1.0;" x1="240" x2="412" y1="549.924" y2="549.924"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="63" x="253.5" y="562.614">country_code</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="55" x="335" y="562.614">VARCHAR(2)</text><line style="stroke:#383838;stroke-width:1.0;" x1="330" x2="330" y1="549.924" y2="567.544"/><line style="stroke:#383838;stroke-width:1.0;" x1="240" x2="412" y1="567.544" y2="567.544"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="44" x="263" y="580.234">postcode</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="19" x="335" y="580.234">text</text><line style="stroke:#383838;stroke-width:1.0;" x1="330" x2="330" y1="567.544" y2="585.164"/><line style="stroke:#383838;stroke-width:1.0;" x1="240" x2="412" y1="585.164" y2="585.164"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="72" x="249" y="597.854">indexed_status</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="47" x="335" y="597.854">SMALLINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="330" x2="330" y1="585.164" y2="602.784"/><line style="stroke:#383838;stroke-width:1.0;" x1="240" x2="412" y1="602.784" y2="602.784"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="64" x="253" y="615.474">indexed_date</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="56" x="335" y="615.474">TIMESTAMP</text><line style="stroke:#383838;stroke-width:1.0;" x1="330" x2="330" y1="602.784" y2="620.404"/><line style="stroke:#383838;stroke-width:1.0;" x1="240" x2="412" y1="620.404" y2="620.404"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="36" x="267" y="633.0939">linegeo</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="54" x="335" y="633.0939">GEOMETRY</text><line style="stroke:#383838;stroke-width:1.0;" x1="330" x2="330" y1="620.404" y2="638.0239"/><rect fill="#F8F8F8" filter="url(#f1sgvgfjxqv9ct)" height="126.064" style="stroke:#383838;stroke-width:1.5;" width="169" x="241.5" y="206"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="107" x="272.5" y="220.8281">place_addressline</text><line style="stroke:#383838;stroke-width:1.0;" x1="241.5" x2="410.5" y1="226.3441" y2="226.3441"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="39" x="277.5" y="239.0341">place_id</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="34" x="357.5" y="239.0341">BIGINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="352.5" x2="352.5" y1="226.3441" y2="243.9641"/><line style="stroke:#383838;stroke-width:1.0;" x1="241.5" x2="410.5" y1="243.9641" y2="243.9641"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="81" x="256.5" y="256.6541">address_place_id</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="34" x="357.5" y="256.6541">BIGINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="352.5" x2="352.5" y1="243.9641" y2="261.5841"/><line style="stroke:#383838;stroke-width:1.0;" x1="241.5" x2="410.5" y1="261.5841" y2="261.5841"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="41" x="276.5" y="274.2741">distance</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="40" x="357.5" y="274.2741">DOUBLE</text><line style="stroke:#383838;stroke-width:1.0;" x1="352.5" x2="352.5" y1="261.5841" y2="279.2041"/><line style="stroke:#383838;stroke-width:1.0;" x1="241.5" x2="410.5" y1="279.2041" y2="279.2041"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="101" x="246.5" y="291.8941">cached_rank_address</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="47" x="357.5" y="291.8941">SMALLINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="352.5" x2="352.5" y1="279.2041" y2="296.8241"/><line style="stroke:#383838;stroke-width:1.0;" x1="241.5" x2="410.5" y1="296.8241" y2="296.8241"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="44" x="275" y="309.5141">fromarea</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="48" x="357.5" y="309.5141">BOOLEAN</text><line style="stroke:#383838;stroke-width:1.0;" x1="352.5" x2="352.5" y1="296.8241" y2="314.4441"/><line style="stroke:#383838;stroke-width:1.0;" x1="241.5" x2="410.5" y1="314.4441" y2="314.4441"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="46" x="274" y="327.134">isaddress</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="48" x="357.5" y="327.134">BOOLEAN</text><line style="stroke:#383838;stroke-width:1.0;" x1="352.5" x2="352.5" y1="314.4441" y2="332.064"/><rect fill="#F8F8F8" filter="url(#f1sgvgfjxqv9ct)" height="178.924" style="stroke:#383838;stroke-width:1.5;" width="151" x="489" y="413.5"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="113" x="508" y="428.3281">location_postcodes</text><line style="stroke:#383838;stroke-width:1.0;" x1="489" x2="640" y1="433.8441" y2="433.8441"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="39" x="512" y="446.5341">place_id</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="34" x="579" y="446.5341">BIGINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="574" x2="574" y1="433.8441" y2="451.4641"/><line style="stroke:#383838;stroke-width:1.0;" x1="489" x2="640" y1="451.4641" y2="451.4641"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="33" x="515" y="464.1541">osm_id</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="34" x="579" y="464.1541">BIGINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="574" x2="574" y1="451.4641" y2="469.0841"/><line style="stroke:#383838;stroke-width:1.0;" x1="489" x2="640" y1="469.0841" y2="469.0841"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="44" x="509.5" y="481.7741">postcode</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="24" x="579" y="481.7741">TEXT</text><line style="stroke:#383838;stroke-width:1.0;" x1="574" x2="574" y1="469.0841" y2="486.7041"/><line style="stroke:#383838;stroke-width:1.0;" x1="489" x2="640" y1="486.7041" y2="486.7041"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="63" x="500" y="499.3941">country_code</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="24" x="579" y="499.3941">TEXT</text><line style="stroke:#383838;stroke-width:1.0;" x1="574" x2="574" y1="486.7041" y2="504.3241"/><line style="stroke:#383838;stroke-width:1.0;" x1="489" x2="640" y1="504.3241" y2="504.3241"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="75" x="494" y="517.0141">parent_place_id</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="34" x="579" y="517.0141">BIGINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="574" x2="574" y1="504.3241" y2="521.9441"/><line style="stroke:#383838;stroke-width:1.0;" x1="489" x2="640" y1="521.9441" y2="521.9441"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="57" x="503" y="534.634">rank_search</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="47" x="579" y="534.634">SMALLINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="574" x2="574" y1="521.9441" y2="539.564"/><line style="stroke:#383838;stroke-width:1.0;" x1="489" x2="640" y1="539.564" y2="539.564"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="72" x="495.5" y="552.254">indexed_status</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="47" x="579" y="552.254">SMALLINT</text><line style="stroke:#383838;stroke-width:1.0;" x1="574" x2="574" y1="539.564" y2="557.184"/><line style="stroke:#383838;stroke-width:1.0;" x1="489" x2="640" y1="557.184" y2="557.184"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="64" x="499.5" y="569.874">indexed_date</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="56" x="579" y="569.874">TIMESTAMP</text><line style="stroke:#383838;stroke-width:1.0;" x1="574" x2="574" y1="557.184" y2="574.804"/><line style="stroke:#383838;stroke-width:1.0;" x1="489" x2="640" y1="574.804" y2="574.804"/><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="46" x="508.5" y="587.494">geometry</text><text fill="#000000" font-family="sans-serif" font-size="10" lengthAdjust="spacing" textLength="54" x="579" y="587.494">GEOMETRY</text><line style="stroke:#383838;stroke-width:1.0;" x1="574" x2="574" y1="574.804" y2="592.424"/><!--MD5=[2b322b975a43d887f4b5130fa1514430]
reverse link placex to search_name--><path codeLine="91" d="M169.04,233.8 C254.18,226.68 145.39,35 238,35 " fill="none" id="placex-backto-search_name" style="stroke:#383838;stroke-width:1.0;"/><polygon fill="#383838" points="164,234,173.1527,237.6371,168.996,233.8002,172.8329,229.6435,164,234" style="stroke:#383838;stroke-width:1.0;"/><!--MD5=[9225071ced1fa56d3be038aebaf7c111]
reverse link placex to place_addressline--><path codeLine="92" d="M169.02,234 C199.16,234 208.52,234 241,234 " fill="none" id="placex-backto-place_addressline" style="stroke:#383838;stroke-width:1.0;"/><polygon fill="#383838" points="164,234,173,238,169,234,173,230,164,234" style="stroke:#383838;stroke-width:1.0;"/><!--MD5=[9225071ced1fa56d3be038aebaf7c111]
reverse link placex to place_addressline--><path codeLine="93" d="M169.13,234.13 C199.82,235.68 207.73,251 241,251 " fill="none" id="placex-backto-place_addressline-1" style="stroke:#383838;stroke-width:1.0;"/><polygon fill="#383838" points="164,234,172.9062,238.2046,168.9987,234.1143,173.0891,230.2067,164,234" style="stroke:#383838;stroke-width:1.0;"/><!--MD5=[bd411bc1e40cdc9c35ac95f86ac574be]
link search_name to word--><path codeLine="95" d="M414,104 C457.09,104 468.76,112.31 509.4,112.96 " fill="none" id="search_name-to-word" style="stroke:#383838;stroke-width:1.0;"/><polygon fill="#383838" points="514.5,113,505.523,108.9486,509.5001,112.9714,505.4773,116.9485,514.5,113" style="stroke:#383838;stroke-width:1.0;"/><!--MD5=[bd411bc1e40cdc9c35ac95f86ac574be]
link search_name to word--><path codeLine="96" d="M414,121 C457.06,121 468.79,113.61 509.4,113.04 " fill="none" id="search_name-to-word-1" style="stroke:#383838;stroke-width:1.0;"/><polygon fill="#383838" points="514.5,113,505.4773,109.0515,509.5001,113.0286,505.523,117.0514,514.5,113" 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=[8980fa06d20573176ce26943f8e8abf0]
link location_property_osmline to location_postcodes--><!--MD5=[617d10e8ab77efd509206b7e7c73936a]
@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
token_info JSONB
}
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
type => TEXT
startnumber => INT
endnumber => INT
step => int
address => HSTORE
geometry_sector => INT
parent_place_id => BIGINT
country_code => VARCHAR(2)
postcode => text
indexed_status => SMALLINT
indexed_date => TIMESTAMP
linegeo => GEOMETRY
token_info JSONB
}
map place_addressline {
place_id => BIGINT
address_place_id => BIGINT
distance => DOUBLE
cached_rank_address => SMALLINT
fromarea => BOOLEAN
isaddress => BOOLEAN
}
map location_postcodes {
place_id => BIGINT
osm_id => BIGINT
postcode => TEXT
country_code => TEXT
parent_place_id => BIGINT
rank_search => SMALLINT
indexed_status => SMALLINT
indexed_date => TIMESTAMP
geometry => GEOMETRY
centroid -> 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_postcodes
@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>