I have created map using QGIS software and trying to display data-set records on that map. Also developed android application where user want to see that map. But I am stuck in how to show this QGIS map on android application.

I am working on crime profiling and showing on map to user phone.


You can use Opensourse JavaScript libraries like leaflet or Openlayers to create a web appilication using the maps created using QGIS with the help of GeoServer and load it into a webview in your android application. If you have only static data then you can use qgis2leaf plugin in QGIS to create a web map and load it to a webview

| improve this answer | |
  • Sir, Showing map is initial task. I have to check user current location on map with crime data and If it is in crime affected zone then have to generate message accordingly. As per your suggestion with webview I can not able to process anything on that like i mention above. – gaurav Mar 4 '16 at 10:28
  • you can use the GeoJSON created by the qgis2leaf plugin or you can request it from GeoServer for this purpose. Compare user location(lat-long) with the one in the GeoJSON, and generate message accordingly – KcYoosuf Mar 4 '16 at 10:37

By far the simplest way is to save the map as a PDF and then view the PDF in Android using any PDF viewer.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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