News for hackers. Stuff that matters.
Re:Apple's New Map by ryandrake on Thursday November 01, 2018 @08:31PM (#18359785)
I’ve worked on mapping software, and in fact on street name placement (Not Google or Apple). The code we had for deciding where and when to draw street names has to be among the most complicated, full-of-edge-cases code I have ever encountered. Engineering is pulling one direction, data providers are pulling another direction. UX is pulling this direction, cartography is pulling that direction. Everybody in the company wants to bike-shed about it and insert their opinions because the problem to them “seems so easy.”

I’m not going to go into too many specifics but for most map products I’ve worked on, the usual reason that a label doesn’t appear somewhere is because the map data provider hard-codes the potential places where a label could be displayed, and it’s not “everywhere along the road”. You might be zooming into a place where a cartographer chose not to add a label point. Good map software will try to sensibly fill in these gaps but are not perfect. Too aggressive about adding labels and you have the artists and cartographers telling you some areas on the map are too cluttered. Not aggressive enough, and some areas on the map are bare.

It’s maddening getting those bugs saying “I think there are too many labels”, backing it off, then a few days later getting the bugs, “I can’t find the street label next to my house!” Lots of simple-to-whiteboard solutions would work well for your particular neighborhood but look terrible in Manhattan or rural Idaho, not to mention Japan. It’s really not simple.

Re:Apple's New Map by ethbro on Thursday November 01, 2018 @08:53PM (#18359882)
I think the thing that confuses me and parent is that Maps ALREADY knows about road continuity. And road names.

I'm sure I'm missing something, but (1) flow labels along their roads to the center of the screen, (2) separate them with predefined padding, (3) drop labels if visible label count > maximum, smallest-to-largest road, until under the threshold.

If UXers want to bitch, hide it behind a layer filter. But honestly, #&@+ them. (Sorry, but we are talking about maps that don't show road names here)

Re:Apple's New Map by cooper12 on Friday November 02, 2018 @12:54AM (#18360787)
> but we are talking about maps that don't show road names here

That presumes that road names are an intrinsic part of a map. While they certainly were in the past, I think there's a paradigm shift happening that's become so common we don't notice it anymore. We don't tell people to meet us at "The intersection of Street X and Y" as much anymore, we tell them to meet us near a prominent landmark like a park, train station, or restaurant. We barely even need street names for navigation anymore; instead, our software tells us how many blocks to walk and when to turn (even automobile GPS tells us to expect turns in the next X miles). I feel this will be part of a larger revolution where we might start using alternative easy-to-shate GPS coordinates [0], and even completely new map styles like isochrone maps. [1]

[0]: See https://what3words.com/ and Google's https://plus.codes/

[1]: https://www.atlasobscura.com/articles/isochrone-maps-commute...

Re:Apple's New Map by crazygringo on Sunday November 04, 2018 @07:05PM (#18378788)
> We don't tell people to meet us at "The intersection of Street X and Y" as much anymore, we tell them to meet us near a prominent landmark like a park, train station, or restaurant.

Citation needed. As a New Yorker, intersections of streets are how we do it all the time, when you want to meet on the street to walk somewhere together. "Meet me on 23rd and 8th."

> We barely even need street names for navigation anymore; instead, our software tells us how many blocks to walk and when to turn (even automobile GPS tells us to expect turns in the next X miles).

When streets are closely spaced, the name is absolutely necessary to know which one to turn onto -- you can pass a whole street in the time it takes the GPS to start and stop speaking and have no idea which street the "next street" refers to.

And plenty of people still walk or bike, where they check their phone only occasionally and memorize the name of the next street they need to stop at or turn on.

Sure there are new use cases, but the old ones aren't going away at all.

Re:Apple's New Map by ethbro on Friday November 02, 2018 @08:45AM (#18362570)
I hear what you're saying, but at least in the US we only have 2 pieces of well labelled and persistent navigational data in the real world: street names and numeric addresses.

In my experience, navigation with Google Maps can be terrible about interchange / exit lanes. It's much easier just to pick the road name and follow the well-labelled and up-to-date highway signs.

