Re: [mkgmap-dev] [PATCH] some natural points

2009-07-13 Thread Steve Ratcliffe

Hi

> I tried to compile a test map to go trough POIs on my eTrex legend.
> java -Xmx512m -jar mkgmap.jar test-map:all-elements
>
> provides me just with a list of errors:
> Can't set city point index for 0x10,0x22 (too many indexed points in  
> division)
> Can't set city point index for 0x10,0x23 (too many indexed points in  
> division)
> ..
> etc.

That used to happen several versions ago, are you sure that you are running
an up to date version of mkgmap?

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


Re: [mkgmap-dev] [PATCH] some natural points

2009-07-13 Thread Marko Mäkelä
On Mon, Jul 13, 2009 at 07:49:44AM +0300, Jani Patanen wrote:
> I tried to compile a test map to go trough POIs on my eTrex legend.
> java -Xmx512m -jar mkgmap.jar test-map:all-elements
>
> provides me just with a list of errors:
> Can't set city point index for 0x10,0x22 (too many indexed points in  
> division)
> Can't set city point index for 0x10,0x23 (too many indexed points in  
> division)
> ..
> etc.

Works for me.  I just added all Edge 705 Food&Drink items to
http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/POI_Types

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


Re: [mkgmap-dev] [PATCH] some natural points

2009-07-12 Thread Jani Patanen

I tried to compile a test map to go trough POIs on my eTrex legend.
java -Xmx512m -jar mkgmap.jar test-map:all-elements

provides me just with a list of errors:
Can't set city point index for 0x10,0x22 (too many indexed points in 
division)
Can't set city point index for 0x10,0x23 (too many indexed points in 
division)

..
etc.


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


Re: [mkgmap-dev] [PATCH] some natural points

2009-07-11 Thread Ben Konrath
Hi Marko,

On Sat, Jul 11, 2009 at 1:41 AM, Marko Mäkelä wrote:
> Hi Ben,
>
> I compared your patch to mine.  I only noticed two differences:
>
> First, in my patch, truck stops have precedence over manned fuel stations
> (to make the map more useful to truck drivers):
>
> +amenity=fuel & fuel:HGV_diesel=yes [ 0x2f16 resolution 19 ]
>  amenity=fuel & shop=convenience [ 0x2e06 resolution 19 ]
>
> I may have posted an initial version of the patch where this was not the
> case.
>
> Second, in my patch, natural=rock is added before natural=spring, not after
> it.  It is a cosmetic thing (maintaining alphabetical order).
>
> Did you perhaps post the wrong patch?

I may have made a mistake here. Thanks for looking at the patch and
catching the error.

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


Re: [mkgmap-dev] [PATCH] some natural points

2009-07-11 Thread Marko Mäkelä
Hi Steve,

> I have applied your patch from Ben's updated patch and made your changes.
> Hope that is all correct, could you check please.

It merged with zero conflicts, no diff.

Only this diff remains, in resources/styles/default/lines
(I sent it a couple of days ago):

+railway=platform {add access = no; add foot = yes} [0x16 road_class=0 
road_speed=0 resolution 23]

Maybe it would be better to write action rules to explicitly map
railway=platform to highway=footway.  Sorry, I was too lazy to learn
how.

Best regards,

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


Re: [mkgmap-dev] [PATCH] some natural points

2009-07-11 Thread Steve Ratcliffe

Hi Marko,

I have applied your patch from Ben's updated patch and made your changes.
Hope that is all correct, could you check please.

Thanks,
..Steve

> I compared your patch to mine.  I only noticed two differences:
> 
> First, in my patch, truck stops have precedence over manned fuel stations
> (to make the map more useful to truck drivers):
> 
> +amenity=fuel & fuel:HGV_diesel=yes [ 0x2f16 resolution 19 ]
>  amenity=fuel & shop=convenience [ 0x2e06 resolution 19 ]
> 
> I may have posted an initial version of the patch where this was not the
> case.
> 
> Second, in my patch, natural=rock is added before natural=spring, not after
> it.  It is a cosmetic thing (maintaining alphabetical order).
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] [PATCH] some natural points

