Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Double parking "P" #2230

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 5 comments
Closed

Double parking "P" #2230

openstreetmap-trac opened this issue Jul 23, 2021 · 5 comments

Comments

@openstreetmap-trac
Copy link

Reporter: wiso
[Submitted to the original trac issue database at 1.43pm, Thursday, 27th August 2009]

Look here:

http://www.openstreetmap.org/?lat=45.356127&lon=9.65366&zoom=18&layers=B000FTF

there is a parking with 2 "P". I try to regenerate the tiles locally with R17299 and I don't get the double "P"

@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 5.32pm, Thursday, 27th August 2009]

Jon - do we still have the old hack to add P markers installed? If we do I guess it is clashing with the new code to render markers for areas...

@openstreetmap-trac
Copy link
Author

Author: Ldp
[Added to the original trac issue at 11.46am, Friday, 28th August 2009]

Yes, that one is still active (or actually, in osm2pgsql's source). I was actually counting on it picking about the same spot as the polygon centroid mapnik is supposed to take, dropping one of them due to a collision.

I wonder which P comes from which source. If the out of center one is mapnik's, why would it choose such an awkward spot for such a simple polygon?

@openstreetmap-trac
Copy link
Author

Author: jburgess777[at]googlemail.com
[Added to the original trac issue at 12.03pm, Friday, 28th August 2009]

The two nodes on the right have been moved several times. If they were aligned with the road to right then the second P would be in about the centre of this area. I don't believe the diff update process does anything to delete the generated P nodes when parking areas are updated.

There are currently two generated P nodes in the DB:

gis=> select osm_id,amenity,astext(transform(way,4326)) from planet_osm_point where osm_id=26267629;
  osm_id  | amenity |                  astext
----------+---------+------------------------------------------
 26267629 | parking | POINT(9.65349861966763 45.3561133580288)
 26267629 | parking | POINT(9.65370460336228 45.3561374715661)
(2 rows)

I have now deleted them both. This only effects the Mapnik rendering DB, not the OSM ways or nodes.

@openstreetmap-trac
Copy link
Author

Author: larza[at]iki.fi
[Added to the original trac issue at 12.48pm, Wednesday, 2nd September 2009]

Here's another one:

http://www.openstreetmap.org/?lat=60.2389369904995&layers=B000FTFTT&lon=24.8490759730339&zoom=18

@openstreetmap-trac
Copy link
Author

Author: Ldp
[Added to the original trac issue at 8.59pm, Friday, 18th September 2009]

The last full planet import was Sept 2, so you saw an old tile when you reopened this ticket. Those areas now have 1 P symbol.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant