Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Hot answers tagged

13

I did an offline map using the ESRI Android SDK and a custom tile layer. I used an ArcGIS server to generate a tile based map cache, then inserted those tiles into a SQLite database and query them based on row and column from there. It works great and if you need custom maps end to end, it is a very usable method. package com.main.utilinspect; import java....


10

There are two places where python plugins can be found: in the applications path (C:\OSGEO4W\apps\qgis\python\plugins or C:\Programs\QGIS Brighton\apps\qgis\python\plugins) In you user directory C:\users\username\.qgis2\python\plugins The first place is only for core plugins like fTools and GdalTools, while the contributed go into the second one. The ...


8

EDIT as 2019-06-18: HRO (High Resolution Orthoimagery) is no longer available on https://viewer.nationalmap.gov/basic/. Instead, visit https://earthexplorer.usgs.gov/. You'll need an account (free to register) to download the TIF files. The team of OpenMapTiles.org project works on a downloadable global satellite / aerial layer which is ready to be used ...


7

Checkout the utility functions in the esri.geometry namespace. You can do areas and lengths client side with functions from there. You can also do point-in-polygon client side with polygon.contains (also see extent.contains).


6

My favorite app for doing these kinds of things is Locus map free. It can import KML file amongst many other formats, and can work completely offline. If you need a base map, you can either download it within the app (for a fee) or add your own data either in mbtiles, or one of the other myriad formats that it supports.


5

I would suggest using QGIS for Android (or if you have a Windows tablet you have use the default desktop app). You can load any type of raster or vector data as a basemap It can work offline with GPS It has a point capture tool within the GPS Info. panel This last criteria most likely you will have to develop since this type of control is specialized. ...


5

With my (limited) experience in GIS, I can't recommend you to start such a big task while having very limited amount of time. This might provoke bad solutions and underestimates the amount of small problems with integrating different FLOSS solutions. After this warning I will try to answer: First thing is that you shall not store a whole planet dataset on ...


5

With OpenLayers 2 you can load .osm files using OpenLayers.Format.OSM, see the OpenLayers osm file example in the OSM wiki. Keep in mind that this approach will be rather limited compared to a tile server and will work only for small files. With OpenLayers 3 you can achieve something similar according to this similar question on StackOverflow by using ol....


4

I'd suggest starting with something that has good support for various formats, is open source (so you have flexibility to fix the one thing that isn't exposed in the SDK that you end up "really needing") and provides you some basic UI (to at least get started). A candidate: QMap. Build on QGIS, python customisation. Check Nathan's blog for more suggestions (...


4

To create a feature layer, you need access to the layer's REST endpoint. This can be on the web, or on your localhost - see The Services Directory and the REST API. See the Feature Layer help page to get started with creating a feature layer using the ArcGIS Server JS API - the URL you use can point to your local machine.


3

As far as I know Google licence does not accept their tiles to be stored locally (See section 10.1.1(a) of the Terms of Service). Openstreetmap allows it, but you get blocked if you bulk download too much tiles. But you are free to download their source data and render the tiles yourself. Openstreetmap data is also distributed by Mapquest, Cloudemade and ...


3

Yes it is possible to do this, and it's a great way to share browsable maps via DVD or USB stick offline. The major drawback is of course each client needs a complete set of tile data (probably running into a few thousand files and several gigabytes depending on the zoom level/area of the map). You need to render the tiles (or copy them off an existing ...


3

Here's the answer we chatted about. OpenLayers + IIS (that you are running locally or on LAN) + Image as your base map. And you can have different base maps at different zoom levels (all of them can be images) and that's answered in this question: Switching baselayers as user zooms in to map in OpenLayers?


3

Would suggest Maps on a Stick http://developmentseed.org/blog/2010/oct/02/maps-stick-version-2-released/ No more complex deployment process. Users can easily copy single-file SQLite tilesets to Maps on a Stick for viewing. Adding online KML is as simple as inputting the address of the KML file and clicking ‘Add.’ Uploading KML consists of ...


3

