Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I use OpenLayers, GeoServer and PostGIS in my application. Is it possible to have Google maps offline? No need to connect to internet to get it. I'm working to make my app working offline only for security matters.

If not, then what do you recommend me to replace it with?

share|improve this question
    
Offline: Do mean a intranet only, app? –  warrieka Jan 19 '13 at 11:02
    
my app should never connect to internet. and since I use Google API to display base map currently. I need to find a way to use it offline or replace it with another service. –  Shadin Jan 19 '13 at 11:15
1  
You can only use the Android Google Maps App to cache maps offine - it is limited to 5 areas of interest and zoom levels. OSM would be a better solution. Nokia Maps downloads entire countries. –  Mapperz Jan 20 '13 at 2:17
    
Can I use the android offline maps for any web application? –  Shadin Jan 21 '13 at 5:05
add comment

2 Answers

Google will sell you a map server appliance for local use, but I am reliably informed it is expensive.

A better alternative is open street map. A local install on an Ubuntu box with apache and mapnik is easy and cheap.

share|improve this answer
    
but mapnik doesnt have OSM data loaded. –  Krystian Jan 19 '13 at 13:52
1  
@Krystian: the openstreetmap site uses mapnik. updated links to show this. –  BradHards Jan 19 '13 at 23:32
    
do I have to use mapnik even I use GeoServer? –  Shadin Jan 20 '13 at 4:49
2  
Something has to generate the maps (rendering tiles from the OSM vector data). That something is (usually) mapnik. You can choose to load the maps into geoserver, but its usually better to use apache and mod_tile for the maps, and to just use geoserver for your vector overlay data. –  BradHards Jan 20 '13 at 5:18
    
Ok, just one more question plz, which one of options is the best for my case? switch2osm.org/serving-tiles –  Shadin Jan 20 '13 at 6:28
show 10 more comments

if you want do develope application without Internet connection I suggest you to use geoserver. You can share geographic data trought it and openlayers works great with it too! but the most disadvantage of it is that you have to care about geographic data by your own.

share|improve this answer
    
I already use geoserver to display my data over the base map. but the base map itself is google map so I'm looking for something would work offline instead of it. –  Shadin Jan 19 '13 at 16:11
    
as I wrote before you have gain basemap by your own in raster format. The answer depends on how big your area data is? There are many sites where you can download vector geographic data for free and then serve its by WMS or other raster service. This is solution to your problem - you can use basemap from some server (for ex. via Google API) or load data to your local server and share it via network without having Internet connection. There is no other posibility. –  Krystian Jan 19 '13 at 16:25
    
ok, so how can I load a base map on my local server without internet? from what I understand this is impossible with Google API. –  Shadin Jan 19 '13 at 16:32
1  
change google api to other framework (for ex. openlayers openlayers.org) then you have to have your data in raster format -> connect it to geoserver (via files or by DB) and voila! you may create tiles from your raster and raster pyramids to increase performance. I would suggest you to use REST services other than WMS services to use with your basemap it is much much faster than WMS. :) –  Krystian Jan 19 '13 at 16:37
    
The original poster said he uses openlayers already. –  BradHards Jan 19 '13 at 23:32
show 3 more comments

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.