Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Viajero Perdido

Pages: [1]
1
Tools / A 4x4 profile for LoRouter / BRouter
« on: April 13, 2021, 20:01:47 »
I understand more profiles are on the way for the new LoRouter in LM4, but in the meantime...

I've found the existing car profiles to be extremely reluctant to route down an unpaved road, instead making ridiculously long detours to stay on pavement.  Internally, it appears to assign a speed of 1 or 2 km/h to unpaved roads, which is slower than walking.  To me, this seems like a bug.  Here in Canada, we have many unpaved roads where 80km/h is a comfortable speed; some are secondary highways.

Also, the existing profiles won't route on highway=track.  But sometimes a destination is at the end of a track, thus you can't route to it, unless you switch to an MTB profile.

Here, attached, is a tweaked version of an existing car profile that I've tweaked to fix both these issues.  I make no claims about its quality, as I've only managed to understand it well enough to make a few changes, and they seem to work for me.  If it works for you, all the better.  :)

Drop it in your Locus/router/profiles2 folder, then select it from the Routing Profile drop-down.

2
Troubles & Questions / Beta messes up G4L - how to repair?
« on: May 04, 2018, 05:21:45 »
I find Beta troublesome because it seems to mess up G4L in Pro - when I just want to USE the app combo to plan a trip.

Right now, when I enable Live Map in G4L with Pro, it keeps re-downloading caches endlessly, even though I haven't moved the map.  This is with Beta uninstalled.  Eventually Groundspeak's servers will say enough, it won't work for the rest of the day.

How can I un-mess-this-up?

I've already uninstalled and reinstalled G4L.  Beta is UNinstalled.

Please don't ask me to uninstall Pro.  I've got a ton of customizations I'd hate to lose.

Thanks in advance.

(Earlier, I had the opposite problem: G4L downloaded caches, but Pro didn't display them.  In the process of trying to fix that - by reinstalling Beta temporarily - I made it worse, as described above.)

3
Hi.

In the course of tinkering with my own derivative of the excellent Voluntary UK theme, I've come across something of an "edge case" in the way Locus renders vector tiles.  Where I live (western Alberta, Canada), at medium zoom levels (10-11 typically), there are vector tiles where the rules produce nothing at all.  Simply blank space.

Unfortunately, that means Locus won't draw *anything* there, most noticeably, there'll be a big square hole where terrain shading would normally be.  Or a square hole containing a view into the previous theme that was recently shown, since nothing was painted over it, oops.

For unknown reasons, this happens only with OpenAndroMaps (I tested two generations), not Locus nor MapsForge maps.

It's noticeable in Voluntary UK if you select City and visit an "empty quarter" of the map.  That's because the City sub-theme doesn't draw contours at zooms below 11.  Perfectly valid logic.  (My version didn't draw contours below 11 for any sub-theme as an attempt at optimization, which is how I noticed it.)  In those empty spaces on the map, a few contour lines are all it takes to mark the tiles as dirty and cause them to draw properly.

(Actually, in OAM those empty tiles aren't perfectly empty; they have a background colour, whereas Locus and MapsForge maps appear to just use white in spite of my attempts to produce a colour.  But for the purpose of this report, that background colour still counts as empty, meaning, no dirty, no paint.)

It's hardly worth a bug report (if it even counts as a bug), but I thought people - such as theme authors - might like to know.  And if anybody knows of a cleaner way to mark a tile as dirty from within a theme without actually drawing something, I'd be happy to hear about it.

Thanks for listening,
VP

Pages: [1]