Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - 93ToyTruck

#1
I compiled my Mapsforge map using tag-values=true.  I set the theme version to 5.  Everything is working as expected except lineSymbol centering. 
If I use position="center", it prevents the map from rendering. 
If I use align-center="true", the symbol centers on the line.

Isn't position="center" the correct syntax for v5?



#2
A few small issues that I'm trying to resolve...

The lineSymbols on my highways are set to rotate="false" but they're still rotating. Depending on the direction of the coordinates, some of them are upside down. Is there a way to get them to align with North/South?

The pathText on my roads and trails usually don't appear until zoomed into the lowest level.  It seems to be related to the fact that trails have a lot of turns.  Straight roads are getting labels sooner.  I've tested other themes and they behave the same. This appears to be the behavior on all of the apps that support Mapsforge so it's possibly a product of the sdk.  Is there anything that can be done to increase the likelihood that a pathtext will be displayed? 

I have POI nodes with symbols and captions. The captions have position="right" but they're centered on top of the symbol. This is the code:
<rule e="node" k="amenity" v="waste_transfer_station">
   <symbol id="0x1a16" src="file:images/DumpTruck.png" display="always"/>
   <rule e="any" k="*" v="*" zoom-min="15">
      <caption fill="#000000" font-size="14" k="name" position="right" priority="10" stroke="#FFFFFF" stroke-width="2" symbol-id="0x1a16" />
   </rule>
</rule>


#3
I created a custom Mapsforge map and theme. I tested with a Windows app and several other Android apps. I installed them using into Locus using locus-actions. The map works but the theme isn't available to select. Only the four Internal Themes are displayed. The theme installed to the themes_ directory.

The first theme that I tried had a stylemenu. I wasn't sure if v4 themes were supported so I removed the stylemenu tags and it still isn't available to select. What versions are supported?

How do I troubleshoot?
#4
Ah. I see.

My goal is keep the map in vector format. The coverage area is 13,000 sq miles and it has a lot of detail that I don't want to lose or display on the map at all times. I would like it to progressively display the data and labels according to the EndLevel value and TYP style that I've defined. I also want to retain the search functionality and other features that you get from a vector map that you don't get with a raster map. Isn't sqlite vector?
#5
IMG format is a raster/bmp map. I have vector data. My plan would be to read the file and insert into a sqlite db using the .net driver. It seems like it would be a rather simple database. My other option is to convert to OSM then to sqlite using an existing converter.
#6
Maps / Converting a map to sqlite db format
June 25, 2013, 22:37:14
I have a map that I created for Garmin GPS receivers that I want to put into a smartphone app on both iOS/iPhone and Android. My best option is to write a converter to change the map to a format that can be used by an app on both platforms. I didn't find a good app with a version for both platforms. Locus is at the top of my list for Android and has lots of data format options that aren't proprietary. I'm thinking that it would be best to convert to sqlitedb format. Galileo Offline Maps for iPhone also uses it so I would only need to convert once.  Any recommendations on a data format or other app?

Is there an app to edit or manage the map once converted to sqlite?

Where can I find a specification for an sqlite map database?

Thanks for you help.