Using custom functions with the coordinates:
- Latitude: 41.14867208811922
- Longitude: -8.61602783203125
- Zoom: 1
Gives tiles tms_x and tms_y equal to zero, which is correct.
Then using:
quadtree = Tile.from_tms(tms_x=0,tms_y=0,zoom=1).quad_tree
gives quadtree="2", when it should be 0.
I managed to get the right result by commenting out this line:
|
tms_y = (2 ** self.zoom - 1) - tms_y |
Is this really an error, or am I doing something wrong with the procedure?
Thank you.
Using custom functions with the coordinates:
Gives tiles
tms_xandtms_yequal to zero, which is correct.Then using:
quadtree = Tile.from_tms(tms_x=0,tms_y=0,zoom=1).quad_treegives
quadtree="2", when it should be0.I managed to get the right result by commenting out this line:
pyGeoTile/pygeotile/tile.py
Line 79 in c744e54
Is this really an error, or am I doing something wrong with the procedure?
Thank you.