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

API usage #39

Open
loveqiu1231 opened this issue May 30, 2023 · 5 comments
Open

API usage #39

loveqiu1231 opened this issue May 30, 2023 · 5 comments

Comments

@loveqiu1231
Copy link

hi can someone tell me the amount of API usage
do i need to pay for dataset downloading

@hwj0711
Copy link

hwj0711 commented Sep 21, 2023

+1

@GIS243
Copy link

GIS243 commented Oct 1, 2024

hi can someone tell me the amount of API usage do i need to pay for dataset downloading

Hi there,

I’m also interested in understanding the API usage costs for dataset downloading, and I noticed your question. Were you able to get any clarity or resolution on this? If you’ve found any useful information regarding the pricing or usage limits, I’d appreciate it if you could share.

Thank you so much for your help!

@favyen2
Copy link

favyen2 commented Oct 1, 2024

You can run the 1_sat.go up to the fmt.Printf("found %d required tiles\n", len(requiredTiles)) line and then multiply that by 64 (since the requests are for 512x512 tiles while requiredTiles is for 4096x4096 tiles). It is $0.60 per 1000 512x512 tiles (https://mapsplatform.google.com/pricing/). The price should fit within the free tier (first $200 usage should be free).

@GIS243
Copy link

GIS243 commented Oct 1, 2024

You can run the 1_sat.go up to the fmt.Printf("found %d required tiles\n", len(requiredTiles)) line and then multiply that by 64 (since the requests are for 512x512 tiles while requiredTiles is for 4096x4096 tiles). It is $0.60 per 1000 512x512 tiles (https://mapsplatform.google.com/pricing/). The price should fit within the free tier (first $200 usage should be free).

Hi @favyen2,
Thanks for your helpful explanation of the tile size costs!
For my research, I’m also looking for shapefiles on road infrastructure development (road upgrades or new constructions) over several years for a country or province. So , is it possible to obtain past satellite images, and how far back can I retrieve them? How long does it typically take to run the code you shared?
Thanks again for your help!

@favyen2
Copy link

favyen2 commented Oct 1, 2024

Unfortunately only one layer of aerial imagery is available from the API; there's no option for historical imagery and it doesn't report the timestamp of the images.

If you combine the most recent OpenStreetMap data with the latest aerial imagery then it should mostly match.

If you want to use a time series of aerial images to show changes in the road network over time, there are only a few free sources of this data:

  • National Agriculture Imagery Program in the US provides 60 cm/pixel (some images are 1 m/pixel before 2018) imagery. A given location is generally captured at least once every three years. One way to access the data is via Google Earth Engine.

Actually that's the only one I'm familiar with, some EU countries capture aerial images and release it under open license too.

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

4 participants