Hi Ticker,

the node http://www.openstreetmap.org/node/2038594304 is really duplicated, see 
http://www.openstreetmap.org/node/5364865281

Anyway, it might be a good special case to check if routing works.

Gerd

________________________________________
Von: mkgmap-dev <[email protected]> im Auftrag von Ticker 
Berkin <[email protected]>
Gesendet: Dienstag, 5. Mai 2020 17:15
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] nearby POIs

Hi

In my sample I got 3 POIs removed with codes I didn't specify.
Two of these were duplicate areas in OSM and last was

INFO: uk.me.parabola.mkgmap.osmstyle.NearbyPoiHandler
 ../mapHants/74210001.osm.pbf: Removed duplicate POI with type 0x3200
gate for element http://www.openstreetmap.org/node/2038594304

which is a {barrier=gate,bicycle=yes,motor_vehicle=private} on a
footway. Maybe the footway is split at the gate to handle access and/or
mkgmap:road-speed and the POI gets duplicated.

Anyway, none of these indicate a problem.

Ticker

On Tue, 2020-05-05 at 11:03 +0100, Ticker Berkin wrote:
> Hi Gerd
>
> That got rid of my multiple benches.
>
> Just looking at the log for the few other POI it also got rid of.
>
> It would be useful for the log message to include the distance
> between
> the POIs
>
> Ticker
>
> On Tue, 2020-05-05 at 09:19 +0000, Gerd Petermann wrote:
> > Hi all,
> >
> > attached is a patch that seems to work. I've kept the logging as
> > memory is not such a big problem.
> > I've not yet tested special cases like duplicated barrier nodes or
> > a
> > group of nodes where only some are within the tile boundary.
> >
> > Please check if your problems are solved with this version, a
> > binary
> > is here:
> > http://files.mkgmap.org.uk/download/469/mkgmap.jar
> >
> > Gerd
> >
> > ________________________________________
> > Von: mkgmap-dev <[email protected]> im Auftrag
> > von Joris Bo <[email protected]>
> > Gesendet: Dienstag, 5. Mai 2020 08:32
> > An: Development list for mkgmap
> > Betreff: Re: [mkgmap-dev] nearby POIs
> >
> > Hi,
> >
> >
> >
> > I have been testing the nearby poi rules as well with 4485
> >
> > A while I struggled thinking misconfiguration because I see nothing
> > happening but then after extending the ranges, an occasional poi
> > disappears. (toilet 0x2a0d, busstop 0x2f17, custom lift-gate
> > 0x6905)
> >
> >
> >
> > On the cmd line
> >
> > --nearby-poi-rules=*/unnamed:100:delete-poi,*/named:100:delete-poi
> >
> >
> >
> > On my densed big city area (Antwerpen) In that case I expect maybe
> > a
> > couple of thousand benches, trees and bicycle parkings disappear
> > which do not.
> >
> >
> >
> > Can I help testing better by increasing some logging? How could I
> > do
> > that?
> >
> >
> >
> > Kind regards, joris
> >
> >
> >
> > Silo’s (0x2a19) don’t disappear / N51° 11.992' E4° 24.916'
> >
> > An occasional lift gate (0x6905) does disappear
> >
> > [cid:[email protected]]
> >
> >
> >
> > Bicycle stands (0x2f18): don’t disappear
> >
> > N51° 13.685' E4° 24.281'
> >
> > [cid:[email protected]]
> >
> >
> >
> >
> >
> > -----Oorspronkelijk bericht-----
> > Van: mkgmap-dev <[email protected]> Namens
> > Ticker Berkin
> > Verzonden: maandag 4 mei 2020 16:13
> > Aan: mkgmap development <[email protected]>
> > Onderwerp: Re: [mkgmap-dev] nearby POIs
> >
> >
> >
> > Hi Mike
> >
> >
> >
> > No, I just have --nearby-poi-rules=0x6605:30
> >
> >
> >
> > Gerd has explained why I see a message from NearbyPoiHandler about
> > a
> > POI for that wasn't 0x6605 - the logging of the removal of an exact
> > duplicate has moved from StyledConverter
> >
> >
> >
> > Ticker
> >
> >
> >
> > On Mon, 2020-05-04 at 14:35 +0100, Mike Baggaley wrote:
> >
> > > Hi Ticker, have you got a --nearby-poi-rules-config option as
> > > well?
> >
> > >
> >
> > > Cheers,
> >
> > > Mike
> >
> > >
> >
> > > -----Original Message-----
> >
> > > From: Ticker Berkin [mailto:[email protected]]
> >
> > > Sent: 04 May 2020 11:33
> >
> > > To: Development list for mkgmap <[email protected]<m
> > > ai
> > > lto:[email protected]>>
> >
> > > Subject: Re: [mkgmap-dev] nearby POIs
> >
> > >
> >
> > > OK, looking up the # as a way instead gives a polygon that
> > > matches
> > > the
> >
> > > description and would generate a typ code as per the message
> >
> > >
> >
> > > I was more worried about it logging messages about POI with typ
> > > codes
> >
> > > that I hadn't mentioned in rules and not saying anything about
> > > the
> > > one
> >
> > > I had.
> >
> > >
> >
> > > I get the same behaviour with just --nearby-poi-rules=0x6605:30
> >
> > >
> >
> > > Ticker
> >
> > >
> >
> > > On Mon, 2020-05-04 at 10:14 +0000, Gerd Petermann wrote:
> >
> > > > Hi Ticker,
> >
> > > >
> >
> > > > the new option doesn't work well, Mike and I are working on it.
> > > > See
> >
> > > > http://gis.19327.n8.nabble.com/nearby-POIs-tp5962630p5964759.ht
> > > > ml
> >
> > > > The log messages are for POIs generated from areas, so the
> >
> > > > "generated from" ids are either ways or multipolygon relations.
> >
> > > >
> >
> > > > Gerd
> >
> > > >
> >
> > > >
> >
> > > > ________________________________________
> >
> > > > Von: mkgmap-dev <[email protected]<mailto:
> > > > [email protected]>> im Auftrag
> >
> > > > von Ticker Berkin <[email protected]<mailto:
> > > > [email protected]>>
> >
> > > > Gesendet: Montag, 4. Mai 2020 12:04
> >
> > > > An: mkgmap development
> >
> > > > Betreff: [mkgmap-dev] nearby POIs
> >
> > > >
> >
> > > > Hi Mike & Gerd
> >
> > > >
> >
> > > > I'm trying --nearby-poi-rules=0x6605:30:merge-at-mid-point
> >
> > > >
> >
> > > > with, in points:
> >
> > > >
> >
> > > > amenity=bench [0x6605 resolution 24 continue]
> >
> > > >
> >
> > > > and the resultant map is showing benches close to each other (<
> > > > 10
> >
> > > > m)
> >
> > > >
> >
> > > > and, in the log file I'm getting messages like:
> >
> > > >
> >
> > > > INFO: uk.me.parabola.mkgmap.osmstyle.NearbyPoiHandler
> >
> > > >  ../mapHants/74210001.osm.pbf: Removed duplicate POI with type
> >
> > > > 0x2d02
> >
> > > > The Dungeon for element generated from 159255400
> >
> > > > INFO: uk.me.parabola.mkgmap.osmstyle.NearbyPoiHandler
> >
> > > >  ../mapHants/74210001.osm.pbf: Removed duplicate POI with type
> >
> > > > 0x2a07
> >
> > > > Wah Ying for element generated from 468906008
> >
> > > >
> >
> > > > The "generated from" number doesn't seem to correspond to a
> > > > relevant
> >
> > > > OSM node and the message doesn't have the trailing "and
> > > > moved..."
> >
> > > > that
> >
> > > > I would have expected.
> >
> > > >
> >
> > > > Ticker
> >
> > > > _______________________________________________
> >
> > > > mkgmap-dev mailing list
> >
> > > > [email protected]<mailto:
> > > > [email protected]>
> >
> > > > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> >
> > > > _______________________________________________
> >
> > > > mkgmap-dev mailing list
> >
> > > > [email protected]<mailto:
> > > > [email protected]>
> >
> > > > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> >
> > >
> >
> > >
> >
> > _______________________________________________
> >
> > mkgmap-dev mailing list
> >
> > [email protected]<mailto:
> > [email protected]>
> >
> > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> > _______________________________________________
> > mkgmap-dev mailing list
> > [email protected]
> > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> _______________________________________________
> mkgmap-dev mailing list
> [email protected]
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to