title: How to remove an item from a redis geohash?
body: <p>Redis 3.2 feature the geohash type.</p>
  
  <p><a href="http://redis.io/commands/geoadd" rel="noreferrer"><code>GEOADD</code> is used to add keys:</a></p>
  
  <pre><code>&gt; GEOADD restaurants 32.0 34.0 Falafel
  (integer) 1
  &gt; GEOADD restaurants 32.1 34.1 Pizza
  (integer) 1
  </code></pre>
  
  <p><code>GEORADIUS</code> is used to make a geo query:</p>
  
  <pre><code>&gt; GEORADIUS restaurants 32.05 34.05 100 km WITHDIST
  1) 1) "Falafel"
     2) "7.2230"
  2) 1) "Pizza"
     2) "7.2213"
  </code></pre>
  
  <p>However, <code>HDEL</code> does not seem to work:</p>
  
  <pre><code>&gt; HDEL restaurants Falafel
  (error) WRONGTYPE Operation against a key holding the wrong kind of value
  </code></pre>
  
  <p><strong>How do I delete, or set a TTL, to a key within a geo hash?</strong></p>