I have created a .map file and when I put it in the location /mnt/sdcard/Locus/mapsVector i am getting and error:
Problem with File 'mymap.map'!
FileOpenResult [success=false, errorMessage=invalid magic byte: # Map file created f]
I have tried a map that I downloaded from locusvectormaps "new_york.osm.map" and this .map file does work.
Any ideas?
Problem with File 'mymap.map'!
FileOpenResult [success=false, errorMessage=invalid magic byte: # Map file created f]
I have tried a map that I downloaded from locusvectormaps "new_york.osm.map" and this .map file does work.
Any ideas?
- 41 Posts
- 0 Reply Likes
Posted 2 years ago
gynta, Champion
- 779 Posts
- 63 Reply Likes
- 41 Posts
- 0 Reply Likes
- 41 Posts
- 0 Reply Likes
I tried to load with the app "AdvancedMapViewer" and this is what I get:
Error:
The selected file is invalid.
invalid magic byte: # Map file created f
Any ideas?
Error:
The selected file is invalid.
invalid magic byte: # Map file created f
Any ideas?
- 41 Posts
- 0 Reply Likes
Hey gynta,
If I have a the map I want in a .shp file or .eml file can I convert that to a .map file to use with locus?
If I have a the map I want in a .shp file or .eml file can I convert that to a .map file to use with locus?
- 41 Posts
- 0 Reply Likes
Menion, Official Rep
- 2961 Posts
- 210 Reply Likes
- 41 Posts
- 0 Reply Likes
I tried making the kml...But when I try to import it into Locus, I get the following error:
Problem with file "Locus.kml"
Problem with file "Locus.kml"
- 41 Posts
- 0 Reply Likes
Is there anyway to attach a file here so you can check it out?
- 41 Posts
- 0 Reply Likes
Any help with this would be great.
gynta, Champion
- 779 Posts
- 63 Reply Likes
sorry nick
There are a lot of free web/ftp space, free upload services, free clouds,...
Feel free to search via google. Then upload your files and share it
There are a lot of free web/ftp space, free upload services, free clouds,...
Feel free to search via google. Then upload your files and share it
- 41 Posts
- 0 Reply Likes
Ok. If I can get it uploaded in a location for you .. Could you possible help me out?
Petr Voldan, Employee
- 192 Posts
- 23 Reply Likes
Hello Nick,
Some tips from my site:
- As Menion wrote Locus is limited with handling of complex KML files. Is it possible to split SHP files into smaller parts before you convert them into KML files?
- Problem with file "Locus.kml” Locus supports almost all KML features. Please try to open problematic KML file in Google Earth and check if this file is opened properly.
- Unfortunately there is no way how to attach file to this topic. This is limitation of GetSatisfaction service.
- My favorite service for sharing files is http://sharegadget.com/ You can attach problematic KML files – I’ll check it.
Some tips from my site:
- As Menion wrote Locus is limited with handling of complex KML files. Is it possible to split SHP files into smaller parts before you convert them into KML files?
- Problem with file "Locus.kml” Locus supports almost all KML features. Please try to open problematic KML file in Google Earth and check if this file is opened properly.
- Unfortunately there is no way how to attach file to this topic. This is limitation of GetSatisfaction service.
- My favorite service for sharing files is http://sharegadget.com/ You can attach problematic KML files – I’ll check it.
- 41 Posts
- 0 Reply Likes
Hey Petr I have uploaded a .shp file in a zip at the following location using the service you recommended:
http://mysharegadget.com/786008826
Could you please let me know if you are able to convert this successfully to a .map.
Thanks.
http://mysharegadget.com/786008826
Could you please let me know if you are able to convert this successfully to a .map.
Thanks.
Petr Voldan, Employee
- 192 Posts
- 23 Reply Likes
Hi Nick,
Is it possible to convert your SHP into map file. Converted file with XML definition files and style is placed in file: http://mysharegadget.com/162518213
COnverted map as overlay

Is it possible to convert your SHP into map file. Converted file with XML definition files and style is placed in file: http://mysharegadget.com/162518213
COnverted map as overlay

- 41 Posts
- 0 Reply Likes
When I try to add the .map file you provided to locus as an overlay I get a message saying:
"One vector file at a time or something like that."
"One vector file at a time or something like that."
Petr Voldan, Employee
- 192 Posts
- 23 Reply Likes
Locus is not able to set two vector maps as overlay. Please turn-off previous vector map which you use for overlay (Menu > More > Map overlay). Then select as base map arbitrary online or personal map. Run again map overlay function and select generated vector map.
- 41 Posts
- 0 Reply Likes
Can I use a vector map as a base map?
- 41 Posts
- 0 Reply Likes
I have tried to convert to .map but was not successful. So you were able to ? I don't understand why I was not able to. Could you explain what you needed to do?
Petr Voldan, Employee
- 192 Posts
- 23 Reply Likes
Hello Nick,
As you could see, is it possible to convert your SHP file into vector *.map format. So issue is not related with Locus.
If you still have some problem with generating own vector map, please visit official Mapsforge community site:
https://groups.google.com/forum/#!for...
On this forum you can directly contact developer of Mapsforge library and map
writer plugin for osmosis. I hope that they will be able to find out more about your issue.
Regards
Petr
As you could see, is it possible to convert your SHP file into vector *.map format. So issue is not related with Locus.
If you still have some problem with generating own vector map, please visit official Mapsforge community site:
https://groups.google.com/forum/#!for...
On this forum you can directly contact developer of Mapsforge library and map
writer plugin for osmosis. I hope that they will be able to find out more about your issue.
Regards
Petr
- 41 Posts
- 0 Reply Likes
Thank you for all the help Petr.
Related Conversations
Names of maps are sometimes getting the same name, despite different file name
- elmuSSo, 2 years ago
- Last reply: elmuSSo, 2 years ago
- 1
- 2
- Problem
- Solved
Force close error when trying to center at the "imported" map item.
- elmuSSo, 3 years ago
- Last reply: Menion, 3 years ago
- 1
- 1
- Problem
- Solved
Map downloading bugs when used on bigger-than-world maps
- joeloc, 1 year ago
- 1
- 0
- Problem
Automatic update of map elements when local kml/gpx file changes
- joeloc, 2 years ago
- Last reply: elmuSSo, 2 years ago
- 7
- 5
- Idea



