Opened 12 years ago
Closed 12 years ago
#739 closed defect/bug (fixed)
T@H Layout: layers order fails some time
Reported by: | chrispzv | Owned by: | KaZeR |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | core | Version: | git master |
Severity: | Keywords: | ||
Cc: | navit-project.org@…, http://wiki.navit-project.org/index.php/user:korrosa, nick@… |
Description
There seems to be s bug about displaying layers in the right order with T@H layout as an very good describing example I append these screenshots and a link to google maps of that point. (Permalink of planet extractor does not work though. :-( http://maps1.navit-project.org/?zoom=16&lat=53.79272&lon=10.75658&layers=B00T)
Google Maps link: http://maps.google.de/?ie=UTF8&t=h&ll=53.792831,10.755572&spn=0.00649,0.021136&z=16
Attachments (3)
Change History (8)
Changed 12 years ago by chrispzv
Changed 12 years ago by korrosa
comment:1 Changed 12 years ago by korrosa
You're right. This is because polygons for poly_flats, poly_scrub, poly_military_zone, poly_marine, plantation and tundra are lower down in the xml file than the roads, which means they appear on top. In your example, the area is "scrub", or natural=scrub in OSM parlance.
I've attached a patch which moves those polygons up the list (and below the roads). If you know how to use a patch then this should be fine. If you don't, go into your navit.xml and find the following lines:
<itemgra item_types="poly_flats,poly_scrub,poly_military_zone,poly_marine,plantation,tundra" order="0-"> <polygon color="#a0a0a0"/> <text text_size="5"/> </itemgra>
and move them to just below the following:
<!-- landuse=forest --> <itemgra item_types="poly_wood" order="0-"> <polygon color="#72bf81"/> </itemgra>
comment:2 Changed 12 years ago by chrispzv
- Resolution set to fixed
- Status changed from new to closed
I applied these changes manually, 'cause I made T@H layout the default one (moved it up, before "CAR"). I would call it a working bugfix. Thank you!
comment:3 Changed 12 years ago by korrosa
- Cc http://wiki.navit-project.org/index.php/user:korrosa added
- Resolution fixed deleted
- Status changed from closed to reopened
Thanks for checking!
I've re-opened this ticket as I do think this is still a bug, and needs to be fixed in the Navit trunk. Once the patch is applied to the tree I'll close it again.
comment:5 Changed 12 years ago by number6
- Resolution set to fixed
- Status changed from reopened to closed
using CAR (CAR-DARK as well) does work