Ignore:
Timestamp:
Mar 9, 2015 10:25:52 AM (5 years ago)
Author:
ldelgass
Message:

add colormap driver option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • geovis/trunk/geovis_protocol.txt

    r5105 r5107  
    130130
    131131General form:
    132 map layer add <type> <driver> <url> ... <layerName>
     132map layer add <layerName> <type> <driver> <url> ...
    133133    <type> = image|elevation|line|point|polygon|text
    134     <driver> = gdal|tms|wms|xyz
     134    <driver> = colorramp|debug|gdal|tms|wms|xyz
    135135
    136136Specific image layer types:
    137 map layer add image gdal <url> <cache> <layerName>
     137map layer add <layerName> image colorramp <url> <cache> <elevdriver> <profile> <colormapName>
     138    Add a colormapped image layer from a file or URL
     139    <url> = URL of source
     140    <cache> = bool indicating if tiles should be cached on disk
     141    <elevdriver> = Elevation driver to read source
     142    <profile> = profile of source
     143    <colormapName> = Name of colormap
     144map layer add <layerName> image gdal <url> <cache>
    138145    Add a GDAL image layer from a file or URL
    139 map layer add image wms <url> <cache> <layers> <format> <transparent> <layerName>
     146map layer add <layerName> image wms <url> <cache> <layers> <format> <transparent>
    140147    Add a WMS image layer from a URL + layer string
    141148    <url> = URL of WMS service
     
    144151    <format> = Image format to return (e.g. 'png')
    145152    <transparent> = bool
    146 map layer add image tms <url> <cache> <layerName>
     153map layer add <layerName> image tms <url> <cache>
    147154    Add a TMS image layer from a URL
    148155    <url> = URL of TMS service
    149156    <cache> = bool indicating if tiles should be cached on disk
    150 map layer add image xyz <urlPattern> <cache> <layerName>
     157map layer add <layerName> image xyz <urlPattern> <cache>
    151158    Add an image layer from a web map using a template URL
    152159    <cache> = bool indicating if tiles should be cached on disk
    153160
    154161Elevation layers:
    155 map layer add elevation <driver> <url> <layerName>
     162map layer add <layerName> elevation <driver> <url>
    156163    Add an elevation image layer from a file or URL
    157164    <driver> = gdal|tms|wms
    158165
    159166Feature/model layers:
    160 map layer add point <url> <r> <g> <b> <size> <layerName>
     167map layer add <layerName> point <url> <r> <g> <b> <size>
    161168    Add a point feature layer from a file or URL
    162 map layer add polygon <url> <r> <g> <b> <width> <layerName>
     169map layer add <layerName> polygon <url> <r> <g> <b> <width>
    163170    Add a polygon feature layer from a file or URL
    164 map layer add line <url> <r> <g> <b> <width> <layerName>
     171map layer add <layerName> line <url> <r> <g> <b> <width>
    165172    Add a line feature layer from a file or URL
    166 map layer add text <url> <layerName>
     173map layer add <layerName> text <url> <content> <priority> <fgR> <fgG> <fgB> <bgR> <bgG> <bgB> <haloWidth> <fontSize> <removeDupes> <declutter> <visibilityRangeMin> <visibilityRangeMax>
    167174    Add a text symbol layer from a file or URL
    168175
     
    185192    <precision> = integer number of digits to display
    186193
    187 map reset <type> <?profile?> <?xmin?> <?ymin?> <?xmax?> <?ymax?>
     194map reset <type> <r> <g> <b> <?profile?> <?xmin?> <?ymin?> <?xmax?> <?ymax?>
    188195    Clear the scene and rebuild a new map from scratch.  When resetting the
    189196    map to geocentric, a profile and extents should be omitted.  When the map
    190197    type is projected, the profile is required and extents are optional.
    191     type = geocentric|projected
    192     profile = Well known profile string, e.g. 'global-geodetic',
     198    <type> = geocentric|projected
     199    <r>,<g>,<b> - Background color red, green and blue components [0,1]
     200    <profile> = Well known profile string, e.g. 'global-geodetic',
    193201    'global-mercator'.  If specifying bounds (i.e. not global), use 'geodetic'
    194202    or 'spherical-mercator' or an SRS init string (such as an EPSG code)
Note: See TracChangeset for help on using the changeset viewer.