segasai / q3c

PostgreSQL extension for spatial indexing on a sphere
GNU General Public License v2.0
76 stars 27 forks source link

q3c_pixarea minor bug #14

Closed gshennessy closed 5 years ago

gshennessy commented 5 years ago

The depth claimed to need to be less than 30, but 30 works. Minor fence posting error.

gsh=# select q3c_pixarea(0,31); ERROR: Invalid depth. It should be less than 30. gsh=# select q3c_pixarea(0,30); q3c_pixarea

2.09439510239319 (1 row) gsh=#

segasai commented 5 years ago

Thanks! Change committed.