You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2011-02-18 17:53:18

Beerforfree
Member
From: Buenos Aires/N. de la Riestra
Registered: 2010-01-12
Posts: 1,000

Rendering Arrows of street directions TYP file

Does any one know how to build a TYP file so as to see the arrows on the map?
It would be very useful to check and correct street directions if we could see the arrows on the GPS screen

Offline

#2 2011-02-18 19:53:02

ligfietser
Member
Registered: 2008-10-09
Posts: 5,353
Website

Re: Rendering Arrows of street directions TYP file

Offline

#3 2011-02-18 20:06:41

wilpin
Member
Registered: 2009-11-22
Posts: 79
Website

Re: Rendering Arrows of street directions TYP file

You may also like to look at new type editor , Typ Wiz,  designed to create and personalise typ files 'in a flash'.

http://www.pinns.co.uk/osm

Last edited by wilpin (2011-02-18 20:07:31)

Offline

#4 2011-02-19 01:15:04

Beerforfree
Member
From: Buenos Aires/N. de la Riestra
Registered: 2010-01-12
Posts: 1,000

Re: Rendering Arrows of street directions TYP file

The pages explain every thing very good, but I failed over and over

wilpin:
The typ wizard seems not to work on my W7
MSINET.OCX or one of its dependencies not correctly registered
Any clue on this?

liegfietser (strange nick, what does it mean?)
cferrero has very good explanations which help me to make every thing for compiling with mkgmap
All seems to work until I have a look to the map on my GPS and nothing has changed

compilation with mkgmap works, I can change family-name, description

family-id set to the same value of TYP file

All styles file under the same directory mkgmap-r1625/resources/styles/Beerforfree
info (modified)
lines (modified)
options
overlays (new)
polygons
relations
version

My config.args file:

route
net
country-name=ARGENTINA
family-name=OSM_Argentina
product-id=1
description=Mapas_libres_OSM
gmapsupp
family-id=1400
style=Beerforfree
style-file=resources/styles/Beerforfree

My batch file:

java -jar mkgmap.jar -c config.args 63240932.img 63240944.img 63240980.img M0000578.TYP

My overlays file:
0x121: 0x01, 0x10
0x122: 0x02, 0x10
0x123: 0x03, 0x10
0x124: 0x04, 0x10
0x125: 0x05, 0x10
0x126: 0x06, 0x10
0x127: 0x07, 0x10

The typ file M0000578.TYP
is a copy of the CF1400.TYP on the page then removed everything but the line with the arrows


Anyway thanks for you help and willing

Last edited by Beerforfree (2011-02-19 04:06:57)

Offline

#5 2011-02-19 09:21:17

wilpin
Member
Registered: 2009-11-22
Posts: 79
Website

Re: Rendering Arrows of street directions TYP file

Beerforfree,  it should work now - have made a slight alteration - you may not have msinet.ocx on your pc.

It works on Mapsource but not on your GPS

Have you checked to see if the FID of the TYP file matches the FID of your img?
If they don't, the typ file won't work on your GPS.
You say you've copied Charlies TYP - more than likely it's not the same number.
I use MapsetToolkit and it warns you when it meets a conflict.

Offline

#6 2011-02-19 10:17:25

ligfietser
Member
Registered: 2008-10-09
Posts: 5,353
Website

Re: Rendering Arrows of street directions TYP file

One more thing you have to notice.
Some gps untis don't display two types on top of each other, like the nuvi.
So in order to see the arrows, you will need to make a wider bitmap and put the arrows not in the middle but on top.
In my line style I dont need to use the layer style, I just put this code at the beginning:
(oneway=yes | oneway=1 | oneway=true) [0x10007 resolution 24 continue with_actions]
For this Garmin type 0x100/07 I made the following typ:

btw ligfietser = recumbent bike rider ;-)


1way.jpg

Last edited by ligfietser (2011-02-19 10:24:37)

Offline

#7 2011-02-19 14:43:19

Beerforfree
Member
From: Buenos Aires/N. de la Riestra
Registered: 2010-01-12
Posts: 1,000

Re: Rendering Arrows of street directions TYP file

I think the problem is somewhere else,
I made some additional changes on the line style file like changing all highway_links to be rendered the same as the highways. E.g. primary and primary_link to have the same representation and this isn't working as well
I removed the typ file from the compilation, no changes
I removed the overlays file from the directory and the typ file from the compilation, no changes
I replaced the linux slashes"/" by windows ones "\", no changes
It looks like the styles I wrote aren't being read by mkgmap despite my Nüvi 205w won't show types on top of each other

wilpin
the gmapsupp.img family-id is changed during compilation with mkgmap using the option --family-id=XXXX

Will try something later

Offline

#8 2011-02-19 15:38:23

ligfietser
Member
Registered: 2008-10-09
Posts: 5,353
Website

Re: Rendering Arrows of street directions TYP file

Ive read this before on the forum. Maybe mkgmap doesnt see your style file
when your style file is in the resources folder of mkgmap?
Try to put it somewhere else, like

style-file=c:\garmin\mkgmap\Beerforfree

Offline

#9 2011-02-20 15:13:36

Beerforfree
Member
From: Buenos Aires/N. de la Riestra
Registered: 2010-01-12
Posts: 1,000

Re: Rendering Arrows of street directions TYP file

Did not worked too changing the directory but I will keep trying. I will come back with someting, hopefuly the solution ha ha ha

Offline

Board footer

Powered by FluxBB