I have a web application where I want to show the car patrolling on the Geo map. Is it possible to integrate QGIS map for web application.
You can export the QGIS map in kml and then load the kml maps in google maps I think this is the simplest way.
For QGIS you can export your layer in KML with right click on the layer, then save as format Keyhole markup language.
For import KML in google maps you can see this google developer sample
https://developers.google.com/maps/documentation/javascript/examples/layer-kml
There are many ways to achieve this. The simplest is to use the plugin qgis2leaf. There are many howtos and videos about it, one of them is Leaflet Web Maps with qgis
EDIT: In answer to a comment, to install qgis2leaf, as here:
Go to menu Plugins ‣ Manage and Install Plugin
Search for "qgis2leaf" (if it is not on list, try to enable Show also experimental plugins on the Settings tab)
Select "qgis2leaf" and then... INSTALL!
Related
I'm having trouble figuring out how do I open a tab of google maps or google maps app on my app within the unity, and can't afford to buy the Asset for facilitating, what do I do? is there any other site or application that I can use and be easier?
You would have to use AndroidJavaClass and AndroidJavaObject API to construct common map intents: https://developer.android.com/guide/components/intents-common.html#Maps
There are plenty examples out there how to use AndroidJavaClass and AndroidJavaObject e.g. how to create a share intent. These are very similar for maps.
Hi I have developed a website using google maps.My map will display the markers based on the kml files data which is on my server.Now I want to change the maps to Arcgis Online .Can I display the same kml files data with the Arcgis online maps ?
My kml files data will be changed accordingly.The total website is depends upon the kml files.
please suggest me whether I can change from google maps to Arcgis online.
Note:I dont have much idea on java and .net so Can I make an attempt to Arcgis online maps
As long as your KML is accessible to the web application user, you can display it using the ArcGIS API for JavaScript. Use the KMLLayer class. Note that this class requires a connection to ArcGIS Online, which converts the KML.
anyone can suggest what program / approach I should use?
I need to have a map like google map where I can display map, add marker polygon etc.
But I cannot rely on such online services as client is afraid that such service die off and there goes our system...
Have a look at lots of resources pointed in answers to these questions on GIS.SE:
GIS for the web
Steps to Start Web Mapping
You might want to look at Google Fusion Tables, or solutions like MapBox or CartoDB for quick, hosted solutions.
Willing to invest more time (and depending on your skills and language preferences) you could delve into PostGIS & GeoServer / Mapserver with a frontend of OpenLayers / Leaflet (or any other libraries). OSGeo-Live DVD might come handy for a quick and dirty review of most of these options.
Here are pure open source based web map and geo-location database resources. Google map or Bing map is wonderful, but they require business contract for commercial use. It is said that Foursquare recently switched their map tool from Google map to open source based Leaflet API which looks like the picture below. This map tools is quite great and recommendable.
web API for map : http://leafletjs.com/
Good place to start. Two resources below are not really used for developers, cause those are already included in leaflet javascript API.
Map style : http://cloudmade.com/
Map data : http://www.openstreetmap.org/
Geo location based on ip address : http://dev.maxmind.com/geoip/geolite
Can download free ip address & city mapping file, which can be used for custom mapping code.
I recommend http://mapserver.org/
You can create map files into you server...and you can connect to open source databases like PostGIS
Is it possible to use my own map instead of google maps for my app. How can I do that...Where should I look?
I think you need Open Street Maps (OSM). I have a little GPS app (Maverick Pro) on my Droid, and it can use 3 types of maps: google, bing, and "OSM". The latter seems to be what you need:
http://wiki.openstreetmap.org/wiki/Main_Page
You would need a few things:
A source for data about your geography, in the US see the TIGER Line data published by the Census Bureau.
Software to render the geo data into maps that are visually meaningful, for example Mapnik. Use something like OpenLayers to generate the
movability and nice user features people expect.
Software to deliver the rendered maps efficiently to your users, ie TileCache.
There is a nice summary of this FOSS approach here: http://m.alistapart.com/articles/takecontrolofyourmaps
You may want to check out MapTiler, an open source map tiling tool for Google Maps (and other mapping systems) which runs on Windows and Mac OS X.
MapTiler will automate the tiling process for you through a simple GUI wizard, and in addition, once the tiling process is finished, it will also generate a simple HTML viewer where you can see the results immediately.
Custom Map Tile Overlays are quite an advanced topic in the Google Maps API (even the documentation will warn you in red about this). However, I am sure you will be able to use and understand the HTML viewer of MapTiler.
PostGIS, Geoserver, GeoWebCache, OpenLayers, + GeoEXT gets you all the software you need.
Data is up to you and some of the examples above are good ideas.
We are trying to make a GUI application in C using GTK that would use google maps api to download a map and find the shortest path between the source and the destination. We have implemented a mini web browser in our application using web toolkit. What is troubling me determining how would our application interact with the google maps api and how to go about running our algorithms(say Djikstra's) on the map the we downloaded.
Any help is appriciated.
You cannot do that with Google Maps as they do not offer a vector api to download.
However, you should look at OSM which provides that. libchamplain should be able to do that for you.