Re: [OSM-talk] OSM for walkers / hikers - getting it going!
Mike N. wrote: >> I'm very much in favour of improving both the quality of hiking data, >> and its representation (particularly outside Europe). But do make an >> effort to consolidate the existing material rather than just adding >> another layer of paint over the top. > > Exactly - I'm just at the point where I need a high quality hiking / > biking map in a relatively small region in the US. > > http://topo.geofabrik.de/ has exactly the features and type of rendering I > had in mind, but it doesn't cover the US and I haven't had time to dig about > to see if any of it is open source. I'm beginning to check into a custom > version of a Mapnik stylesheet and rendering. One option might be to tweak the styles used for http://toposm.com/ to better highlight and render hiking trails and paths. It's probably a good base map for hiking, and we're working on complete US coverage. Since, in TopOSM, the base topography and the map features are on different tile layers, it would even be possible to use the existing topography and contour lines, and make a custom layer that highlights hiking trails, paths, obstacles etc. - Lars -- Lars Ahlzen l...@ahlzen.com ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] OpenPisteMap Down?
Hurricane McEwen wrote: > Hey, > > I just went to visit openpistemap.org and I get a blank map. Anyone run > in to the same issue? Yes. And they are probably having the same problem as I had recently with toposm.com. It appears that the OpenLayers.Layer.OSM class now expects a full URL template for the tiles, rather than just the directory... i.e. something like: OpenLayers.Layer.OSM.opm = OpenLayers.Class(OpenLayers.Layer.OSM, { initialize: function(name, options, args) { var url = [ "http://openpistemap.org/tiles/contours/${z}/${x}/${y}.png"; ]; ... instead of the current: OpenLayers.Layer.OSM.opm = OpenLayers.Class(OpenLayers.Layer.OSM, { initialize: function(name, options, args) { var url = [ "http://openpistemap.org/tiles/contours/"; ]; ... - Lars -- Lars Ahlzen l...@ahlzen.com ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Map legends: Another option
Stefan Baebler wrote: > It's nice seeing changing road width with zoom also in the legend! Yep. True WYSIWYG. :) > It would be also interesting to hide features that are not appearing > in the map currently being shown. > Sure it would require a bbox query, but it would be much more user > friendly (eg when matching 2 shades of green in a map to 5 shades in > the legend) and it would also allow showing relevant POI icons > OTOH new mappers should see also not yet existing features (as their > palette of features to choose from) with links to wiki :) Technically implementing that on a slippy map sounds tricky, but it's an interesting idea. It would probably be useful for legends with many features. - Lars -- Lars Ahlzen l...@ahlzen.com ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
[OSM-talk] Map legends: Another option
Hi All, I know that there's been some talk about generating map legends/keys lately, and I don't know if there's a need for another option. It generated some interest when I mentioned it in my diary recently, however... I created a python script that generates an HTML legend (with images) based on a description of features to be included and one or more Mapnik XML configuration files. Thus, I can automatically generate legends for each zoom level of my map. If I modify the map style, I can just run the script again. Example at: http://toposm.com/ma/ (click on "Show/Hide Legend" at the bottom right). It's dynamic, so it will reload when you zoom in and out. It was created for the TopOSM project, but it may be useful to other projects that use Mapnik for rendering. The script itself, and more info, is available at: http://wiki.openstreetmap.org/wiki/TopOSM#Map_legend - Lars -- Lars Ahlzen l...@ahlzen.com ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk