Hey, I'm so sorry for asking this stupid question but I'm very new to Java and use Android studio for the first time. I spent the last few hours writing the following query for Firebase but I always get the error "Cannot convert a geohash to base32 if the precision is not a multiple of 5." I have already looked at all the questions about this on here but I can't figure out what to do about it. Like how can I change the precision to a value that is a multiple of 5? I'm really stuck :(
`
PS: if it's not clear, I have a database with lots of documents and each of the documents has a field with a hash code. now I want to get every document that is inside of a rectangle.
Edit: I got it working doing this. I think the code is very ugly and bad but I'll post it anyway. (improvements are appreciated)
Hey, I'm so sorry for asking this stupid question but I'm very new to Java and use Android studio for the first time. I spent the last few hours writing the following query for Firebase but I always get the error "Cannot convert a geohash to base32 if the precision is not a multiple of 5." I have already looked at all the questions about this on here but I can't figure out what to do about it. Like how can I change the precision to a value that is a multiple of 5? I'm really stuck :(
` private void search(){
` PS: if it's not clear, I have a database with lots of documents and each of the documents has a field with a hash code. now I want to get every document that is inside of a rectangle.
Edit: I got it working doing this. I think the code is very ugly and bad but I'll post it anyway. (improvements are appreciated)
` private void search(){
`