Closed VaasuDevanS closed 4 months ago
Hi, thanks for your interest in this project!
The 36226_55652
part of the filepath is the Web Mercator tile at zoom 17. So to convert that to the geographic coordinate, you could use a function like this:
def mercator_to_geo(p, zoom=17, pixels=1):
n = 2**zoom
x = p[0] / pixels
y = p[1] / pixels
x = x * 360.0 / n - 180
y = math.atan(math.sinh(math.pi * (1 - 2.0 * y / n)))
y = y * 180 / math.pi
return (x, y)
Thanks very much @piperwolters. Could you also please explain what m_2608053
and 17_060
stands for?
Of course. You are correct about the date and the quadrant indicator (ex. sw).
m: This stands for "mosaic," indicating that the image is a part of a mosaic of tiles stitched together to cover a larger area.
2608053: This is a unique identifier for the specific tile. It typically includes information related to the location and quadrant of the imagery. For NAIP imagery, this number is often associated with the USGS (United States Geological Survey) quadrangle mapping system or a similar grid system used to segment and catalog the imagery.
17: This number represents the zoom level of the image. These NAIP images are on a web-mercator grid of zoom level 17 (2^17 x 2^17).
060: This part of the filename usually pertains to the version or series of the imagery. It could represent a batch number or a version number of the data release, helping users distinguish between different collections or updates of imagery.
Thanks very much @piperwolters for the detailed clarification.
Thanks very much to the authors for making this work in the public domain. I have few questions regarding the folder structure.
Currently the folder structure for an image looks something like this:
I would like to know the meaning behind the naip folder name. I think it's safe to assume
sw
stands forsouth-west
and20191203
is the date of NAIP image (Dec 03, 2019
). What aboutm_2608053
,17_060
and36226_55652
?I am trying to locate the original NAIP image geographically for further analysis.