Re: [mkgmap-dev] [PATCH v1] - Do not write unnecessary POI information

2010-04-24 Thread Thilo Hannemann

Am 19.04.2010 um 22:32 schrieb Charlie Ferrero:

> My tests suggest that only POIs in the range 0x2A00 to 0x32FF can carry 
> address information.

Hi Charlie,

could you elaborate on that? What tests did you do and with what kind of 
GPS/software? My experience with the Garmin stuff is that this needn't be the 
same over the whole model range...

Anyway, I've attached a patch with your range. This one should actually do what 
it is supposed to do.

What I found out while looking at the source is, that while country and region 
strings are only saved once and then shared between all entries, the POI 
entries itself are not shared, even if they are identical. From looking at the 
file format it should be possible to share the entries. This should save a lot 
of space if you have a default name for a lot of your POIs that don't 
have/display address info.

Regards
Thilo


reduce_unnecessary_poi_infos.patch
Description: Binary data
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] avg speed on roads

2010-04-24 Thread Carlos Dávila


Florian Lohoff escribió:
> On Fri, Apr 23, 2010 at 06:31:42PM +0200, Carlos Dávila wrote:
>   
>> I think there are currently some tools in mkgmap to get a better time 
>> estimation. I have the lines below in my points style file, which 
>> certainly improve the arrival time estimation:
>> highway=traffic_signals { add mkgmap:road-speed = '-2'; add 
>> mkgmap:road-speed-min = '1' }
>> 
>
> I found the road speed stuff in the source already. It seems it is in the 
> default
> style hardcoded by street type/classification which should be possible
> to override with some tag i think.
>   
It can be overridden with --ignore-maxspeeds, but you'll need to change 
lines style with something like this (for each type of road):
(highway=secondary | highway=secondary_link) & maxspeed>80[0x04 
road_class=3 road_speed=5 resolution 20]
(highway=secondary | highway=secondary_link) & maxspeed>60[0x04 
road_class=3 road_speed=4 resolution 20]
(highway=secondary | highway=secondary_link) & maxspeed>50[0x04 
road_class=2 road_speed=3 resolution 20]
(highway=secondary | highway=secondary_link) & maxspeed<51[0x04 
road_class=2 road_speed=2 resolution 20]
(highway=secondary | highway=secondary_link)[0x04 
road_class=2 road_speed=4 resolution 20]
The kind of road you describe in La Palma usually have some curvy or 
urban sections with actual maxspeed lower than the generic one for the 
road. If you tag them you'll get better time estimation.
As an example of what I mean, you can have a look at [1] where I get 
quite accurate estimation on my nuvi.
[1] http://www.openstreetmap.org/browse/relation/12953
> And a maxspeed has nothing to do with what i hav a problem with. All the
> roads i travel dont have a maxspeed set, are primary and thus for the 
> time calculation my GPSMap 60 takes something like 80 km/h - which on 
> la palma is on some parts more than twice the actual speed one can 
> travel ... An its nothing time dependent - its something which depends
> on the physics of the street - tight corners reduce the speed beeing 
> traveled ...
>
> Typical speed/ average speed would be more accurate ...
>   



___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] avg speed on roads

2010-04-24 Thread WanMil
> On Fri, Apr 23, 2010 at 06:31:42PM +0200, Carlos Dávila wrote:
>> I think there are currently some tools in mkgmap to get a better time
>> estimation. I have the lines below in my points style file, which
>> certainly improve the arrival time estimation:
>> highway=traffic_signals { add mkgmap:road-speed = '-2'; add
>> mkgmap:road-speed-min = '1' }
>
> I found the road speed stuff in the source already. It seems it is in the 
> default
> style hardcoded by street type/classification which should be possible
> to override with some tag i think.
>
> And a maxspeed has nothing to do with what i hav a problem with. All the
> roads i travel dont have a maxspeed set, are primary and thus for the
> time calculation my GPSMap 60 takes something like 80 km/h - which on
> la palma is on some parts more than twice the actual speed one can
> travel ... An its nothing time dependent - its something which depends
> on the physics of the street - tight corners reduce the speed beeing
> traveled ...
>
> Typical speed/ average speed would be more accurate ...

Yes of course. But this is the wrong mailing list for this.
First you have to set up a widely accepted tagging scheme for this. Once 
this has been done it should be no problem to use this data with mkgmap.

WanMil

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] avg speed on roads

2010-04-24 Thread Florian Lohoff
On Fri, Apr 23, 2010 at 06:31:42PM +0200, Carlos Dávila wrote:
> I think there are currently some tools in mkgmap to get a better time 
> estimation. I have the lines below in my points style file, which 
> certainly improve the arrival time estimation:
> highway=traffic_signals { add mkgmap:road-speed = '-2'; add 
> mkgmap:road-speed-min = '1' }

I found the road speed stuff in the source already. It seems it is in the 
default
style hardcoded by street type/classification which should be possible
to override with some tag i think.

And a maxspeed has nothing to do with what i hav a problem with. All the
roads i travel dont have a maxspeed set, are primary and thus for the 
time calculation my GPSMap 60 takes something like 80 km/h - which on 
la palma is on some parts more than twice the actual speed one can 
travel ... An its nothing time dependent - its something which depends
on the physics of the street - tight corners reduce the speed beeing 
traveled ...

Typical speed/ average speed would be more accurate ...
-- 
Florian Lohoff f...@zz.de
"Es ist ein grobes Missverständnis und eine Fehlwahrnehmung, dem Staat
im Internet Zensur- und Überwachungsabsichten zu unterstellen."
- - Bundesminister Dr. Wolfgang Schäuble -- 10. Juli in Berlin 


signature.asc
Description: Digital signature
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev