Replies: 1 comment
-
|
I think the easiest thing that we can do to reduce address length is not use an address database to find them. Most of the really long addresses I've modified have ended up far, far shorter when copying the address actually published by the organisation it points at. The long addresses include a whole load of stuff that's technically correct but would never actually appear on a human-rendered version of the address. To pick one of the above examples: University of Glasgow Gilmorehill Campus, Why is there "Glasgow City" as well as "Glasgow"? Why both "North Kelvinside" and "North Woodside"? Indeed, why are either of those in there at all? There's only one Caledonian Crescent in Glasgow. (As an aside, that address is wrong anyway. Caledonian Crescent is tiny, and doesn't have a museum on it. It has a good pub, but not a museum). From what I can tell, a lot of the pre-2016 non-UK addresses suffer from the same problem. I think the original site probably took the location that someone (badly, randomly) dropped the pin, and then looked up an address in a geo-database, and took that verbatim, which is how we've ended up with these long addresses. In practice, I don't think it'll be a problem in the future, and I'd rather leave it unbounded and have a few dodgy-looking info boxes than limit it and (potentially) lose information. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The location field is used for the well-known address of the venue.
In PR #453, I've made the popups show the location and credit the poster.
We currently don't have a max location length imposed, and I think we should so it doesn't overflow the box. Of course, I could truncate whatever is in that field, but it would be nice not to have to. I could also change the pop-up box size or the font.
So far, our longest location is Royal Belgian Institute of Natural Sciences, at 311 characters. It looks like this in the popup.
This location is an outlier, and should probably be fixed. The next longest locations are these, which are approximately half the one above.
The longest of the above looks fine:
It also leaves room in case we want to add further detail or icons to represent data, or link off to other sites.
The majority are under 100 characters in length (which may also be a problem if they're too short), so will not overflow the box.
So, impose a limit, a guideline, or not?
Beta Was this translation helpful? Give feedback.
All reactions