Re:Apple's New Map by dingaling on Friday November 02, 2018 @06:17AM (#18361873)
> we tell them to meet us near a prominent landmark

So that's the navigational use case for 'meet person'

Another common use case is 'proceed to building at 123 Long Street'. I've met several confused tourists and couriers whose satnav has dumped them at, say, 973 Long Street with an arrival fanfare.

Re:Apple's New Map by panic on Friday November 02, 2018 @12:59AM (#18360811)
Anything moving on a screen will call attention to itself. A bunch of road labels "flowing" around at once turns into a huge mess.

The real problem here is with label conflicts. Say you have an important point of interest in the center of the screen already. If a road label happens to be placed underneath the point of interest label, it will look like the road is unlabeled.

There are clever ways of moving labels around, but: 1. it has to run in realtime on the client, and 2. it has to look good in motion and in all possible situations you can think of (since you have no control over what the data will end up being). This is why older raster maps often have better labeling than newer vector maps -- you can do a lot of precomputation on the server to make sure the labels look nice.

Re:Apple's New Map by ryandrake on Friday November 02, 2018 @09:50AM (#18362980)
Yes, you got it. Not only does it have to both look good motionless and in motion, but it has to look good at different speeds, and at smoothly changing zoom levels. Back in the olden days, there was no smooth zoom and pan, so you'd pre-compute labels at each discrete (logarithmic scale) zoom level and they'd remain fixed while panning around. And since panning happened in discrete steps, you wouldn't really notice labels repositioning themselves for each scene.

Now, we have moving maps that scroll at whatever speed you're driving or moving, and arbitrary, smooth zooming, so you can't just let an algorithm take hold or you get labels popping in and out as the logic decides in real time where to put them. Users will find it distracting and weird, and most designers will say "no way". So you need to add things like debounce and hysteresis. You have to have resolve label conflicts in a way that doesn't always let (for example) POI names always take precedence. You have to determine whether/when to display street numbers vs street names. Do the locals call it I-880 or "Nimitz Freeway"? You have to keep labels right side up at arbitrary map rotations and along twisty road geometry (easy but yet more code). It adds up and requires these fiddly thresholds and scaling factors that are usually hidden from the user.

As someone else pointed out, having sliders and preferences for every little tuning knob is always a no-go with the designers, who want everything to just magically work without configuration. As a programmer, I've always thought that "design minimalism" is cancer, but on the other hand, it provides constraints and makes the problem interesting to solve.

Re:Apple's New Map by crazygringo on Sunday November 04, 2018 @07:10PM (#18378810)
This still doesn't explain why when you zoom in enough so there are no conflicts and items are sparse, every road can't be labeled somewhere along its length.
Re:Apple's New Map by ethbro on Friday November 02, 2018 @08:40AM (#18362546)
The purpose of flow layouts is to resolve exactly this problem at map movement time (e.g. user zoom or pan).

Google Maps already does some flowing, it's just not very good at it once you zoom all the way in.

If you have an important point of interest center-screen, then the lower priority labels flow away, or are priority pruned if overly numerous. This allows users to resolve invisible labels simply by zooming in.

I'm absolutely in agreement on the performance challenges, which are likely the real reason precomputed labels seem to be used on Google Maps.

Re:Apple's New Map by dpkonofa on Friday November 02, 2018 @10:51AM (#18363413)
>we are talking about maps that don't show road names here

Can you provide a use case where that would be necessary for a situation where you're not using the navigation? A lot of people seem to think this is a requirement for a map but when are you ever using a map to find a specific street where navigation wouldn't be far easier?

Re:Apple's New Map by Crespyl on Friday November 02, 2018 @12:14PM (#18364180)
Any time you're looking at a locally saved/cached copy of the map but don't have the network connection to make navigation requests? Or are just trying to find your own (or your friends) position in a situation where you have spotty or unavailable GPS.

Do Google or Apple let you use navigation offline? I know it can continue an existing route if the connection drops, but I've never tried to start navigation somewhere while offline.