2009-07-10 Thread Marko Mäkelä
Hi Ben,

I compared your patch to mine.  I only noticed two differences:

First, in my patch, truck stops have precedence over manned fuel stations
(to make the map more useful to truck drivers):

+amenity=fuel & fuel:HGV_diesel=yes [ 0x2f16 resolution 19 ]
 amenity=fuel & shop=convenience [ 0x2e06 resolution 19 ]

I may have posted an initial version of the patch where this was not the
case.

Second, in my patch, natural=rock is added before natural=spring, not after
it.  It is a cosmetic thing (maintaining alphabetical order).

Did you perhaps post the wrong patch?

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


Re: [mkgmap-dev] [PATCH] some natural points

2009-07-10 Thread Marko Mäkelä
On Sat, Jul 11, 2009 at 12:52:10AM -0400, Ben Konrath wrote:
> I meant to reply to your message entitled '[PATCH] Find Places items
> from test-map:all-elements' for this patch update. Sorry for the
> confusion everybody.

Thanks, Ben.  I have used the patch for compiling the map of Finland
 a couple of times.  But I haven't
tested (or heard from anyone testing) the patch on anything else than
the Edge 705.

I promise to look at your patch and revise
http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/POI_Types
some time next week.  (Vacation is busy time when you have small children.
Yesterday I was at least able to combine fun and "work" by making a 30km
mapping trip with my kids on the family bicycle.)

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


Re: [mkgmap-dev] [PATCH] some natural points

2009-07-10 Thread Ben Konrath
Hi Marko,

I meant to reply to your message entitled '[PATCH] Find Places items
from test-map:all-elements' for this patch update. Sorry for the
confusion everybody.

Cheers, Ben

On Sat, Jul 11, 2009 at 12:48 AM, Ben Konrath wrote:
> Hi,
>
> Here's an updated version of this patch in case anybody is using it.
>
> Cheers, Ben
>
> On 06/20/2009 04:23 PM, Marko Mäkelä wrote:
>>
>> Some natural=* POI values were missing from the translation.  On the Edge
>> 705,
>> natural=wood will be displayed with an icon.  That would be useful for
>> marking
>> the names of forest areas in cities.
>>
>> The other two (natural=rock, natural=water) will be displayed as hollow
>> white circles by the Edge 705.  The attribute natural=rock is not listed
>> at
>> http://wiki.openstreetmap.org/wiki/Key:natural, but I thought that it
>> would be OK to mark large rocks (diameter over 1 m) as natural=rock.
>>
>> Please apply the attached patch.
>>
>> On a related note, when I tested this, I originally downloaded a small
>> area and tried to create a map.  The map was blank when zoomed at anything
>> closer than 80 m.  No tooltips were presented for any roads or POIs, and
>> the Edge 705 complained something about no POI information being
>> available.
>> The bounding box of the download was as follows:
>>
>> minlat='60.3461917134347' minlon='25.0977978880827'
>> maxlat='60.3564969730713' maxlon='25.1192281119173'
>>
>> Surprisingly, routing worked, even though the map was blank at closer zoom
>> levels (tested 20 to 50 m).
>>
>> Ultimately, I edited a 180MB *.osm map tile in a text editor and changed
>> some attributes there.  When compiled, that map tile was displayed OK.
>>
>> Regards,
>>
>>        Marko
>>
>>
>> 
>>
>> ___
>> mkgmap-dev mailing list
>> mkgmap-dev@lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] [PATCH] some natural points

2009-07-10 Thread Ben Konrath

Hi,

Here's an updated version of this patch in case anybody is using it.

Cheers, Ben

On 06/20/2009 04:23 PM, Marko Mäkelä wrote:

Some natural=* POI values were missing from the translation.  On the Edge 705,
natural=wood will be displayed with an icon.  That would be useful for marking
the names of forest areas in cities.

The other two (natural=rock, natural=water) will be displayed as hollow
white circles by the Edge 705.  The attribute natural=rock is not listed at
http://wiki.openstreetmap.org/wiki/Key:natural, but I thought that it
would be OK to mark large rocks (diameter over 1 m) as natural=rock.

Please apply the attached patch.

On a related note, when I tested this, I originally downloaded a small
area and tried to create a map.  The map was blank when zoomed at anything
closer than 80 m.  No tooltips were presented for any roads or POIs, and
the Edge 705 complained something about no POI information being available.
The bounding box of the download was as follows:

minlat='60.3461917134347' minlon='25.0977978880827'
maxlat='60.3564969730713' maxlon='25.1192281119173'

Surprisingly, routing worked, even though the map was blank at closer zoom
levels (tested 20 to 50 m).

Ultimately, I edited a 180MB *.osm map tile in a text editor and changed
some attributes there.  When compiled, that map tile was displayed OK.

Regards,

Marko




___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Index: resources/styles/default/points
===
--- resources/styles/default/points (revision 1082)
+++ resources/styles/default/points (working copy)
@@ -6,8 +6,12 @@
 amenity=atm { name '${operator}: ${name}' | '${name}' | '${operator}' } 
[0x2f06 resolution 21]
 amenity=bank { name '${name} (${operator})' | '${name}' | '${operator}' } 
[0x2f06 resolution 21]
 amenity=biergarten [0x2d02 resolution 21]
-amenity=bus_station [0x2f08 resolution 21]
+amenity=border_control [0x3006 resolution 18]
+amenity=bus_station [0x2f08 resolution 20]
 amenity=cafe [0x2a0e resolution 21]
+#amenity=car_club [0x2f0d resolution 20]
+amenity=car_rental [0x2f02 resolution 20]
+amenity=car_sharing [0x2f02 resolution 20]
 amenity=car_wash [0x2f0e resolution 21]
 amenity=casino [0x2d04 resolution 20]
 amenity=cinema [0x2d03 resolution 20]
@@ -15,11 +19,13 @@
 amenity=concert_hall [0x2c09 resolution 20]
 amenity=conference_centre [0x2c09 resolution 20]
 amenity=convention_center [0x2c09 resolution 20]
-amenity=community_centre [0x2c09 resolution 20]
+amenity=community_centre [0x3005 resolution 20]
+amenity=community_center [0x3005 resolution 20]
 amenity=courthouse [0x3004 resolution 20]
 amenity=doctors [0x3002 resolution 20]
 amenity=drinking_water [0x5000 resolution 23 default_name 'Water']
-amenity=emergency_phone [0x5100 resolution 21]
+amenity=emergency_phone [0x2f12 resolution 21 default_name 'Emergency Phone']
+amenity=ferry_terminal [0x2f08 resolution 19]
 amenity=fast_food & cuisine=grill [0x2a03 resolution 20]
 amenity=fast_food & cuisine=pizza [0x2a0a resolution 20]
 amenity=fast_food & cuisine='pizza;kebab' [0x2a0a resolution 20]
@@ -27,23 +33,26 @@
 amenity=fire_station [0x3008 resolution 21]
 amenity=food_court [0x2a13 resolution 20]
 amenity=fuel & shop=convenience [ 0x2e06 resolution 19 ]
+amenity=fuel & fuel:HGV_diesel=yes [ 0x2f16 resolution 19 ]
 amenity=fuel { name '${operator}: ${name}' | '${name}' | '${operator}' } 
[0x2f01 resolution 19 ]
 amenity=grave_yard [0x6403 resolution 21]
 amenity=hospital [0x3002 resolution 20]
 amenity=library [0x2c03 resolution 21]
+amenity=nightclub [0x2d02 resolution 21]
 amenity=parking [0x2f0b resolution 21 default_name 'Parking']
 amenity=pharmacy [0x2e05 resolution 20]
 amenity=place_of_worship [0x2c0b resolution 21]
 amenity=police [0x3001 resolution 21]
 amenity=post_office [0x2f05 resolution 20]
 amenity=pub [0x2d02 resolution 20]
-amenity=public_building [0x3000 resolution 21]
+amenity=public_building [0x3007 resolution 21]
 amenity=recycling { name '${name} (${operator})' | '${name}' | '${operator}' }
 amenity=recycling [0x2f15 resolution 20]
 amenity=restaurant & cuisine=american [0x2a01 resolution 20]
 amenity=restaurant & cuisine=asian [0x2a02 resolution 20]
 amenity=restaurant & cuisine=bagel [0x2a0d resolution 20]
 amenity=restaurant & cuisine=barbecue [0x2a03 resolution 20]
+amenity=restaurant & cuisine=british [0x2a11 resolution 20]
 amenity=restaurant & cuisine='cafe/diner' [0x2a0e resolution 21]
 amenity=restaurant & cuisine=chinese [0x2a04 resolution 20]
 amenity=restaurant & cuisine=deli [0x2a05 resolution 20]
@@ -65,9 +74,12 @@
 amenity=restaurant & cuisine=* [0x2a13 resolution 20]
 amenity=restaurant [0x2a00 resolution 20]
 amenity=school [0x2c05 resolution 20]
+amenity=shelter [0x2b05 resolution 20]
 amenity=supe

[mkgmap-dev] [PATCH] some natural points

2009-06-20 Thread Marko Mäkelä
Some natural=* POI values were missing from the translation.  On the Edge 705,
natural=wood will be displayed with an icon.  That would be useful for marking
the names of forest areas in cities.

The other two (natural=rock, natural=water) will be displayed as hollow
white circles by the Edge 705.  The attribute natural=rock is not listed at
http://wiki.openstreetmap.org/wiki/Key:natural, but I thought that it
would be OK to mark large rocks (diameter over 1 m) as natural=rock.

Please apply the attached patch.

On a related note, when I tested this, I originally downloaded a small
area and tried to create a map.  The map was blank when zoomed at anything
closer than 80 m.  No tooltips were presented for any roads or POIs, and
the Edge 705 complained something about no POI information being available.
The bounding box of the download was as follows:

minlat='60.3461917134347' minlon='25.0977978880827'
maxlat='60.3564969730713' maxlon='25.1192281119173'

Surprisingly, routing worked, even though the map was blank at closer zoom
levels (tested 20 to 50 m).

Ultimately, I edited a 180MB *.osm map tile in a text editor and changed
some attributes there.  When compiled, that map tile was displayed OK.

Regards,

Marko
Index: resources/styles/default/points
===
--- resources/styles/default/points	(revision 1067)
+++ resources/styles/default/points	(working copy)
@@ -97,15 +97,18 @@
 
 man_made=tower [0x6411 resolution 21]
 
-# Edge 705 displays 0x650a,0x6511,0x6512,0x6513 as hollow white circles, no menu
+# Edge 705 displays 0x650a,0x6511,0x6512,0x6513,0x6603,0x6614 as hollow white circles, no menu
 natural=beach [0x6604 resolution 21]
 natural=cliff [0x6607 resolution 21]
 natural=glacier [0x650a resolution 21]
 natural=peak [0x6616 resolution 21]
+natural=rock [0x6614 resolution 21]
 natural=spring [0x6511 resolution 21]
 #natural=stream [0x6512 resolution 21]
 natural=volcano [0x2c0c resolution 21]
+natural=water [0x6603 resolution 21]
 natural=wetland [0x6513 resolution 21]
+natural=wood [0x6618 resolution 21]
 
 place=city [0x0400 resolution 17]
 place=hamlet [0x1100 resolution 20]
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev