NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I'm wondering why words appear to entered twice in the word table, once plain and once with a leading space.

This table is part of Nominatim (or Gazetteer as it was called when i first installed it). Here are links for the create table statement.

asked 05 May '12, 15:26

brian_252's gravatar image

brian_252
76236
accept rate: 0%

edited 06 May '12, 00:08

3

Please tell us what word table you are talking about.

(05 May '12, 17:10) scai ♦

Tokens with a leading space constitute full matches (names), while those with out spaces are simple words. To give an example: for 'swan lane rd', you will find ' swan lane rd' as the name and 'swan', 'lane' and 'rd' as partial words. Single word names have always two entries: 'london' will have ' london' for the full name and 'london' as a word match.

permanent link

answered 06 May '12, 14:39

lonvia's gravatar image

lonvia
6.2k25789
accept rate: 40%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×689
×118

question asked: 05 May '12, 15:26

question was seen: 12,578 times

last updated: 06 May '12, 14:39

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum