Hi,
I have software to convert .gpx files to .mp files and then to .img files using mkgmap (java app). I generate free, easy to follow maps for off-road motorcycle riding and racing.
I want to generate the .mp requests to place a highway number sign at a given lat/lon (see example road number signs in attached graphic). When I read the cgpsmapper docs, it's not obvious. It seems like I should be able to use a [POI] container and then generate something like the following (I have created a custom _point for type 0x01 that's just a rectangle):
[POI]
Type=0X01
Label=~[0x01]10
Data2=(38.786783,-121.253079)
[END]
The above sort of works - it places a label NEXT to my custom rectangle (not in it). Here are my questions:
Thanks in advance for any help
I have software to convert .gpx files to .mp files and then to .img files using mkgmap (java app). I generate free, easy to follow maps for off-road motorcycle riding and racing.
I want to generate the .mp requests to place a highway number sign at a given lat/lon (see example road number signs in attached graphic). When I read the cgpsmapper docs, it's not obvious. It seems like I should be able to use a [POI] container and then generate something like the following (I have created a custom _point for type 0x01 that's just a rectangle):
[POI]
Type=0X01
Label=~[0x01]10
Data2=(38.786783,-121.253079)
[END]
The above sort of works - it places a label NEXT to my custom rectangle (not in it). Here are my questions:
- I don't use cgpsmapper but rather mkgmap - does mkgmap support the special ~[0x01] sequences that cgpsmapper does? This seems to be documented nowhere I can find.
- And on the subject of mkgmap vs. cgpsmapper, why should I use one vs. the other? All the online docs says to use mkgmap since it's newer and supported. Can anyone please comment on this.
- Rather than use a custom point like I am, is there a standard road sign TYPE that I can use. If so, what is its TYPE code?
- I am using ~[0x01] as the special text prefix but the cgpsmanual also says ~[0x2A] for an interstate sign symbol. Which one should it be? Very confusing in the doc
Thanks in advance for any help