Ignore:
Timestamp:
Sep 19, 2014, 12:04:45 PM (10 years ago)
Author:
ldelgass
Message:

screen coords command now takes a list of coordinates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • geovis/trunk/geovis_protocol.txt

    r4629 r4636  
    9090
    9191screen bgcolor <r> <g> <b>
    92 screen coords <token> <x> <y> <z> <?srs?> <?verticalDatum?>
     92screen coords <token> <coordList> <?srs?> <?verticalDatum?>
    9393       Transate map coordinates to screen/mouse coordinates.
    9494       <token> - String token, included in response
    95        <x>,<y>,<z> - Map coordinates.  If srs not given, these are in the map's
    96        coordinate system.
     95       <coordList> - A list of x,y,z map coordinates.  If <srs> is not given,
     96       these are in the map's coordinate system.
    9797       <srs> - Optional horizontal srs init string for coordinate system of
    9898       x,y,z
     
    115115== Map Commands ==
    116116
    117 map coords <token> <x> <y> <?srs?> <?verticalDatum?>
     117map coords <token> <coordList> <?srs?> <?verticalDatum?>
    118118    Translate screen/mouse coordinates into map coordinates.
    119119    <token> - String token, included in response
    120     <x>,<y> - Screen/mouse coordinates
     120    <coordList> - A list of x,y screen/mouse coordinates
    121121    <srs> - Optional horizontal srs init string for coordinate system to return
    122122    <verticalDatum> - Optional vertical srs init string for coordinate system to
     
    209209nv>image -type image -bytes <nbytes>
    210210  <binary RGB data>
    211 nv>map coords <token> <mapX> <mapY> <mapZ> <screenX> <screenY> <?srs?> <?verticalDatum?>
    212    Reply to query of map coordinates from screen coordinates.  srs of the map
    213    coordinates may be included if not in map's native coordinate system
    214 nv>map coords <token> invalid <mouseX> <mouseY>
    215    Reply indicating an off-map click/query
    216 nv>screen coords <token> <screenX> <screenY> <screenZ> <mapX> <mapY> <mapZ>
    217    Reply to query of screen coordinates from map coordinates
    218 nv>screen coords <token> invalid <mapX> <mapY> <mapZ>
    219    Reply indicating requested point is out of the view frustum
     211nv>map coords <token> <mapCoordList> <?srs?> <?verticalDatum?>
     212   Reply to query of map coordinates from screen coordinates.  The mapCoordList
     213   is a list of x,y,z map coordinates.  The srs of the map coordinates may be
     214   included if not in map's native coordinate system.  NaN in the results
     215   indicates off-map input coordinates.
     216nv>screen coords <token> <screenCoordList>
     217   Reply to query of screen coordinates from map coordinates.  The
     218   screenCoordList is a list of x,y,z screen coordinates (z is the depth).  NaN
     219   in the results indicates a point outside the view frustum or invalid input
     220   map coordinate
    220221nv>ok -token <seqnum>
    221222   Reply indicated commands through <seqnum> (numbered beginning at 0) have been
Note: See TracChangeset for help on using the changeset viewer.