I'm making a mobile game that uses GPS to interact with the real world.

The game should be able to "see" what terrain/land use/land cover the user is currently in.

Ideally, the game would send the user's current coordinates and receive something like "forest", "city", "lake", "beach", "meadow", etc. and have data available globally.

  • 2
    Globally or of a certain country?
    – markusN
    Feb 21, 2016 at 22:27
  • 2
    I really hope you're making some kind of real-world Pokémon Feb 21, 2016 at 23:00
  • 1
    @RichardLaw My game is at terranquest.net if you want to check it out! Also, Google for Pokémon Go. Feb 22, 2016 at 4:30

2 Answers 2


I would recommend using the National Land Cover Database (NLCD). As you can see from the NLCD2011 legend, the classes are fairly broad but may suit your needs.

National Land Cover Database 2011 (NLCD 2011) is the most recent national land cover product created by the Multi-Resolution Land Characteristics (MRLC) Consortium. NLCD 2011 provides - for the first time - the capability to assess wall-to-wall, spatially explicit, national land cover changes and trends across the United States from 2001 to 2011. As with two previous NLCD land cover products NLCD 2011 keeps the same 16-class land cover classification scheme that has been applied consistently across the United States at a spatial resolution of 30 meters. NLCD 2011 is based primarily on a decision-tree classification of circa 2011 Landsat satellite data.

Another option is to use the GAP National Land Cover Data.

The GAP national land cover data, based on the NatureServe Ecological Systems Classification, are the foundation of the most detailed, consistent map of vegetative associations ever available for the United States and will help facilitate the planning and management of biological diversity on a regional and national scale.

  • Here the link to the resource about the NLCD 2011 API
    – whyzar
    Feb 21, 2016 at 23:01
  • Good links, but they're only for the USA.
    – Fezter
    Feb 21, 2016 at 23:32

I ended up finding an ArcGIS public API for the NLCD 2011 data, and writing a simple API to fetch map pixels and decode based on color.

It's free for public use at http://earth.apis.netsyms.net/. Documentation is at that address. I've noticed a couple of people trying to access that, unfortunately I don't have any need for the data anymore and it was shut down. Here's some similar code including a database dump that does the job. It also contains some OpenStreetMap data for a different purpose.

  • That site appears to be down. I'm doing something similar at the currently-not-working terramapadventure.herokuapp.com, and using the 43200x21600 TIFF files at: visibleearth.nasa.gov/view.php?id=61004 -- maps.elie.ucl.ac.be/CCI/viewer has a 129600x64800 pixel map with even more land "types", but this might be excessive.
    – user1462
    Apr 12, 2019 at 7:54
  • Yeah, it's down. I changed stuff since 2016. I still have the data, if you want a SQL dump of it. Apr 12, 2019 at 16:50
  • If it's higher resolution than 129600x64800 I'd be interested.
    – user1462
    Apr 13, 2019 at 17:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.