Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

missing spaces according to SI in nominatim results #2495

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments
Closed

missing spaces according to SI in nominatim results #2495

openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments

Comments

@openstreetmap-trac
Copy link

Reporter: Schusch
[Submitted to the original trac issue database at 9.20am, Tuesday, 24th November 2009]

please introduce (for the readable results of nominatim) spaces between numbers and units according to the worldwide accepted SI (International System of Units, have a look at http://en.wikipedia.org/wiki/International_System_of_Units as a start).

@openstreetmap-trac
Copy link
Author

Author: twain
[Added to the original trac issue at 1.33pm, Tuesday, 24th November 2009]

I'm unable to find anywhere where nominatim fails to format responses as expected.

Could you please provide an example of an incorrect response and and indication of what should be done to fix it?

@openstreetmap-trac
Copy link
Author

Author: Schusch
[Added to the original trac issue at 1.50pm, Wednesday, 25th November 2009]

ok, here we have an example:

http://nominatim.openstreetmap.org/details.php?place_id=9341487

and a first line:

Abbeyfeale (Point, ~46.4miles, node 52219218, GOTO)

there is no reason for the lack of typgraphy here, it should be ~46.4 miles (with the space).

The SI only specifies something which is usual for typography (before the times of MS-Word etc.). The space is for better readability, just take a look in books which are older than the word processor computer applications - it's not my illusion but a well known rule of typography.

Well and about the "downside" of the possible linebreak:

Without the space we have always a wrong typography, with the space only when the line is broken in the wrong place (which easily could be handled with a non breakable space). I just discovered this old bug report by me with a search ...

(by the way: for most of the people in the world the usage of "miles" is an anachronism and makes the finding quit unhandily (i'm not sure if this exactly applies to what I mean--I don't want to be offending ...))

@openstreetmap-trac
Copy link
Author

Author: twain
[Added to the original trac issue at 5.45pm, Saturday, 5th December 2009]

space added.

km / miles switching is not possible since there is no way to store or obtain user preferences within nominatim.

@openstreetmap-trac
Copy link
Author

Author: Schusch
[Added to the original trac issue at 3.12pm, Sunday, 6th December 2009]

thanks for the space :-)

(the other one with km/miles is one I won't write a bug for (I just noticed it while researching the space thing) ...)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant