Menu

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.

Show posts Menu

Messages - jacksan

#1
ERRORES/BUGS / Can't move online cache to SD Card
July 25, 2018, 10:44:25 PM
I've read previous topics and tried various things but cannot move the Online Map Cache to the SD Card.



OM 7.3.1

Android 8.0.0



I tried:
  • Global Settings, Application, Migrate to SD card. (See NOTE below)

[list type=]
  • Map Settings, Map Directory]
    • Map Settings, Map Directory: Changed it to Storage/3134-3530/Android/data/com.orux.oruxmaps

    • Map Settings, Map Directory: Changed it to Storage/3134-3530/Android/data/com.orux.oruxmaps/files

    • Tried manually copying the OruxMapsCacheImages db and journal files the above folders, erasing the originals

    • I uninstalled, deleted the OM folders on the internal storage and the SD Card, then reinstalled OM.


    Nothing worked.

    OM is still using the default Internal Storage/oruxmaps/mapfiles folder.



    NOTE: When I used the "Migrate to SD card" option:

    I got "the app can not write to the selected SD, you must authorize..." message.

    I click AUTHORIZE and a folder listing comes up, showing the root of the SD Card. I click SELECT.

    It says Migration is OK.

    I restart OM.

    Map Settings, Map Directory is now pointing to the SD Card mapfiles_OM folder. This "appears" to be correct.

    BUT... OM is still using the Mapfiles folder in the Internal Storage.





    Thoughts?
  • #2
    ERRORES/BUGS / Digital zoom problem with MultiMaps
    June 08, 2018, 11:35:35 PM
    I created a MultiMap using one map that publishes data up to layer 16 and another map which publishes data up to layer 18.



    When I zoom to layer 17 the map goes blank

    I can enable Digital Zoom (in Zoom Settings) and view it that way.



    The problem is that both maps use Digital Zoom, even though one maps supports zoom up to 18.

    Is there a way to have one map use digital and the other use "real" zoom?
    #3
    EDIT: After i posted the below comment I discovered that both of the maps in my wms_services.xml file has the same <uid>3331</uid>  

    I haven't verified it yet but I bet this was the problem!!

    MY BAD  :oops:



    I found the problem...



    The top layer tiles I was seeing were not even the top layer of the composite map I was viewing.

    They were from a WMS source that is not the top layer of the composite map I was viewing at the time.  :shock:

         BASE: WMS "Ky_DEM_KYAPED_5FT_Hillshade"

         TOP: OpenStreetMap CycleMap (online)

    The top tiles I were seeing were from: WMS "Ky_KyTopoMapSeries".    :?



    This led me to look at the wms_services.xml file I was using (I show it below).

    It had 2 WMS sources listed: "Ky_DEM_KYAPED_5FT_Hillshade" and "Ky_KyTopoMapSeries"



    To resolve the issue:

    1) I removed "Ky_KyTopoMapSeries" from the wms_services.xml file and restarted OM.

    2) I deleted all my MULTIMAPS maps, then deleted the "Ky_KyTopoMapSeries" WMS map.

    3) I re-created the same composite map:

         BASE: http://kyraster.ky.gov/arcgis/services/">http://kyraster.ky.gov/arcgis/services/ ... /WMSServer?

         TOP: OpenStreetMap CycleMap (online)

    It works fine now.



    Here is the wms_services.xml file that led to the problem:

    <?xml version="1.0" encoding="UTF-8"?>

    <wms_services>  

    <wms>        

    <name>Ky_KyTopoMapSeries</name>        

    <uid>3331</uid>    

    <desc>Ky_KyTopoMapSeries</desc>        

    <credits><![CDATA[<a href="http://kyraster.ky.gov">Credits</a>]]></credits>

    <url>http://kyraster.ky.gov/arcgis/services/ImageServices/Ky_KyTopoMapSeries/ImageServer/WMSServer?%3C/url">http://kyraster.ky.gov/arcgis/services/ ... rver?</url">http://kyraster.ky.gov/arcgis/services/ImageServices/Ky_KyTopoMapSeries/ImageServer/WMSServer?</url>        

    <minzoomlevel>0</minzoomlevel>  

    <maxzoomlevel>20</maxzoomlevel>      

    <version>1.1.1</version>    

    <layers>0</layers>        

    <coordinatesystem>EPSG:4326</coordinatesystem>      

    <format>image/jpeg</format>        

    <cache>1</cache>

    </wms>

    <wms>        

    <name>Ky_DEM_KYAPED_5FT_Hillshade</name>        

    <uid>3331</uid>    

    <desc>Ky_DEM_KYAPED_5FT_Hillshade</desc>        

    <credits><![CDATA[<a href="http://kyraster.ky.gov">Credits</a>]]></credits>

    <url>http://kyraster.ky.gov/arcgis/services/ElevationServices/Ky_DEM_KYAPED_5FT_Hillshade/ImageServer/WMSServer?%3C/url">http://kyraster.ky.gov/arcgis/services/ ... rver?</url">http://kyraster.ky.gov/arcgis/services/ElevationServices/Ky_DEM_KYAPED_5FT_Hillshade/ImageServer/WMSServer?</url>        

    <minzoomlevel>0</minzoomlevel>  

    <maxzoomlevel>20</maxzoomlevel>      

    <version>1.1.1</version>    

    <layers>0</layers>        

    <coordinatesystem>EPSG:4326</coordinatesystem>      

    <format>image/jpeg</format>        

    <cache>1</cache>

    </wms>

    </wms_services>
    #4
    Yes, they work fine standalone:



    http://kyraster.ky.gov/arcgis/services/ElevationServices/Ky_DEM_KYAPED_5FT_Hillshade/ImageServer/WMSServer">http://kyraster.ky.gov/arcgis/services/ ... /WMSServer">http://kyraster.ky.gov/arcgis/services/ElevationServices/Ky_DEM_KYAPED_5FT_Hillshade/ImageServer/WMSServer?

    and

    http://kyraster.ky.gov/arcgis/services/ImageServices/Ky_KyTopoMapSeries/ImageServer/WMSServer">http://kyraster.ky.gov/arcgis/services/ ... /WMSServer">http://kyraster.ky.gov/arcgis/services/ImageServices/Ky_KyTopoMapSeries/ImageServer/WMSServer?



    The problem also occured when mixing a WMS source with an online map:

    http://kyraster.ky.gov/arcgis/services/ElevationServices/Ky_DEM_KYAPED_5FT_Hillshade/ImageServer/WMSServer">http://kyraster.ky.gov/arcgis/services/ ... /WMSServer">http://kyraster.ky.gov/arcgis/services/ElevationServices/Ky_DEM_KYAPED_5FT_Hillshade/ImageServer/WMSServer?

    and

    OpenStreetMap CycleMap (online)



    I also noticed that when I viewed WMS: Ky_DEM_KYAPED_5FT_Hillshade standalone, some of the tiles were still wrong.

    I had to Refresh Tiles (under Map Tweaks) to get rid of the bad tiles.



    Thanks
    #5
    I am on version 7.2.14



    I've created a Composite map of 2 WMS sources.

    When I first display the MultiMap it looks good.

    As I zoom around there is a problem displaying the tiles.



    Some of the tiles show the base layer, some show the top layer, and some tiles are the correct composite.

    As I zoom in and out the mix of tiles changes.

    I've tried different "Select layer transparency" settings when creating the Composite Map but it did not help.

    I've edited the WMS settings and added "&transparency=true" but that did not help either.



    This appears to be a bug.



    I created a Composite Map of 2 online, non WMS, sources and that map behaves correctly.