You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: malenki [Submitted to the original trac issue database at 2.30pm, Tuesday, 25th May 2010]
Mapnik does not render raceway=highway when the way is closed (as most raceways are).
See example [http://www.openstreetmap.org/?lat=50.9057950973511&lon=13.3844885230064&zoom=18 here]
The southern (in RL existing) raceway I split into two parts "for the renderer" which results in a rendered raceway. As I mentioned "my" racecourse at #osm-dev it was considered a single singularity. Today I stumbled over [http://article.gmane.org/gmane.comp.gis.openstreetmap/49768 this post] and decided to have a second look. I cloned the racecourse, closed the way - and Mapnik doesn't render it. The highway=residentials I drew for comparison purposes.
The text was updated successfully, but these errors were encountered:
Author: Ldp [Added to the original trac issue at 10.11pm, Wednesday, 26th May 2010]
The sport=motor tag causes this behaviour. Sport=* would usually be set on an area, and osm2pgsql's default.style thus has it set as 'polygon'. Meaning that any object that has sport=* applied to it, and can form a proper area (closed ring), will be made into a polygon in mapnik's database. No matter which other tags (highway=* in this case) are also present. Polygon wins over linear.
The current solution is to use area=no to say that this is not an area dedicated to motoring sports, but a track. I'm also working on a solution that does not require area=no.
Both of these tracks are the same type according to the stylesheet, so I have to choose a single way to handle them. If I choose to fill the area, your example (1) would render with a solid fill, like (2) needs to be. If I choose to render the outline of your closed way (1) as a raceway, the other one (2) would render as a raceway line on every ring.
Even if I would keep them apart based on osm_id (positive for (1), negative for (2)), it would still break down for cases of (2) that are meant to describe the outline but are just a single way, not a relation.
Reporter: malenki
[Submitted to the original trac issue database at 2.30pm, Tuesday, 25th May 2010]
Mapnik does not render raceway=highway when the way is closed (as most raceways are).
See example [http://www.openstreetmap.org/?lat=50.9057950973511&lon=13.3844885230064&zoom=18 here]
The southern (in RL existing) raceway I split into two parts "for the renderer" which results in a rendered raceway. As I mentioned "my" racecourse at #osm-dev it was considered a single singularity. Today I stumbled over [http://article.gmane.org/gmane.comp.gis.openstreetmap/49768 this post] and decided to have a second look. I cloned the racecourse, closed the way - and Mapnik doesn't render it. The highway=residentials I drew for comparison purposes.
The text was updated successfully, but these errors were encountered: