Parse location hash