u/nikos2wheels

Waze live map webpage doesn't show reports
▲ 5 r/waze

Waze live map webpage doesn't show reports

Waze live-map on the browser is not showing any reports even when Waze on my phone shows there are reports. This is the screenshot from my laptop

Screenshot from laptop of waze.com/live-map

And this is the screenshot from my phone at the same location.

Screenshot from phone

There is clearly one police and traffic report that do not show on waze.com/livemap Is this a glitch or am I doing something wrong?

reddit.com
u/nikos2wheels — 2 days ago
▲ 8 r/OsmAnd

Coding suggestion to achieve a minimalist navigation layout

I built and compiled the OsmAnd source code. I am working on a project and I would like to modify the code to implement the following look:

  1. Overlay a black mask over the entire map and before the route.
  2. Show only the intersecting roads along the route with a clipping radius of 50-100m around the intersection.

where the thick white line is the route line and the thin white lines are the intersecting roads.

I understand the route is handled by OpenGL in the C++ core. For the intersecting roads I thought of doing the task in the private part of the routing context by querying the OBF map data for roads that cross the current tile. In particular, in the file src/NetworkRouteContext_P.cpp

void OsmAnd::NetworkRouteContext_P::loadRouteSegmentIntersectingTile(

int32_t x, int32_t y, const NetworkRouteKey * routeKey,

QHash<NetworkRouteKey, QList<std::shared_ptr<OsmAnd::NetworkRouteSegment>>> & map)

{

// Convert 31-bit coordinates to routing tile coordinates

NetworkRoutesTile osmcRoutesTile = getMapRouteTile(x << ZOOM_TO_LOAD_TILES_SHIFT_L, y << ZOOM_TO_LOAD_TILES_SHIFT_L);

for (auto u_it = osmcRoutesTile.uniqueSegments.begin(); u_it != osmcRoutesTile.uniqueSegments.end(); ++u_it)

{

const auto &segment = u_it.value();

// Optional filtering by a specific route key (e.g., if we only want 'primary' roads)

if (routeKey != nullptr && segment->routeKey != *routeKey)

{

continue;

}

auto i = map.find(segment->routeKey);

if (i == map.end())

{

QList<std::shared_ptr<NetworkRouteSegment>> empty;

i = map.insert(segment->routeKey, empty);

}

i.value().append(segment);

}

}

Is this a good strategy?

u/nikos2wheels — 21 days ago
▲ 6 r/OsmAnd

Error building OsmAnd in Android Studio

I downloaded the source code from GitHub and I opened it in Android Studio. During build I get the following error message:

string too large to encode using UTF-8 written instead as 'STRING_TOO_LARGE'.

My understanding is the source code is in a clean state and should compile and build without errors. Why am I getting this and how can I resolve this?

reddit.com
u/nikos2wheels — 25 days ago