I am currently developing an android app with mapsforge. And I need to display a shapefile with mapsforge.
I know that there were some post's about this subject here in this forum. However I've just started
work with all this (android and mapsforge). Sorry if this is a dumb question.
However I couldn't be able to figure it out what I am doing wrong.
I'm getting a blank map after converting .shp to .map
I downloaded brazil.map from http://download.geofabrik.de/south-america.html and follow the steps of
this link: https://groups.google.com/forum/#!topic/mapsforge-dev/WCpBoO1tA8M.
I'm using Merkaartor version 0.18.2 and the latest version of osmosis (0.45).
file:///home/wagner/maps/bb.map
That's the command that I used to do the conversion.
bin/osmosis --rx file=/home/wagner/maps/brazil.osm --sort --mw file=/home/wagner/maps/bb.map bbox=-23.805,-47.065,-23.383,-46.077 map-start-zoom=15 tag-conf-file=/home/wagner/maps/tagmap.xml
Could anyone please help me figure it out what am I doing wrong ?
--
You received this message because you are subscribed to a topic in the Google Groups "mapsforge-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapsforge-dev/YW0ZvKLcEv4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mapsforge-dev+unsubscribe@googlegroups.com.
To post to this group, send email to mapsfo...@googlegroups.com.
Visit this group at https://groups.google.com/group/mapsforge-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapsforge-dev/b1d4d8dd-0dcd-487a-aa00-fe0e4524852c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "mapsforge-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapsforge-dev/YW0ZvKLcEv4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mapsforge-dev+unsubscribe@googlegroups.com.
To post to this group, send email to mapsfo...@googlegroups.com.
Visit this group at https://groups.google.com/group/mapsforge-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapsforge-dev/4eae75ee-eca6-2388-828b-ea293c2141b0%40gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "mapsforge-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapsforge-dev/YW0ZvKLcEv4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mapsforge-dev+unsubscribe@googlegroups.com.
To post to this group, send email to mapsfo...@googlegroups.com.
Visit this group at https://groups.google.com/group/mapsforge-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapsforge-dev/67219bfe-a6f3-f65a-a4b9-996b952c4386%40gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "mapsforge-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapsforge-dev/YW0ZvKLcEv4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mapsforge-dev+unsubscribe@googlegroups.com.
To post to this group, send email to mapsfo...@googlegroups.com.
Visit this group at https://groups.google.com/group/mapsforge-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapsforge-dev/859045d1-4e64-28c8-59d2-ba3d1f3b75f0%40gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "mapsforge-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapsforge-dev/YW0ZvKLcEv4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mapsforge-dev+unsubscribe@googlegroups.com.
To post to this group, send email to mapsfo...@googlegroups.com.
Visit this group at https://groups.google.com/group/mapsforge-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapsforge-dev/35397727-f56e-db9b-9974-d4a29f5c8dcf%40gmail.com.
I haven't had the time to look into the issue related to the supposedely lack of memory that I ran into when I ran the osmosis command. Bu t I will soon.
So the tag-mapping file have all the tags to generate a full map. Correct ?
So, if I remove some tags that it's not important to my project, I'll be able to generate a map with only the data that it's important to me. Is that correct ? However I must to figure out what are the minimum tags that a custom tag-mapping file must have, to show only data related to landuse for instace, so I don´t end up with a blank map. Is my understanding correctly so far ?
My question is how can I know what tags do I need to provide, to have in a simple custom tag-mapping file that can generates a map related to landuse or highway only for instance ? I know that the answer for this question could be in the links that you have mentioned earlier. But I could not understand how so far.
So if I want to see in my map water(oceans, sea, lakes etc), I need to customize the tag-mapping with natural tags, if want to see only highways I have to customize the tag-mapping with highway tags and so on. Is my understanding correct?
--
You received this message because you are subscribed to a topic in the Google Groups "mapsforge-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapsforge-dev/YW0ZvKLcEv4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mapsforge-dev+unsubscribe@googlegroups.com.
To post to this group, send email to mapsfo...@googlegroups.com.
Visit this group at https://groups.google.com/group/mapsforge-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapsforge-dev/a0353d95-5f4b-d24c-0df6-bcc0736959af%40gmail.com.
I've just one more question, in order to proceed to the next phase of my project. I'd like to mark an area of the map. Suppose for a moment that I have a set of coordinates that create a rectangle (could be any other shape) for instance. Is it possible to mark this coordinates in the map and highlight this area in the map ?
--
You received this message because you are subscribed to a topic in the Google Groups "mapsforge-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapsforge-dev/YW0ZvKLcEv4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mapsforge-dev+unsubscribe@googlegroups.com.
To post to this group, send email to mapsfo...@googlegroups.com.
Visit this group at https://groups.google.com/group/mapsforge-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapsforge-dev/e87dc857-04eb-591e-aa8a-fc019fe5ee4c%40gmail.com.