User Tools

Site Tools


manual:advanced:convert_img_to_sql

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
manual:advanced:convert_img_to_sql [2015/05/21 16:28] – created mstupkamanual:advanced:convert_img_to_sql [2015/09/02 14:09] (current) mstupka
Line 1: Line 1:
-====== Convert IMG maps to SQL ======+====== How to convert IMG maps to SQL ======
  
 ---- ----
-<WRAP todo round center 60%>This page is obsolete and will be reworked soon</WRAP> 
-===== Basic information ===== 
- 
-**Created:** 2012/07/12 08:57 
  
 ===== How to ===== ===== How to =====
  
-This is one possibleworking and mainly tested method to convert IMG map files, with some limitations, to one of formats that Locus support+This is one of possible working and tested methods of conversion of IMG map files to one of formats that Locus supports (within some limits).
  
 ==== What you need ==== ==== What you need ====
  
-  * IMG map fileyou want to convert +  * IMG map file you want to convert 
-  * program [[http://gmeaddons.sourceforge.net/|MapEdit++]] +  * [[http://gmeaddons.sourceforge.net/|MapEdit++]] software 
-  * program MAPC2MAPC+  * MAPC2MAPC software
   * some free time   * some free time
  
-===== Method =====+===== Procedure =====
  
 ==== 1. convert IMG to image format (BMP) ==== ==== 1. convert IMG to image format (BMP) ====
  
   - start MapEdit++ program (Instructions based on v1.061.496)   - start MapEdit++ program (Instructions based on v1.061.496)
-  - select **File** -> **Open** and choose your IMG map file. It will take some timetill program analyze and load whole map file. +  - select **File** -> **Open** and choose your IMG map file. It will take some time till program analyzes and loads whole map file. 
-  - now depend if you want to export whole IMG map file to Locus or just part. +  - now it depends if you want to export whole IMG map file to Locus Map or just part of it
-    * wholeeasier, nothing special to prepare +    * whole easier, nothing special to prepare 
-    * part: need to find top-left and bottom-right coordinate of area you want to export. At bottom of screenyou may see current coordinates of your center cross, so suggest to **write on paper these two required locations!** +    * part - it's necessary to find top-left and bottom-right coordinates of area you want to export. At the bottom of screen you can see current coordinates of your screen center cursor so we suggest to **write these two required locations on a piece of paper!** 
-  - now zoom to level you want to have exported (only one zoom level may be exportedso choose precisely)+  - now zoom to level you want to have exported (only one zoom level may be exported so choose precisely)
   - select **File** -> **Export** -> **Raster image**    - select **File** -> **Export** -> **Raster image** 
     * define path where you want to export the *.bmp file     * define path where you want to export the *.bmp file
Line 43: Line 39:
   - select **File** -> **Write Mobile Atlas**   - select **File** -> **Write Mobile Atlas**
     * in //Select atlas// choose **Locus/RMAPS/...** item     * in //Select atlas// choose **Locus/RMAPS/...** item
-    * zoom levels should leave as is. MAPC2MAPC automatically create some zoom levels for you from that one bitmap image+    * zoom levels should be left as is. MAPC2MAPC automatically creates some zoom levels for you from that one bitmap image
     * if you need to specify some tiles and want transparent margins, select //checkboxes// below     * if you need to specify some tiles and want transparent margins, select //checkboxes// below
-    * after selection, press **OK** and ... wait ...+    * after the selection, press **OK** and... wait...
  
 ==== 3. Result ==== ==== 3. Result ====
  
-Result of this procedure should ** *.sqlite** map file. Simply put this map file into //Locus/maps// directory on your device and start Locus. It should load this map and allow you to select it in //Map Manager//screen+Result of this procedure should be an ** *.sqlite** map file. Simply put this map file into //Locus/maps// directory on your device and start Locus. It loads this map automatically and allows you to select it in //Map Manager// screen.
  
manual/advanced/convert_img_to_sql.1432218490.txt.gz · Last modified: 2015/05/21 16:28 by mstupka