Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Custom NAIP Datasets #16

Closed
zglezgle opened this issue Jul 30, 2020 · 3 comments
Closed

Question: Custom NAIP Datasets #16

zglezgle opened this issue Jul 30, 2020 · 3 comments

Comments

@zglezgle
Copy link

  1. How to convert a NAIP image to tiles? I'd like to prepare another NAIP image similar to your demo: data\basemaps\m_3807537_ne_18_1_20170611_tiles*
  2. Is it possible to use some online NAIP Imagery service, e.g. https://www.arcgis.com/home/item.html?id=2984dd4517c14e00b9d810bd35b5cc5b ? If yes, we can save the effort to prepare the NAIP tiles.

Thank you so much!

@calebrob6
Copy link
Member

Hi zglezgle,

  1. I used gdal2tiles.py to create the basemaps. See https://github.com/microsoft/ai4eutils/blob/master/geospatial/recipes_and_guides/geospatial_recipes.md#convert-a-raster-into-an-xyz-basemap for an example call.
  2. It is definitely possible to use external basemaps in the tool - generally you can use any tile layer that Leaflet can display. The reason I don't is because, generally, you will want the RGB imagery that you are looking at in the tool to match up with the data that the model is being run on (i.e. a local geotiff). For example, the ESRI NAIP layer contains the most recent imagery for all states, however if you were running a model on older NAIP tiles, then these wouldn't match up.

@calebrob6
Copy link
Member

  1. You can also look at a script we just added for generating NAIP basemaps - https://github.com/microsoft/landcover/blob/master/utils/create_naip_basemap.py.

@zglezgle
Copy link
Author

zglezgle commented Aug 4, 2020

thanks!

@zglezgle zglezgle closed this as completed Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants