R
Ryan Fisher
Hello,
This might seem rather odd request, but I have a set of spatial corrdinates in a database with the degrees, minutes and seconds in separate fields. We need to identify the center of each 10 minute block that the location falls within. So what I'm trying to do is develop a query that takes the minutes field (anything between 0 and 59) and rounds the number up or down to 5 (e.g., if 12 then it rounds it up to 15, if 18 then rounds it down to 15, if 22 then 25, etc..). I'm really in the dark on this one!
Thanks for any help!
Ryan
This might seem rather odd request, but I have a set of spatial corrdinates in a database with the degrees, minutes and seconds in separate fields. We need to identify the center of each 10 minute block that the location falls within. So what I'm trying to do is develop a query that takes the minutes field (anything between 0 and 59) and rounds the number up or down to 5 (e.g., if 12 then it rounds it up to 15, if 18 then rounds it down to 15, if 22 then 25, etc..). I'm really in the dark on this one!
Thanks for any help!
Ryan