Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to build a game with a concept similar to Ingress, where the game map is overlaid on a real one.

Where can I find map data for an app like that? How (generally) do I integrate my own game objects into that map? Game objects need to move in real time, so having them as static markers on the map isn't sufficient.

I thought I could use Google Maps but as far as I can tell it would be impossible to create my own graphical style (like Ingress has done) with the official API provided by Google.

share|improve this question
1  
Ingress was developed by Google, so I wouldn't be surprised if the developers have access to information that isn't readily available to the public. In this case you would likely need to research available mapping tools, possibly create your own technology using separately licensed mapping information. – Thebluefish Dec 14 '13 at 18:36
up vote 11 down vote accepted

You could use OpenStreetMap data.

It is liberally licensed. In particular, their wiki says:

3c. If I make something with OSM data, do I now have to apply your license to my whole work?

No. For example, if you have written a game or published an artistic map which includes OSM data, only the data is covered by the license. This is called a Produced Work.

The developer wiki explains how to import OSM data into a database for your own use.

share|improve this answer

I recommend Natural Earth Data as a source of public domain cultural and physical GIS data with global coverage. Vector data sets include landmasses, countries, populated places etc, while raster base layers are available with optional details like land elevation, climate, waterways and submarine elevation.

This data is intended for use with GIS software, but can be manipulated and then exported as something more "game friendly" (svg, png etc.) using tools like QGIS or indiemapper with no financial outlay.

The vector layers come with detailed attribute tables that might also be useful for simulations such as names, populations and GDP.

Here are a couple of quick mock-up produced with this data: grey earth basemap overlayed with urban areas risk clone countries, urban areas, populated places

share|improve this answer
    
This is a really nice data set but as far as I can tell, it does not provide road/street data which I would like to have for my game. – Mark Dunne Dec 26 '13 at 2:58
1  
No Problems, I understand it is not useful for your specific situation. When I saw the (significantly edited) question in the email digest I thought I would post this information as a resource that may help future visitors who find this page. – Kelly Thomas Dec 26 '13 at 14:19

In some cases, you can use Google Static Maps API. This would let you to download sprites for specific locations one by one, and just use them as regular sprites/background in your game. However, you will need to deal with

  • usage quota (depends on the API and use case, but probably 25000 requests per day for free)
  • your game will be bound by Google Maps API T&C
  • your users will be bound by Google T&C, and you will need to acquire their consent
  • you will need to include a link to the Google Maps, I think.
  • according to 10.5 (b), you cannot make derivative works from their images, but it's possible that overlaying their image with some filter (if you need to change hue/saturation), could still pass, as long as it doesn't obscure Google's copyright notice and logo. IANAL, though.
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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