GmapTool - program narzędziowy do plików img
Re: GmapTool - program narzędziowy do plików img
Gmaptool czyta to, co system kwalifikuje jako *.img. Sprawdź, co Ci pokaże komenda dir *.img
Re: GmapTool - program narzędziowy do plików img
Zgadza się.
Ja z tym radzę sobie w taki sposób (w Delphi)
Ja z tym radzę sobie w taki sposób (w Delphi)
Kod: Zaznacz cały
var
fd:WIN32_FIND_DATA;
ff:THandle;
//...
ff:=FindFirstFile('*.img',fd);
if ff<>INVALID_HANDLE_VALUE then
repeat
if LowerCase(ExtractFileExt(fd.cFileName))='.img' then
begin
//dopisanie do listy fd.cFileName
end;
until not FindNextFile(ff,fd);
FindClose(ff);
Staszek
Nuvi200 + Nuvi250v2 + Mio169 + eTrexVistaHCx + eTrex20->eTrex30 + Samsung Solid B2710 + HTC HD2 (Android 4.2.2) + K&M Drive 2.1 + eTrex30x
własna kompilacja OSM + UMP-pcPL + Compass
góry - Locus, droga - ciągle poszukuję
NuviLog2MS, gpxer, jnxer
własna kompilacja OSM + UMP-pcPL + Compass
góry - Locus, droga - ciągle poszukuję
NuviLog2MS, gpxer, jnxer
Re: GmapTool - program narzędziowy do plików img
Wydaje mi się, że szukasz problemu, tam gdzie go nie ma. Windows ma określone zasady rozwijania znaków *? i mój program się do tego stosuje.
Re:
tak!smith666 pisze:Hello popej,
You're No.1. I've been looking for the method how to get .IMG file to Mapsource very long time. Could you plese give us a short description in english - for those who don't speak very good polish?
Thanx in advance.
Ano!
Re: GmapTool - program narzędziowy do plików img
Sorry for my laziness, but there are already many tutorials written by users. For example:
http://openmtbmap.org/about-2/archive/g ... tall-maps/
http://voyager8.blogspot.com/2009/10/us ... er-to.html
http://my.opera.com/obiwan2208/blog/load-maps-mapsource
http://stuff.blat.co.za/2009/04/10/importmaps/
http://mapsatenterprise.wordpress.com/2 ... -gmaptool/
http://openmtbmap.org/about-2/archive/g ... tall-maps/
http://voyager8.blogspot.com/2009/10/us ... er-to.html
http://my.opera.com/obiwan2208/blog/load-maps-mapsource
http://stuff.blat.co.za/2009/04/10/importmaps/
http://mapsatenterprise.wordpress.com/2 ... -gmaptool/
- beetle-m
- Garniak
- Posty: 6311
- Rejestracja: 11 paź 2007, 07:17
- Lokalizacja: Goczałkowice-Zdrój
- Has thanked: 2 times
Re: GmapTool - program narzędziowy do plików img
Wyszła aktualizacja programu GMapTool (ver. 0.6.2):
http://www.anpo.republika.pl/download.html
--Changelog-----
29.3.2012 - v0.6.2
- corrected replacement of TYPE
- using name BLUECHAR.MPS
- options to selecet MPS name
- Chinese translation by boluomi258
- product number from header (thanks qwik)
http://www.anpo.republika.pl/download.html
--Changelog-----
29.3.2012 - v0.6.2
- corrected replacement of TYPE
- using name BLUECHAR.MPS
- options to selecet MPS name
- Chinese translation by boluomi258
- product number from header (thanks qwik)
Pozdrawiam, mariuszD
Już bez Garmina na pokładzie. Kiedyś: nüvi 3490LMT // 3790T // 765T // 760 // 250W
Teraz: Xiaomi 12 (z Google Maps i Android Auto)
Już bez Garmina na pokładzie. Kiedyś: nüvi 3490LMT // 3790T // 765T // 760 // 250W
Teraz: Xiaomi 12 (z Google Maps i Android Auto)
Re: GmapTool - program narzędziowy do plików img
Kolejna aktualizacja.
http://www.anpo.republika.pl/download.html#gmaptool
--Changelog-----
15.4.2012 - v0.7.19
Log tab tweaks
corrected codepage of mapset name text
15.4.2012 - v0.7.3
changed version numbering scheme
corrected reading of *.lang files
some corrections for unicode strings
14.4.2012 - v0.7.0
changed tools used to create program
unicode support
corrections of md2 support
Edycja changelog
--Changelog-----
15.4.2012 - v0.7.19
Log tab tweaks
corrected codepage of mapset name text
15.4.2012 - v0.7.3
changed version numbering scheme
corrected reading of *.lang files
some corrections for unicode strings
14.4.2012 - v0.7.0
changed tools used to create program
unicode support
corrections of md2 support
Edycja changelog
Ostatnio zmieniony 15 kwie 2012, 21:04 przez EGON, łącznie zmieniany 2 razy.
Pozdrawiam, Piotr
GPSMap 60CSx + PL_TOPO + Walker mapset + UMP pcPL + kilka innych map
Nüvi 3490LM + UMP pcPL + CNE
Huawei Mate 10 Lite Android 8.0.0
GPSMap 60CSx + PL_TOPO + Walker mapset + UMP pcPL + kilka innych map
Nüvi 3490LM + UMP pcPL + CNE
Huawei Mate 10 Lite Android 8.0.0
Re: GmapTool - program narzędziowy do plików img
Trochę ciężko to idzie, już zrobiłem 2 kolejne wersje 
Re: GmapTool - program narzędziowy do plików img
To która na chwile obecną jest obowiązująca?
Chwilę temu ściągnąłem http://www.anpo.republika.pl/files/GmapToolSetup073.exe
a w tej chwili widzę na stronie info o http://www.anpo.republika.pl/files/Gmap ... p07019.exe
0.7.3 została "wycofana"?
Chwilę temu ściągnąłem http://www.anpo.republika.pl/files/GmapToolSetup073.exe
a w tej chwili widzę na stronie info o http://www.anpo.republika.pl/files/Gmap ... p07019.exe
0.7.3 została "wycofana"?
Auto: Android Auto + OsmAnd+ + UMP, mapy.cz + OSM, Google Maps
Nadgarstek: Fenix 7 Pro Solar + TopoActive Europe + UMP
W telefonach: OsmAnd+ + OSM + UMP, mapy.cz
Nadgarstek: Fenix 7 Pro Solar + TopoActive Europe + UMP
W telefonach: OsmAnd+ + OSM + UMP, mapy.cz
Re: GmapTool - program narzędziowy do plików img
Jako początkujący skorzystałem z Bety 0.7.79 żeby rozpoznać sobie zasoby "img" i widzę, że nap. mapę bazową świata mam z 2007r... Czy taki układ plików jest OK?
-gmapbmap -bazowa świata, skąd?
-gmapprom -główna np. Western Europe NT 2012.40 -czy główna musi być, bo nie miałem gmapprom i było OK
-gmapsupp -szczegołowa 1 -np. CNE2012.20NT-Poland
-gmapsup2 -szczegółowa 2 -np. Garmin CityXplorer dla konkretnego miasta? Czy "City" obsługują zmianę pasa ruchu?
W komórce mam wiele plików "img" -doradźcie proszę jak najlepiej zarządzać nimi (zmiany nazw) w, żeby się nie pogubić? Pozdrwiam
-gmapbmap -bazowa świata, skąd?
-gmapprom -główna np. Western Europe NT 2012.40 -czy główna musi być, bo nie miałem gmapprom i było OK
-gmapsupp -szczegołowa 1 -np. CNE2012.20NT-Poland
-gmapsup2 -szczegółowa 2 -np. Garmin CityXplorer dla konkretnego miasta? Czy "City" obsługują zmianę pasa ruchu?
W komórce mam wiele plików "img" -doradźcie proszę jak najlepiej zarządzać nimi (zmiany nazw) w, żeby się nie pogubić? Pozdrwiam
Re:
This is running simply fine! Nice workaround! I am very happy to see someone explaining the solution that detailed!popej pisze:This is not a perfect solution but it works. Somehow
You need some tools to get the work done. Look for cgpsmapper, MapSetToolKit and GmapTool. Unpack and install all this tools. Cgpsmapper and GmapTool are command line programs, you need to start them from command line window or from any Norton Commander clone like Total Commander.
I assume that you have Mapsource installed and that your GPS with preinstalled maps is recognised by Windows as a removable drive, for example as drive I:
Begin with creating an empty directory for your map. Put cgpsmapper and gmaptool in this directory and make it current work directory for subsequent commands.
Unpack your map with gmaptool (option is big 'S'):You will get several different files in your work directory. These are maps and additional files for Mapsource. You need to compile preview map:
- >gmaptool -S I:\garmin\gmapprom.img
Now you can use MapSetToolKit. Start it and choose "Install A Existing Mapset". You have to point to tdb file mapset00.tdb, preview file mapset00.img and invent a registry name. Install and your map should be visible in Mapsource.
- >cgpsmapper mapset00.mp
Do not try to use MDR file generated by GmapTool in Mapsource. This will not work!
You have to unlock map in Mapsource. Simply input 25-character unlock code from your device. This can be found on papers attached to your GPS, on mygarmin.com after registration, in file \garmin\GarminDevice.xml or \garmin\gmapprom.unl or in a file gmaptool00.unl in map directory on your PC.
And as usually: no guarantee, Mapsource may crash, use at your own risk and responsibility.
If Mapsource crashes use MapSetToolKit to remove new map.
-----------------------[Edit]------------------------------------
You can make better preview map yourself
GmapTool create very simple basic map, just minimum data to make Mapsource see the map. This is OK for small area map but not good enough for big map like City Navigator. You can improve preview map adding details form basemap.
First get a basemap. This could be file gmapbmap.img form your GPS, free basemap from Garmin:
http://www8.garmin.com/support/download ... sp?id=3645
or World Map from Garmin XT Mobile:
http://www.garmin.ru/GarminMobileXTFull.exe
Next you will need tools, MapEdit:
http://www.geopainting.com/en/
and Personal cGPSmapper 30-day evaluation version:
http://cgpsmapper.com/buy.htm
Split basemap into parts:You will get one or more img files with maps. You can view content of this files with MapEdit (pres Ctrl-0 if you see empty map). For preview choose most detiled map covering required area.
- >gmaptool -s gmapbmap.img
Open choosen file with MapEdit and do:
File->Map Properties->Levels and check levels number, note this for later use. My map has levels 17, 15, 13, 12, 11. Set zoom 7 for last level and then corect other levels zoom to get zoom sequence like 3, 4, 5, 6, 7.
Edit->Select->By Type and select unwanted objects, I recommend selecting all HW-Exits. Close this menu and do Edit->Delete.
File->Save As and save map in polish format .mp.
Open mapset00.mp and do:
File->Map Properties->Levels and make levels and zooms exactly like in basemap. Existing levels should be converted int first and last level and new empty leves inserted in between.
Edit->Select-All objects then right click on an object and select Modify->Extend All Elements up to Level and set last level index minus 1. On my map this is 3.
File->Add and point to basemap saved in mp format. Now your slected objects should be visible on basemap. Use Tools->Trim to select all this elements, right click inside selected area and choose Trim outside.
File->Map Properties and check and correct: on Header tab map ID should be 09999999, on cGPSmapper tab POI Index should be on.
File->Save and save your new map in polish format as mapset00.mp.
Open mapset00.mp in a text editor. This could be very big file, not all editors are capable deal with it. I'm using Notepad2. Look for text like "Region123=" without any name. Correct all empty "=" into "=OTHER".
Run map compilation:this can take a lot of time, be prepared to wait an hour or more. As a result you will get new mapset00.img that can be added to your mapset in Mapsource.
- >cgpsmapper mapset00.mp
Personal cGPSmapper can make searchable map. When you use preview map with POI and city index, you will be able to search for places in Mapsource.
@Smith: Thanks for posting the question in advance. All I had to do is find this thread
Greets
Sven
-
jarecki103
- Nowy
- Posty: 6
- Rejestracja: 06 lip 2012, 06:52
Re: GmapTool - program narzędziowy do plików img
Witam wszystkich,
Wydaje mi się że dość dokładnie przeszukałem forum, ale mogę się mylić. Proszę o pomoc
Posiadam garmina 62s i po wrzuceniu mapy UMP topo nie widzę jej w Basecamp-ie. Oczywiście dzięki GmapTool dokonałem wpisu "0" w stosownym miejscu i Basecamp wczytał mapę bez problemu. Ale wówczas w urządzeniu wyświetla mi się nazwa mapy "all". Zmiana nazwy w GmapTool, czy też ręcznie pliku nic nie pomaga. Czy miał ktoś może podobny problem lub może wie co robię źle i mi to "łopatologicznie" wyłoży? Oczywiście jak Basecamp czyta wszystkie mapy to w urządzeniu po zmianie w nich wpisu widzę tylko 1 pozycję "all". Można temu jakoś zaradzić?
Pozdrawiam
Jarecki
Chyba rozwiązałem swój problem. Po zakończeniu pracy w Basecamp-ie dokonuję ponownie wpisu w GmapTool na "1" i mapy są widoczne osobno. Proszę o potwierdzenie czy dobrze to rozumuję i czy to tak ma właśnie działać (tzn. wpisu dokonywać tylko chwilowo na potrzeby Basecamp-a)
Wydaje mi się że dość dokładnie przeszukałem forum, ale mogę się mylić. Proszę o pomoc
Pozdrawiam
Jarecki
Chyba rozwiązałem swój problem. Po zakończeniu pracy w Basecamp-ie dokonuję ponownie wpisu w GmapTool na "1" i mapy są widoczne osobno. Proszę o potwierdzenie czy dobrze to rozumuję i czy to tak ma właśnie działać (tzn. wpisu dokonywać tylko chwilowo na potrzeby Basecamp-a)
Garmin 62s
- Antonio
- Bywalec
- Posty: 768
- Rejestracja: 01 lis 2009, 22:43
- Lokalizacja: Pabianice (łódzkie)
- Has thanked: 1 time
- Been thanked: 3 times
- Kontakt:
Re: GmapTool - program narzędziowy do plików img
W zakładce "Łącz", w miejscu "Mapset" wpisz odpowiednią nazwę. Taka właśnie powinna Ci się wyświetlać.jarecki103 pisze: Zmiana nazwy w GmapTool, czy też ręcznie pliku nic nie pomaga. Czy miał ktoś może podobny problem lub może wie co robię źle i mi to "łopatologicznie" wyłoży?
Pozdrawiam
Nuvi 255 WT, Oregon 450, Fenix 5, Edge 530, Edge 1030+, mapy: CN Europe NT "nüMaps Lifetime", UMP-pcPL TOPO, Topo_PL_100 i różne OSM
Wspierajmy sport wśród dzieciaków
Nuvi 255 WT, Oregon 450, Fenix 5, Edge 530, Edge 1030+, mapy: CN Europe NT "nüMaps Lifetime", UMP-pcPL TOPO, Topo_PL_100 i różne OSM
Wspierajmy sport wśród dzieciaków