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

Adding USGS The National Map basemaps #366

Closed
sdbowman opened this issue Aug 27, 2020 · 10 comments · Fixed by #367
Closed

Adding USGS The National Map basemaps #366

sdbowman opened this issue Aug 27, 2020 · 10 comments · Fixed by #367

Comments

@sdbowman
Copy link

Please add the USGS The National Map topographic, imagery, and imagery + topographic basemaps to the providers list. The additional code for leaflet-providers.js is below:

USGSTNM: {
url: 'https://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer/tile/{z}/{y}/{x}',
options: {
maxZoom: 20,
attribution: 'U.S. Department of the Interior | U.S. Geological Survey'
},
variants: {
USTopo: {},
USImagery: {
url: 'https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryOnly/MapServer/tile/{z}/{y}/{x}'
},
USImageryTopo: {
url: 'https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryTopo/MapServer/tile/{z}/{y}/{x}'
}
}
}

@brunob
Copy link
Member

brunob commented Aug 28, 2020

Feel free to provide a PR for that, but before check the TOS of the provider please.

@sdbowman
Copy link
Author

sdbowman commented Aug 31, 2020 via email

@brunob
Copy link
Member

brunob commented Aug 31, 2020

Thx for the feeback @sdbowman :) Would you like to send a PR or do you prefer i do that for you ?

By the way, nice to see that this project is used by geological users, i've been working around this topic for https://github.com/geodiversite/geodiversite/ and playing with this kind of data on https://tiles.kupaia.fr/ :)

@sdbowman
Copy link
Author

sdbowman commented Aug 31, 2020 via email

@brunob
Copy link
Member

brunob commented Aug 31, 2020

Ok, i'll use USGS for base name and a simpler credits as mentioned on https://www.usgs.gov/information-policies-and-instructions/copyrights-and-credits

brunob added a commit that referenced this issue Aug 31, 2020
brunob added a commit that referenced this issue Oct 21, 2020
@sdbowman
Copy link
Author

sdbowman commented Oct 21, 2020 via email

@smileBeda
Copy link

They all return 404 error, even on the provider preview page.

@brunob
Copy link
Member

brunob commented Sep 15, 2022

@sdbowman do you have any infos about this ?

@sdbowman
Copy link
Author

sdbowman commented Sep 15, 2022 via email

@brunob
Copy link
Member

brunob commented Sep 15, 2022

Nice, thx for the feedback @sdbowman :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants