{"id":"geohash-convert","version":"1.0.0","description":"Encode decimal coordinates as a bounded Geohash or decode a Geohash to its exact bounding box and midpoint.","supported_operations":["encode coordinates as geohash","decode geohash bounding box","convert latitude longitude to geohash","find geohash cell midpoint","geohash to exact coordinate bounds","create a spatial geohash key"],"unsupported_operations":["geocode an address or place name","find neighboring geohash cells","measure geographic distance","convert another coordinate reference system"],"semantics":["Encode requires decimal-string latitude and longitude plus precision 1..12; decode requires one lowercase Geohash of 1..12 characters.","Bisection starts with longitude and alternates axes; an exact midpoint selects the upper half (bit 1).","The alphabet is 0123456789bcdefghjkmnpqrstuvwxyz; input is not trimmed or case-folded.","Decoded bounds and midpoint are exact terminating decimal strings without exponent or trailing fractional zero.","Coordinate spellings are canonicalized numerically; latitude is [-90,90] and longitude is [-180,180]."],"limits":{"max_coordinate_bytes":32,"max_geohash_bytes":12,"max_precision":12,"max_bisection_bits":60},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["operation"],"properties":{"operation":{"type":"string","enum":["encode","decode"]},"latitude":{"type":"string","minLength":1,"maxLength":32,"pattern":"^-?(?:0|[0-9]+)(?:\\.[0-9]+)?$"},"longitude":{"type":"string","minLength":1,"maxLength":32,"pattern":"^-?(?:0|[0-9]+)(?:\\.[0-9]+)?$"},"precision":{"type":"integer","minimum":1,"maximum":12},"geohash":{"type":"string","minLength":1,"maxLength":12,"pattern":"^[0123456789bcdefghjkmnpqrstuvwxyz]+$"}}},"output_schema":{"type":"object","additionalProperties":false,"required":["operation","geohash","precision"],"properties":{"operation":{"type":"string","enum":["encode","decode"]},"geohash":{"type":"string","minLength":1,"maxLength":12,"pattern":"^[0123456789bcdefghjkmnpqrstuvwxyz]+$"},"precision":{"type":"integer","minimum":1,"maximum":12},"bounding_box":{"type":"object","additionalProperties":false,"required":["south","west","north","east"],"properties":{"south":{"type":"string"},"west":{"type":"string"},"north":{"type":"string"},"east":{"type":"string"}}},"midpoint":{"type":"object","additionalProperties":false,"required":["latitude","longitude"],"properties":{"latitude":{"type":"string"},"longitude":{"type":"string"}}}}},"examples":[{"input":{"operation":"encode","latitude":"42.6","longitude":"-5.6","precision":5},"output":{"operation":"encode","geohash":"ezs42","precision":5}},{"input":{"operation":"decode","geohash":"s"},"output":{"operation":"decode","geohash":"s","precision":1,"bounding_box":{"south":"0","west":"0","north":"45","east":"45"},"midpoint":{"latitude":"22.5","longitude":"22.5"}}}],"execute_url":"/v1/tools/geohash-convert/versions/1.0.0/execute"}