Ignore:
Timestamp:
Sep 4, 2014 11:18:26 AM (7 years ago)
Author:
ldelgass
Message:

add token to map/screen coord commands

File:
1 edited

Legend:

Unmodified
Added
Removed
  • geovis/trunk/geovis_protocol.txt

    r4578 r4629  
    9090
    9191screen bgcolor <r> <g> <b>
    92 screen coords <x> <y> <z> <?srs?> <?verticalDatum?>
     92screen coords <token> <x> <y> <z> <?srs?> <?verticalDatum?>
    9393       Transate map coordinates to screen/mouse coordinates.
     94       <token> - String token, included in response
    9495       <x>,<y>,<z> - Map coordinates.  If srs not given, these are in the map's
    9596       coordinate system.
     
    114115== Map Commands ==
    115116
    116 map coords <x> <y> <?srs?> <?verticalDatum?>
     117map coords <token> <x> <y> <?srs?> <?verticalDatum?>
    117118    Translate screen/mouse coordinates into map coordinates.
     119    <token> - String token, included in response
    118120    <x>,<y> - Screen/mouse coordinates
    119121    <srs> - Optional horizontal srs init string for coordinate system to return
     
    207209nv>image -type image -bytes <nbytes>
    208210  <binary RGB data>
    209 nv>map coords <mapX> <mapY> <mapZ> <screenX> <screenY> <?srs?> <?verticalDatum?>
     211nv>map coords <token> <mapX> <mapY> <mapZ> <screenX> <screenY> <?srs?> <?verticalDatum?>
    210212   Reply to query of map coordinates from screen coordinates.  srs of the map
    211213   coordinates may be included if not in map's native coordinate system
    212 nv>map coords invalid <mouseX> <mouseY>
     214nv>map coords <token> invalid <mouseX> <mouseY>
    213215   Reply indicating an off-map click/query
    214 nv>screen coords <screenX> <screenY> <screenZ> <mapX> <mapY> <mapZ>
     216nv>screen coords <token> <screenX> <screenY> <screenZ> <mapX> <mapY> <mapZ>
    215217   Reply to query of screen coordinates from map coordinates
    216 nv>screen coords invalid <mapX> <mapY> <mapZ>
     218nv>screen coords <token> invalid <mapX> <mapY> <mapZ>
    217219   Reply indicating requested point is out of the view frustum
    218220nv>ok -token <seqnum>
    219    Reply indicated commands through <seqnum> (numbered beginning at 1) have been
     221   Reply indicated commands through <seqnum> (numbered beginning at 0) have been
    220222   processed, but no new image was rendered
    221223================================================================================
Note: See TracChangeset for help on using the changeset viewer.