.mapurl sample_01
Mark Johnson edited this page Mar 22, 2014
·
6 revisions
This is a sample .mapurl that will download the main city center of Berlin for the zoom-levels 18 and 19
url=http://fbinter.stadt-berlin.de/fb/wms/senstadt/plz?LAYERS=0,1&FORMAT=image/png&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=visual&SRS=EPSG:4326&BBOX=XXX,YYY,XXX,YYY&WIDTH=256&HEIGHT=256 minzoom=12 maxzoom=22 center=13.37771496361961 52.51628011262304 type=wms bounds=13.0512 52.3246 13.7785 52.6935 mbtiles=stadt-berlin.de/berlin_postleitzahlen.mbtiles name=Berliner Postleitzahlen ; 1:5000 ;1:10000 description=Darstellung der Postleitzahlengebiete und deren Postleitzahlen. defaultzoom=17 format=jpg # wget 'http://fbinter.stadt-berlin.de/fb/wms/senstadt/plz?&SERVICE=WMS&REQUEST=GetCapabilities' -O GetCapabilities/Berliner_Postleitzahlen.txt # 'request_type' commands: # - 'replace': fill 'request_url' with the 'requests' of tiles of given request_zoom_levels and request_bounds, replacing existing tiles # - 'fill': fill 'request_url' with the 'requests' of tiles of given request_zoom_levels and request_bounds, ignoring existing tiles # - 'drop': drop the 'request_url' table, created with 'fill' or 'replace' [no more requests will be made] # -- once the table has been filled, 'fill' or 'replace' can be removed # -- 'drop' will be called automaticly when 'request_url' is empty # - 'load': download tiles requested in 'request_url' # -- this can be added to the 'fill' or 'request' - but can also run alone assuming the 'request_url' table has been filled # - 'update_bounds': set the bounds min/max/default zoom-levels based on the tiles found in the database # -- 'load' will call 'update_bounds' when starting and at every new zoom-level # - 'reset_metadata': will manually reset the mbtiles-metadata entries: # -- 'name','description','bounds','center','minzoom','maxzoom' ; NOT: 'format','tile_row_type' # 'no 'run' no fun - without 'run' or a 'runx': all request commands will be ignored # use ',' with mutiple commands - order is not important (drop will be done before fill; load as last) request_type=run,fill,load,reset_metadata # the bounds to use when creating 'request_url' # if 'request_bounds' is not set: 'bounds' will be used [care should be taken with this] request_bounds=13.2605 52.4634 13.4544 52.5519 # the zoom levels to use when creating 'request_url' # if 'request_zoom_levels' are not set: minzoom/maxzoom will be used request_zoom_levels=18-19
*View [[.mapurl questions
|.mapurl--questions]] a list of .mapurl questions *
*View [[.mapurl parameters
|.mapurl-parameters]] a list of .mapurl parameters *
*View [[.mapurl Convert Tile-Set to a .mbtiles file
|.mapurl-Converting-Tile-Set-to-.mbtiles]] using .mapurl parameters *