Re: [Libosmscout-development] Cannot get TYPE wood to render above level 10
Library for OpenStreetMap offline rendering and routing
Status: Beta
Brought to you by:
tteuling
|
From: Lukáš K. <luk...@ce...> - 2016-08-17 07:38:38
|
Hi Tim.
I have similar problems with highways (highway_motorway) in Czechia.
It disappears above zoom level 10, even that I siplified style sheet as
possible and add highway_motorway to "MAG country-"... It is funny that
highway_trunk is still displayed...
$./DumpData/DumpData czech-republic -w 355015786
Way {
OSM id: 355015786
fileOffset: 66750338
type: highway_motorway
boundingBox: [49.98112 N 14.56507 E - 50.00515 N 14.60573 E]
center: 49.99313 N 14.58540 E
cell level: 12
Ref: D1
Grade: 1
Bridge: false
Tunnel: false
Roundabout: false
Access {
oneway: forward
car: forward
}
MaxSpeed: 130
...
German hightways works correctly. I know that german highways are always
better than ours :) It is possible that OSM relations do the magic?
I can provide database and simplified stylesheet if you want...
Lukas
Dne pátek 12. srpna 2016 22:19:55 CEST Tim Teulings napsal(a):
> Hello Nicholas,
>
> You can always use DumpData to ask the database for an OSM or
> libosmscout object. For example:
>
> [tim:~/projects/OSMScout/DumpData] master(+234/-95,9)+* ± src/DumpData
> ../maps/washington -r 1153148
> Area {
> OSM id: 1153148
> fileOffset: 13971846
> type: boundary_county
> boundingBox: [46.73541 N 119.37048 W - 47.26174 N 117.95828 W]
> center: 46.99857 N 118.66438 W
> cell level: 7
> ...
>
> Using the concrete OSMId you should be able to clearly identify the
> object during data loading or rendering. This way you can check if an
> object is available at a certain state. For example to see, if it is
> contained in the MapData instance (loop over data with some kind
> equality check).
>
> --
> Gruß...
> Tim
>
>
> ----------------------------------------------------------------------------
> -- What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic patterns at an interface-level. Reveals which users, apps, and
> protocols are consuming the most bandwidth. Provides multi-vendor support
> for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using
> capacity planning reports. http://sdm.link/zohodev2dev
> _______________________________________________
> Libosmscout-development mailing list
> Lib...@li...
> https://lists.sourceforge.net/lists/listinfo/libosmscout-development |