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 - Willi_47

#1
ERRORES/BUGS / Problem with map starage on SD Card
July 29, 2016, 10:42:45 AM
Hi there,

I use Android 5.0.2, Kernel Version 3.10.49 with Oruxmaps 6.5.9. (deutsch, downloaded from Google Playstore)

Loading offline maps like OpenTopoMap to internal memory works fine. But loading these maps directly to SD Card  in directory "SD1/Android/data/ com.orux.oruxmaps"  gives  the error message "Fehler beim Erstellen der SQlite Datenbank". This is German text. It means "Error building SQlite database".The SD Card is corrupted by the writing process. It can only be used again by powerdown and restart of the smartphone.  After that procedure directory "SD1/Android/data/ com.orux.oruxmaps"  has a subdirectory "HHTest" including  files HHTest.otrk3.xml 8  (0B), OruxMapsImages.db (0 B), OruxMapsImages.db-journal (512 B)

I also removed the corrupted SD Card from the Smartphone and repaired it using the Windows Explorer. After repair the corrupted file is stored with filename "FILE0000.CHK in directory FOUND.000 on the SD Card. FOUND.000 has the size of 512 kByte.  It can be read with the Windows Editor and has the file header given below.



Workaround:

Loading maps to internal memory and shifting the corresponding subdirectories into "SD1/Android/data/ com.orux.oruxmaps" using an Android File Manager works well.



"FILE000.CHK"-fileheader:



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

<OruxTracker xmlns="http://oruxtracker.com/app/res/calibration">http://oruxtracker.com/app/res/calibration"

 versionCode="3.0">

<MapCalibration layers="true" layerLevel="0">

<MapName><![CDATA[HHTest]]></MapName>

<OruxTracker  versionCode="2.1">

<MapCalibration layers="false" layerLevel="13">

<MapName><![CDATA[HHTest]]></MapName>

<MapChunks xMax="3" yMax="3" datum="WGS84" projection="Mercator" img_height="256" img_width="256" file_name="HHTest" />

<MapDimensions height="768" width="768" />

<MapBounds minLat="53.67068019347265" maxLat="53.748710796898976" minLon="9.931640625" maxLon="10.0634765625" />

<CalibrationPoints>

<CalibrationPoint corner="TL" lon="9.931641" lat="53.748711" />

<CalibrationPoint corner="BR" lon="10.063477" lat="53.670680" />

<CalibrationPoint corner="TR" lon="10.063477" lat="53.748711" />

<CalibrationPoint corner="BL" lon="9.931641" lat="53.670680" />

</CalibrationPoints>

</MapCalibration>

</OruxTracker>

<OruxTracker  versionCode="2.1">

<MapCalibration layers="false" layerLevel="14">

<MapName><![CDATA[HHTest]]></MapName>

<MapChunks xMax="4" yMax="5" datum="WGS84" projection="Mercator" img_height="256" img_width="256" file_name="HHTest" />

<MapDimensions height="1280" width="1024" />

<MapBounds minLat="53.68369534495075" maxLat="53.748710796898976" minLon="9.95361328125" maxLon="10.04150390625" />

<CalibrationPoints>

<CalibrationPoint corner="TL" lon="9.953613" lat="53.748711" />

<CalibrationPoint corner="BR" lon="10.041504" lat="53.683695" />

<CalibrationPoint corner="TR" lon="10.041504" lat="53.748711" />

<CalibrationPoint corner="BL" lon="9.953613" lat="53.683695" />

</CalibrationPoints>

</MapCalibration>

</OruxTracker>

<OruxTracker  versionCode="2.1">

<MapCalibration layers="false" layerLevel="15">

<MapName><![CDATA[HHTest]]></MapName>

<MapChunks xMax="6" yMax="8" datum="WGS84" projection="Mercator" img_height="256" img_width="256" file_name="HHTest" />

<MapDimensions height="2048" width="1536" />

<MapBounds minLat="53.69020141273197" maxLat="53.742213773431224" minLon="9.964599609375" maxLon="10.030517578125" />

<CalibrationPoints>

<CalibrationPoint corner="TL" lon="9.964600" lat="53.742214" />

<CalibrationPoint corner="BR" lon="10.030518" lat="53.690201" />

<CalibrationPoint corner="TR" lon="10.030518" lat="53.742214" />

<CalibrationPoint corner="BL" lon="9.964600" lat="53.690201" />

</CalibrationPoints>

</MapCalibration>

</OruxTracker>

</MapCalibration>

</OruxTracker>