Yes, the ArcGIS API for Javascript (which I assume you are referring to) can be downloaded and hosted locally. See https://developers.arcgis.com/javascript/jshelp/intro_accessapi.html The API download includes an install.html file with detailed instructions.


3

One important thing is to add indices to the data, you can do that in the QGIS DB Manager: Then there's another issue: The contours are so detailed and big that the spatial index barely helps and labeling takes a long time. I simplified the lines with a 5 meter tolerance (SAGA Line simplification tool) and then split the lines into smaller pieces (GRASS v....


3

If anyone is still looking for an answer to this problem I made a little tool to get the shortest path using dijkstra algorithm in OL3 here first you create the network based on the feature collection you have : var network = createNetwork(yourFeatureCollection); then you get the shortest path as a geometry of the path : var shortestPath = ...


3

You can for example use Tilemill and Mbutil to create offline tiles: https://www.mapbox.com/tilemill/ (There is already a successor of it called Mapbox Studio but this software still seems to have problems creating offline tiles with mbutils). https://github.com/mapbox/mbutil In the OpenStreetMap-Wiki there is also a example of how to use offline tiles: ...


3

The domains for the URL are a, b, c or d, but it seems you're substituting them incorrectly in the URL. You can use: https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/13/4505/2407.png being {s} any of (a,b,c,d), for example: https://cartodb-basemaps-b.global.ssl.fastly.net/light_all/13/4505/2407.png


3

There is a work around for this which involves opening the project .qgs file in a text editor, such as WordPad, removing the reference to the offline editing plugin, saving it and then carrying out a couple more steps in the opened project... Close QGIS. Use file explorer to find the project file you want to repair (with the extension .qgs) Right click on ...


3

I tested Collector for ArcGIS recently and was able to download my map for offline use on an iPad 3 (iOS 9.3.x) and collect fire hydrant locations. I used it with a Dual GPS receiver. No enterprise DB or constant connection was needed and was able to sync back to ArcGIS online once the iPad was back on a wifi connection. Do be careful which basemap you use ...


3

The ArcGIS Javascript can be downloaded from My Esri. This will also include instructions on how it can be installed on a local server.


2

Try to use NextGIS Mobile SDK. Online/offline mode include editing and autosync with server (NextGIS Web). Raster and vector layers, custom input forms, all types of geometry support. An example application NextGIS Mobile can be found in Google Play store - https://play.google.com/store/apps/details?id=com.nextgis.mobile Sources are here: https://github....


2

Re "You'll need a way to manage your maps locally. For this you'll need a map server ..." No, not at all - other than the web server. We're using the 'URL/{z}/{x}/{y}.png' construct in our free, Open Source Computer-Aided-Dispatch application with a local tileset store (or as a dynamically-selected option, to any OSM repository). Ours is in PHP, and I ...


2

Actually I've just tried the CartoDB native Android version, and it does indeed work offline. I've been able to see previously downloaded maps, from the Package Manager activity. Now I'm investigating on how to use it to build my own mobile app. Based on the CartoDB library.


2

Short answer, no. It requires many many assets from the web.


2

If you use ArcGIS, you could try CarryMap. It is a software tool to export a map from ArcGIS to a mobile device. It supports multiple raster layers. Although you cannot alter the transparency of layers on the mobile device, their transparency is preserved. So if the corresponding ArcGIS raster layers had a transparency setting, the raster is shown with ...


2

check out this app from giscloud http://www.giscloud.com/apps/mobile-data-collection it has offline data capture capability and you can have custom Forms and Dropdowns & Lists. it works on android and ios. i don't know about your demand about the conditional dropdowns.. but its worth a check


2

The Collector for ArcGIS supports maps with multiple tiled layers. It currently doesn't have offline maps but that will be supported in an update being released this month.


2

For the satellite tiles, you could render them yourself using Mapnik. Landsat and NAIP are two sources of free satellite raster data. edit: I've also just come across a growing dataset (also free) of High Resolution Orthoimagery, which I've never used, but is much higher detail than the other two sources.


Only top voted, non community-wiki answers of a minimum length are eligible