Re:Apple's New Map by systoll on Monday November 05, 2018 @01:08AM (#18380226)
Google Maps can initiate driving [but only driving] directions while offline.

In any case, it seems reasonable to want a 'navigation' map without a specific path, just as you can get a 'discovery' map without a specific search.

Re:Apple's New Map by dpkonofa on Friday November 02, 2018 @01:56PM (#18365162)
That's a good question. I've never really used navigation or maps offline as I don't have a use for it.
Re:Apple's New Map by ethbro on Friday November 02, 2018 @01:52PM (#18365127)
I'm exploring a new area and would like to know the relevant streets as I transit them on foot or bike.
Re:Apple's New Map by dpkonofa on Friday November 02, 2018 @01:55PM (#18365158)
If I'm in walking mode, my phone displays the street names. Have you attempted that? The example given was in a car.
Re:Apple's New Map by ethbro on Monday November 05, 2018 @02:58PM (#18385399)
How is your phone in walking mode if you're exploring an area before you go there?
Re:Apple's New Map by ianmcgowan on Thursday November 01, 2018 @08:52PM (#18359880)
Thanks for explaining that - I tend to assume there are smart people are working on these things, and when thinking "Can't they just... it would be so easy to..", I assume it's because the problem is a lot harder than I think it is, not because they're missing the obvious solution right in front of them.

For my own personal more mundane stuff, it's usually "can't you just parse the names and addresses and put them in separate fields?" and the answer is usually, "80% of the time, yes. If you're ok with that, we're good". They never are ok with that :-)

Re:Apple's New Map by egypturnash on Thursday November 01, 2018 @10:25PM (#18360239)
This really really sounds like an argument for adding a “name density” slider somewhere in the corners of the main UI. Just admit that no one setting works for all people in all places and stop even trying to find it.
Re:Apple's New Map by dexterdog on Friday November 02, 2018 @08:09AM (#18362392)
That violates the "it just works" directive that designers and developers are working under. If it has to be configurable they view it as a design problem so instead they force you to use it the way they want it to look.
Re:Apple's New Map by sib on Friday November 02, 2018 @11:12AM (#18363568)
I'd say that, unfortunately, this is a case of designers trying to capital-D "Design" rather than truly understanding & solving user / customer problems. Given the wide variety of use cases and user needs (which are also context-dependent for the same user), "it just works" may lead to it not working in a plurality of instances. (/currently leading a design and Pmgmt team)
Re:Apple's New Map by egypturnash on Wednesday November 07, 2018 @11:18AM (#18400095)
There is configuration though. Pretty much any map app has a place you can switch between map/satellite/other views. And toggle overlays for traffic and other things. Stick a slider in there if you must hide your shame at not being able to make your tool all things to all people, this is where you’ve already admitted that people have different needs.
Re:Apple's New Map by dahauns on Saturday November 03, 2018 @10:10AM (#18370207)
A professional meteorological mapping and modelling tool we use at work has exactly this: A simple "declutter" slider. And it is easily one of its most impressive features - so incredibly simple (esp. compared to all the other bells and whistles it offers) and yet constantly proving its usefulness in everyday use.

Gmaps & Co. have become even more tiresome to use since I actually have experienced how much more comfortable it could be.

Re:Apple's New Map by mulmen on Thursday November 01, 2018 @09:06PM (#18359934)
I don't doubt your experiences or the reasons for constant regression in smartphone map usability over the last decade. Thanks for providing first hand experience. I hope I did not suggest that I think this is an easy problem to solve.

I do think this missing feature betrays a deep organizational dysfunction as you have described. This dysfunction leads to losing sight of what is valuable to users.

Re:Apple's New Map by fouc on Thursday November 01, 2018 @09:52PM (#18360095)
Seems like this is the type of thing that should be ultimately built out as an algorithm rather than hardcoded exceptions etc.
Re:Apple's New Map by CamperBob2 on Friday November 02, 2018 @12:14AM (#18360653)
Or -- gasp -- give the user the ability to control the name density.