Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pedestrian route not using shorter paths in park #15621

Closed
andrixnet opened this issue Apr 16, 2024 · 8 comments
Closed

Pedestrian route not using shorter paths in park #15621

andrixnet opened this issue Apr 16, 2024 · 8 comments
Labels
Bug Issues classified as a bug Unverified Issue not yet confirmed/reproduced or feature requests not yet checked for plausibility

Comments

@andrixnet
Copy link

Describe your problem!

Trying to route to cache using walk profiles doesn't use pedestrian features.

How to reproduce?

I am in a park. There are several paths in the park. There is a cache outside the park and walking, the shortest part is using such paths.
c:geo with internal routing or external BRouter app (tested with both).
Using walk profile.

Actual result after these steps?

Screenshot_20240414-194337_cgeo

I get the same route as if using car profile. The routing doesn't go through the park.

As a comparison, routing using OSMAND does use the paths with walk profile, and it also uses basically the same data.

Expected result after these steps?

Route using the pedestrian paths.

Reproducible

Yes

c:geo Version

2024.04.13

System information

## System information

c:geo version: 2024.04.13

Device:- Device type: SM-G965F (star2ltexx, samsung)
- Available processors: 8
- Android version: 9
- Android build: PPR1.180610.011.G965FXXS7CSK4
- Screen resolution: 1440x2792px (411x773dp)
- Pixel density: 3.8500001
- System font scale: 1.1 / used scale: 1.1
- Sailfish OS detected: false
- Google Play services: enabled - 24.12.17 (100400-623887440)
- Memory: Available:2.2 GB, Total:5.5 GB, Threshold: 216.0 MB, low:false

Sensor and location:- Low power mode: inactive
- Compass capabilities: yes
- Rotation vector sensor: present
- Orientation sensor: present
- Magnetometer & Accelerometer sensor: present
- Direction sensor used: rotation vector

Program settings:- Settings: v9, Count:220
- Set language: en_GB (system default)
- System date format: dd/MM/y
- Time zone: GMT+03:00
- Debug mode active: no
- Log Settings: debug=false, minLevel=WARN, minAddCallerInfo=NONE, addCallerInfoMaxDepth=8, throwOnError=false, transactionSizes=false
- Last manual backup: 4 Nov 2022, 16:42
- Last auto backup: 6 Apr, 08:59
- Routing mode: Walk
- Live map mode: false
- Use unified map: false
- OSM multi-threading: true / threads: 4
- Map: Romania (Offline)
- Id: cgeo.geocaching.maps.mapsforge.MapsforgeMapProvider$OfflineMapSource:primary:maps/mapsforge/Romania.map
- Atts: Map data (c) OpenStreetMap contributors
- Theme: none

Filters:- Hide waypoints: -
- LIVE: Origin: geocaching.com, Status: Exclude Archived ({"advanced":true,"inconclusive":false,"tree":{"type":"AND","children":[{"type":"stored_list","config":{}},{"type":"origin","config":{"values":["geocaching.com"]}},{"type":"status","config":{"values":["exclude_archived"]}}]}})
- OFFLINE: None ({"advanced":true,"inconclusive":false,"tree":{"type":"AND","children":[{"type":"origin","config":{}},{"type":"status","config":{}}]}})

Services:- Geocaching sites enabled:
- geocaching.com: Not logged in (Logging in…)
- opencaching.ro: Logged in (Login OK)
- Geocaching.com date format: yyyy-MM-dd
- Geocaching.com website language: en-US
- Last login error on geocaching.com: failed to find request verification token (2024-04-14 13-07)
- Last successful login on geocaching.com: 2024-04-14 13-45
- Routing: external / BRouter installed: true

Permissions- ACCESS_COARSE_LOCATION: granted
- ACCESS_FINE_LOCATION: granted
- READ_CONTACTS: DENIED
- WRITE_EXTERNAL_STORAGE: granted
- POST_NOTIFICATIONS: granted

Paths- System internal c:geo dir: /data/user/0/cgeo.geocaching (170.2 GB free) v3 internal isDir(10 entries)
- Legacy User storage c:geo dir: /storage/emulated/0/cgeo (170.2 GB free) v3 external non-removable isDir(7 entries)
- Geocache data: /storage/emulated/0/Android/data/cgeo.geocaching/files/GeocacheData (170.2 GB free) v3 external non-removable isDir(568 entries)
- Internal theme sync (is turned off): /data/user/0/cgeo.geocaching/MapThemeData (170.2 GB free) v3 internal isDir(0 entries)
- Map render theme path:
- Public Folders: #12
- BASE: content://com.android.externalstorage.documents/tree/primary:cgeo/document/primary:cgeo (av:true, files:>=26, size:>=305.5 MB, free:>=170.2 GB)
- OFFLINE_MAPS: content://com.android.externalstorage.documents/tree/primary:maps/mapsforge/document/primary:maps/mapsforge (av:true, files:>=6, size:>=825.4 MB, free:>=170.2 GB)
- OFFLINE_MAP_THEMES: content://com.android.externalstorage.documents/tree/primary:maps/mapsforge/document/primary:maps/mapsforge (av:true, files:>=6, size:>=825.4 MB, free:>=170.2 GB)
- OFFLINE_MAP_SHADING: content://com.android.externalstorage.documents/tree/primary:maps/mapsforge/document/primary:maps/mapsforge/_hgt (av:true, files:>=0, size:>=0 B, free:>=170.2 GB)
- LOGFILES: content://com.android.externalstorage.documents/tree/primary:cgeo/document/primary:cgeo/logfiles (av:true, files:>=2, size:>=247.4 KB, free:>=170.2 GB)
- GPX: content://com.android.externalstorage.documents/tree/primary:gpx/document/primary:gpx (av:true, files:>=4, size:>=3.4 MB, free:>=170.2 GB)
- BACKUP: content://com.android.externalstorage.documents/tree/primary:cgeo/document/primary:cgeo/backup (av:true, files:>=28, size:>=308.2 MB, free:>=170.2 GB)
- FIELD_NOTES: content://com.android.externalstorage.documents/tree/primary:cgeo/document/primary:cgeo/field-notes (av:true, files:>=0, size:>=0 B, free:>=170.2 GB)
- SPOILER_IMAGES: content://com.android.externalstorage.documents/tree/primary:cgeo/document/primary:cgeo/GeocachePhotos (av:true, files:>=0, size:>=0 B, free:>=170.2 GB)
- ROUTING_BASE: content://com.android.externalstorage.documents/tree/primary:cgeo/document/primary:cgeo/routing (av:true, files:>=10, size:>=78.9 MB, free:>=170.2 GB)
- ROUTING_TILES: content://com.android.externalstorage.documents/tree/primary:cgeo/document/primary:cgeo/routing/segments4 (av:true, files:>=2, size:>=78.8 MB, free:>=170.2 GB)
- TEST_FOLDER: file:///data/user/0/cgeo.geocaching/files/unittest (av:true, files:>=0, size:>=0 B, free:>=170.2 GB)
- PersistedDocumentUris: #2
- PROXIMITY_NOTIFICATION_FAR: null
- PROXIMITY_NOTIFICATION_CLOSE: null
- Persisted Uri Permissions: #3
- content://com.android.externalstorage.documents/tree/primary:maps/mapsforge (19 Apr 2021, 11:32):RW
- content://com.android.externalstorage.documents/tree/primary:gpx (19 Apr 2021, 11:32):RW
- content://com.android.externalstorage.documents/tree/primary:cgeo (19 Apr 2021, 11:32):RW
- Database: /storage/emulated/0/Android/data/cgeo.geocaching/files/databases/data (v103, Size:12.5 MB) on user storage

--- End of system information ---

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Additional Information

No response

@andrixnet andrixnet added Bug Issues classified as a bug Unverified Issue not yet confirmed/reproduced or feature requests not yet checked for plausibility labels Apr 16, 2024
@moving-bits
Copy link
Member

It may be that c:geo is not using an actual walking profile. As written in #15620 (comment): Can you please go to settings => routing/navigation and check what profiles you have configured for walk / bike / car?

@andrixnet
Copy link
Author

When checking "use internal routing" I see the following:

  • "walk" profile - shortest.brf
  • "bike" profile - trekking.brf
  • "car" profile - car-eco.brf

@andrixnet
Copy link
Author

Note: I have updated over the weekend to 2024.04.18 version.
In a different location (city), in a park, it routed for me through the alleys of the park, in the context of the external BRouter. (same context as the initial report here, context which later I changed to internal routing for test purposes).

I will try to revisit the place on which this report was based and get back.

@fm-sys
Copy link
Member

fm-sys commented Apr 22, 2024

Maybe the park is just not correctly mapped in OSM...?

@andrixnet
Copy link
Author

Unlikely, using OSMAnd and walk profile I get route through park alleys.

@andrixnet
Copy link
Author

Interesting. Revisited the place today, tested with both internal routing and with external BRouter app and it worked both ways.
c:geo version 2024.04.25 (no other changes, same maps)

@andrixnet
Copy link
Author

I'd say it's safe to close this.

@moving-bits
Copy link
Member

That's indeed strange, we have changed nothing wrt to routing in the last versions... But anyway, thanks for cross-checking and reporting back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues classified as a bug Unverified Issue not yet confirmed/reproduced or feature requests not yet checked for plausibility
Projects
None yet
Development

No branches or pull requests

3 participants