I had a similar problem with an external SD card recently. Subsequent to the Android 11 upgrade on my S20, map rendering went from <0.5s to 5+ seconds.
Based on some research, I think the problem is changes to the "Storage Access Framework" in Android 11. For app-specific data stored on the SD card in /Android/data/, an API request for access permission can take 100ms -- and OsmAnd needs to do that hundreds of times. I was surprised at how simple the solution turned out to be. I made a new directory on my SD card, /OsmAnd, and told OsmAnd to use that as its storage directory. Maps stored outside the /Android directories now have the same rendering performance I'm used to. On Wednesday, January 27, 2021 at 8:49:28 AM UTC-8 [email protected] wrote: > Hello and thanks! > Just for fun I also downloaded slope but neither slope nor hillshade was > visible even after multiple times checking the buttons and sliders. > > But then i discovered the cause of the problem: > > I had the data storage folder set to my external sd-card. > After setting that to the internal storage and letting osmand move all > files it worked perfect! > > Without any other changes hillshade works well on internal storage and > doesn't on external. > There seems to be a problem with android 11 and the external sd-card. > Osmand had no problem with maps on the ext. sd-card, only with hillshade > and slope. > > I tested this behaviour on two different Samsung S4 with lineageos 18.1 > and two different sd-cards. > > I hope this can be fixed in future updates. > Storage on ext. sd-card is a must for osmand users with large collection > of maps. > > > > [email protected] schrieb am Mittwoch, 27. Januar 2021 um 15:31:16 UTC+1: > >> Hello! Thank you for the feedback. >> You can try to change the opacity of the "Hillside" layer in the >> "Configure Map – Terrain" menu. Also, check that in "Terrain" you have >> switched to "Hillshade" now the menu contains a switcher between >> Slope/Hillshade. If it doesn't help, please contact us at >> [email protected] and provide the region name for which you are >> downloading the map. >> On Wednesday, January 27, 2021 at 12:43:16 PM UTC+2 [email protected] >> wrote: >> >>> Hi, >>> I have been using osmand+ for years. >>> Recently I had to reset my phone and install osmand+ and the >>> contourlines and hillshade plugin (bought years ago). >>> >>> I downloaded contourlines and hillshade for germany but i cannot see the >>> hillshade when viewing my map. >>> The contourlines are there. Hillshade is switched on in the map >>> configuration but does not show on the screen. The map remains "flat". >>> >>> I am using osmand on a Samsung Galaxy S4 with lineageos 18.1 (android >>> 11). >>> >>> Any ideas why hillshade doesn't work for me? >>> >>> Thanks! >>> >> -- You received this message because you are subscribed to the Google Groups "OsmAnd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osmand/fb19a368-bd5a-4d06-8e79-a093a155f93dn%40googlegroups.com.
