Skip to content

Instantly share code, notes, and snippets.

@kartenkarsten
Created April 28, 2014 12:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kartenkarsten/11370822 to your computer and use it in GitHub Desktop.
Save kartenkarsten/11370822 to your computer and use it in GitHub Desktop.
Printed watercolor Map with overlay
clear-map
//map settings
set-setting name=map.decoration.scale value=false
set-setting name=map.decoration.grid value=false
//bergen
set-geo-bounds 10.9424,52.8835,10.9823,52.8977
set-print-bounds-view 10.9424,52.8835,10.9823,52.8977
//TODO change this path
use-ruleset location=/Maperitive/rules/wireframe_remix.mrules
//loads only old data from XAPI
//how to change to overpass-API download?
download-osm
apply-ruleset
zoom-bounds
add-web-map provider="stamen.watercolor"
// export fails!
// set print bounds manually
// and type this command by hand
//export-svg zoom=17 file=/tmp/bergen.svg
// Wireframe remix rules
// by Karsten Hinz
// based on Wireframe
// Created by Igor Brejc
// Released under the Creative Commons Attribution-ShareAlike 3.0 License (http://creativecommons.org/licenses/by-sa/3.0/)
// created as overlay for the Watercolor map zoom level 17
features
lines
buildings : building AND NOT building=garage
waterway : waterway=stream
highway track : highway=track AND NOT tracktype=grade1
highway street : highway=living_street
areas
residential : landuse=residential
industrial : landuse=industrial OR landuse=commercial OR landuse=farmyard
greenhousearea : landuse=greenhouse_horticulture
camp : tourism=camp_site
properties
map-background-color : #181818
rules
target : residential
define
fill-color : green
fill-opacity : 0.1
line-color : red
line-opacity : 5%
line-width : 1
line-style : solid
draw : fill
target : industrial
define
fill-color : red
fill-opacity : 0.1
line-color : red
line-opacity : 5%
line-width : 1
line-style : solid
draw : fill
target : greenhousearea
define
fill-color : lime
fill-opacity : 0.1
line-color : red
line-opacity : 5%
line-width : 1
line-style : solid
draw : fill
target : camp
define
fill-color : lime
fill-opacity : 0.15
line-width : 1
line-opacity : 50%
draw : fill
target : buildings
define
line-color : black
line-width : 1
draw : line
target : highway street
define
line-color : white
line-opacity : 30%
line-width : 10:1;16:3
draw : line
target : highway track
define
line-color : brown
line-opacity : 20%
line-style : dash
line-width : 10:1;16:3
draw : line
target : waterway
define
line-color : #00bff5
line-opacity : 30%
line-width : 14:1;16:4
draw : line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment