OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>

Map for Android phone from .jpg and .jgw files

Page 1 of 2 1, 2  Next

View previous topic View next topic Go down

Map for Android phone from .jpg and .jgw files

Post  MB on Wed Apr 21, 2010 9:32 pm

Hello,
I have a large (3 GB) map in .jpg and .jgw format (ca 75 different pairs of files which together cover a geographical area). I would like to use this map on my Android phone (Htc Desire) in offline mode. Could someone take me through the necessary steps in the process of converting these maps to a format that can be used by Oruxmaps?

MB

Cantidad de envíos: 70
Fecha de inscripción: 2010-04-21

View user profile

Back to top Go down

Norsk?

Post  Hakoon on Wed Apr 28, 2010 1:52 am

Struggling with the same problem.

Hakoon
Guest


Back to top Go down

Re: Map for Android phone from .jpg and .jgw files

Post  MB on Wed Apr 28, 2010 2:17 am

Hello, fellow Norwegian,
I have done some research, but I still haven't had time to test if the following procedure will work:

Download Oziexplorer - free version, and lauch the "test" version.

http://www.oziexplorer.com/

This version will close down after one hour, but this should be sufficient in order to convert the .jgw files (and only these) to the format used by Oziexplorer.

Then download Orux Desktop and convert these files (images a n d converted data files) to the format used by orux maps.

I hope this procedure will work for creating maps that can be used on my Android phone. If you have other purposes, I am not the right person to ask.

If this does not word, another option is perhaps to disregard the .jgw files altogether, and use the method "from scratch" described by orux on this site.

Please let me know if you have any success. I would be especially interested in the GPS accuracy of the maps.

Another way of creating (smaller) maps for Android phones with the free app Orux Maps (using Mobile Atlas Creator 1.8. alpha) is described by Orux on these pages. In Norway, this works very well because the Statkart and Eniro databases have recently been made publicly accesible. I have used this method successfully myself. However, the Statkart Topo 2 database has a download limit of 10000 tiles per ip address per day. (Really no challenge for people with bad intentions, I presume.) To my knowledge, Eniro does not currently have this limit, but ther maps are less suitable for trekking etc.

MB

Cantidad de envíos: 70
Fecha de inscripción: 2010-04-21

View user profile

Back to top Go down

Re: Map for Android phone from .jpg and .jgw files

Post  Hakon on Wed Apr 28, 2010 2:20 am

I am manually converting them but it takes for ever

Hakon
Guest


Back to top Go down

Re: Map for Android phone from .jpg and .jgw files

Post  MB on Wed Apr 28, 2010 2:54 am

Well, the files are big. Picasa crashes on my laptop when I attempt to show the bigger images on the screen, but curiously, the Desire shows them correctly. The zooming function is insufficient, however. If the phone's image viewing software had allowed 20 or 30x zoom, one could use the images without GPS support, or use GPS-marked details combined with Orux maps. Perhaps there is a better image viewing app in the Android Market.

A problem with these files is that they only contain one zoom layer. This reduces the user-friendlyness drastically - especially on small screens. If you use Mobile Atlas Creator, you can choose as many layers as you want - and only download the high-resolution zoom levels where you really need them.

By the way, what do you mean by "manually".

Lykke til!

MB

Cantidad de envíos: 70
Fecha de inscripción: 2010-04-21

View user profile

Back to top Go down

Re: Map for Android phone from .jpg and .jgw files

Post  orux on Wed Apr 28, 2010 3:51 am

MB wrote:Well, the files are big. Picasa crashes on my laptop when I attempt to show the bigger images on the screen, but curiously, the Desire shows them correctly. The zooming function is insufficient, however. If the phone's image viewing software had allowed 20 or 30x zoom, one could use the images without GPS support, or use GPS-marked details combined with Orux maps. Perhaps there is a better image viewing app in the Android Market.

A problem with these files is that they only contain one zoom layer. This reduces the user-friendlyness drastically - especially on small screens. If you use Mobile Atlas Creator, you can choose as many layers as you want - and only download the high-resolution zoom levels where you really need them.

By the way, what do you mean by "manually".

Lykke til!

Hi;

I think jgw is the same as tfw:

jgw:
1.50000000000000 (X scale, pixel size in meters)
0.00000000000000 (translation factor)
0.00000000000000 (rotation factor)
-1.50000000000000 (Y scale)
1934001.50000000000000 (X coordinate of the upper left pixel)
1187698.50000000000000 (Y coordinate of the upper left pixel)

tfw:
100.000
0.000
0.000
-100.000
421295.630
4485512.220

OruxMapsDesktop can read tfw files. But You have to know projection and Datum, because these information is not inside tfw file.

If you know projection and datum, you can use oruxmapsdesktop.

Could you send me a .map file created from a .jgw file with Ozi?

orux

orux

Cantidad de envíos: 3946
Fecha de inscripción: 2009-07-06

View user profile

Back to top Go down

Re: Map for Android phone from .jpg and .jgw files

Post  MB on Wed Apr 28, 2010 9:14 am

Hi Orux,
It turns out that the Trial version of Ozi does not support conversion of this file type. However, I seem to have found a way around this problem - Ozi versions of this map are apparently already available online. If Hakon is interested, he can send me a PM for details.

MB

Cantidad de envíos: 70
Fecha de inscripción: 2010-04-21

View user profile

Back to top Go down

Re: Map for Android phone from .jpg and .jgw files

Post  MB on Fri May 07, 2010 10:30 am

Hi,
Today, I finally had the opportunity to work with Orux Desktop and the jpg / jgw files. It turns out that Orux is right, the jgw files apparently contain the same info as a tfw file. After manually changing the file name, I could use the files with Orux Desktop. However, Orux Desktop assumes that the coordinate (UTM grid) of the upper left pixel is in the southern hemisphere - but places the lower left pixel correctly. After I had changed S to N in the "choice box", the program created a map without problems, although some calibration (done by adding/subtracting a few meters to the UTM grid coordinates of the two pixels) was necessary. I assume that it was necessary to calibrate the map in this way because the original jpg/jgw files were imprecise.

Thanks for your advice!

MB

Cantidad de envíos: 70
Fecha de inscripción: 2010-04-21

View user profile

Back to top Go down

Re: Map for Android phone from .jpg and .jgw files

Post  orux on Sat May 08, 2010 1:18 am

MB wrote:Hi,
Today, I finally had the opportunity to work with Orux Desktop and the jpg / jgw files. It turns out that Orux is right, the jgw files apparently contain the same info as a tfw file. After manually changing the file name, I could use the files with Orux Desktop. However, Orux Desktop assumes that the coordinate (UTM grid) of the upper left pixel is in the southern hemisphere - but places the lower left pixel correctly. After I had changed S to N in the "choice box", the program created a map without problems, although some calibration (done by adding/subtracting a few meters to the UTM grid coordinates of the two pixels) was necessary. I assume that it was necessary to calibrate the map in this way because the original jpg/jgw files were imprecise.

Thanks for your advice!

Ok,

I will solve 'S' problem with OruxMapsDesktop.

orux

_________________
Ahora puedes contribuir:--> DONACIÓN
Now you can contribute:--> DONATE

orux

Cantidad de envíos: 3946
Fecha de inscripción: 2009-07-06

View user profile

Back to top Go down

sv

Post  sv on Sat Jun 05, 2010 1:27 am

so how is it going? working? if so, let us have a guide? Smile

i would really like to have topo maps from statkart if i buy HTC Desire.

sv
Guest


Back to top Go down

Re: Map for Android phone from .jpg and .jgw files

Post  orux on Sat Jun 05, 2010 5:35 am

sv wrote:so how is it going? working? if so, let us have a guide? Smile

i would really like to have topo maps from statkart if i buy HTC Desire.

Do you have maps calibrated with a .jgw file?

Change the name to .tfw; then you can use it with OruxMapsDesktop.

orux

_________________
Ahora puedes contribuir:--> DONACIÓN
Now you can contribute:--> DONATE

orux

Cantidad de envíos: 3946
Fecha de inscripción: 2009-07-06

View user profile

Back to top Go down

Re: Map for Android phone from .jpg and .jgw files

Post  GammelGr on Thu Aug 12, 2010 6:11 pm

Would it be possible to add jgw as source for calibration file, and with jgw look for jpg image file?
jgw and jpg normally comes in pair as tfw and tiff do.

In OruxMapsDesktop, would it be possible in the batch conversion tab to add settings for projection and datum?
If the projection and datum is not found in the loaded calibration file those settings could be used.

GammelGr
Guest


Back to top Go down

Re: Map for Android phone from .jpg and .jgw files

Post  orux on Fri Aug 13, 2010 5:01 am

GammelGr wrote:Would it be possible to add jgw as source for calibration file, and with jgw look for jpg image file?
jgw and jpg normally comes in pair as tfw and tiff do.

In OruxMapsDesktop, would it be possible in the batch conversion tab to add settings for projection and datum?
If the projection and datum is not found in the loaded calibration file those settings could be used.

Hi;

Yes; added to my 'todo' list

orux

_________________
Ahora puedes contribuir:--> DONACIÓN
Now you can contribute:--> DONATE

orux

Cantidad de envíos: 3946
Fecha de inscripción: 2009-07-06

View user profile

Back to top Go down

Re: Map for Android phone from .jpg and .jgw files

Post  GammelGreggan on Fri Aug 13, 2010 7:16 am

Another thing regarding OruxMapsDesktop; in conversion tab it is possible to set RT90:swedish but in batch conversion tab using oziexplorer calibration map-fil containing RT90 does not work.

GammelGreggan

Cantidad de envíos: 28
Fecha de inscripción: 2010-08-13

View user profile http://www.gregow.se

Back to top Go down

Re: Map for Android phone from .jpg and .jgw files

Post  orux on Fri Aug 13, 2010 7:55 am

GammelGreggan wrote:Another thing regarding OruxMapsDesktop; in conversion tab it is possible to set RT90:swedish but in batch conversion tab using oziexplorer calibration map-fil containing RT90 does not work.

Hi;

OruxMaps does not know all the datum names used in Ozi.

If you want to automatize this datum, you have to add in Ozi2Orux.txt file (inside OruxMapsDesktop folder) a new line:

'datum in ozi'|RT90Swedish

'datum in ozi' is how .map file calls this datum.

orux

_________________
Ahora puedes contribuir:--> DONACIÓN
Now you can contribute:--> DONATE

orux

Cantidad de envíos: 3946
Fecha de inscripción: 2009-07-06

View user profile

Back to top Go down

Page 1 of 2 1, 2  Next

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum