anchor.diff:  
   
   % Disassociates a GID with an Object
  +process_cmd(State=#state{space=undefined}, <<"disassociate ", _Rest/binary>>) -> ?SPACE_NEEDED(State);
   process_cmd(State=#state{socket=Sock, space=Sp}, <<"disassociate ", Rest/binary>>) ->
       case binary:split(Rest, [<<" ">>], [global]) of
           [GIDS, <<"with">>, Obj] ->
  
positive.code: 
  
  % Query the nearest points
  process_cmd(State=#state{socket=Sock, space=Sp}, <<"query nearest ", Rest/binary>>) ->
      case binary:split(Rest, [<<" ">>], [global]) of
          [K_str, <<"to">>, LatS, LngS] ->
  
negative.code: -define(BAD_LATLNG, <<"Client Error: Bad lat/lng format\n">>).
  -define(BAD_ARGS, <<"Client Error: Bad arguments\n">>).
  -define(SPACE_NOT_FOUND, <<"Space does not exist\n">>).
  -define(SPACE_NEEDED(State), gen_tcp:send(State#state.socket, <<"Client Error: Must use a namespace\n">>), State).
  
  start_link(Socket) ->
      gen_server:start_link(?MODULE, [Socket], []).
  