Changeset 4578


Ignore:
Timestamp:
Jul 27, 2014, 5:00:08 PM (5 years ago)
Author:
ldelgass
Message:

protocol doc update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/geovis/geovis_protocol.txt

    r4350 r4578  
    9090
    9191screen bgcolor <r> <g> <b>
     92screen coords <x> <y> <z> <?srs?> <?verticalDatum?>
     93       Transate map coordinates to screen/mouse coordinates.
     94       <x>,<y>,<z> - Map coordinates.  If srs not given, these are in the map's
     95       coordinate system.
     96       <srs> - Optional horizontal srs init string for coordinate system of
     97       x,y,z
     98       <verticalDatum> - Optional vertical srs init string for coordinate system
     99       of x,y,z
    92100screen size <width> <height>
    93101
     
    106114== Map Commands ==
    107115
    108 map coords <x> <y>
    109     Translate screen/mouse coordinates into map coordinates
     116map coords <x> <y> <?srs?> <?verticalDatum?>
     117    Translate screen/mouse coordinates into map coordinates.
     118    <x>,<y> - Screen/mouse coordinates
     119    <srs> - Optional horizontal srs init string for coordinate system to return
     120    <verticalDatum> - Optional vertical srs init string for coordinate system to
     121    return
    110122
    111123map grid <bool> <?type?>
     
    195207nv>image -type image -bytes <nbytes>
    196208  <binary RGB data>
    197 nv>map coords <x> <y> <z> <?mouseX?> <?mouseY?>
    198    Reply to query of map coordinates.  If reply is to a request with mouse
    199    coordinates, the mouse coordinates are included.
     209nv>map coords <mapX> <mapY> <mapZ> <screenX> <screenY> <?srs?> <?verticalDatum?>
     210   Reply to query of map coordinates from screen coordinates.  srs of the map
     211   coordinates may be included if not in map's native coordinate system
    200212nv>map coords invalid <mouseX> <mouseY>
    201213   Reply indicating an off-map click/query
     214nv>screen coords <screenX> <screenY> <screenZ> <mapX> <mapY> <mapZ>
     215   Reply to query of screen coordinates from map coordinates
     216nv>screen coords invalid <mapX> <mapY> <mapZ>
     217   Reply indicating requested point is out of the view frustum
    202218nv>ok -token <seqnum>
    203219   Reply indicated commands through <seqnum> (numbered beginning at 1) have been
Note: See TracChangeset for help on using the changeset viewer.