POST
|
I am running the OAuth2Sample app from the arcgis-runtime-samples-android projects. In the code it looks for a credentials file: if (fileExists(mCredentialsFileName)) { How do I create a credentials file? I believe I have all the data for it (username, client id, portal url, password, license key).
... View more
10-29-2015
10:14 AM
|
0
|
1
|
1921
|
POST
|
I am running the OAuth2Sample app from the arcgis-runtime-samples-android projects. In the code it looks for a credentials file: if (fileExists(mCredentialsFileName)) { How do I create a credentials file? I believe I have all the data for it (username, client id, portal url, password, license key). arcgis-android
... View more
10-28-2015
12:27 PM
|
0
|
0
|
1579
|
POST
|
Is there an example for Android comparable to this .net example?
... View more
10-28-2015
07:22 AM
|
0
|
1
|
1374
|
POST
|
I've tried 2 ways: 1. Add Item > Add Application Type: Mobile Purpose: Ready To Use SDK: Android URL: ? I don't know what to put for this. It is an Android app on my computer. It does not have a url. 2. Add Item > From My computer For File, I click Choose File and select the apk file of the app I get the error: This file type is not supported. If not apk, then what?
... View more
10-13-2015
08:46 AM
|
0
|
0
|
1608
|
POST
|
It seems that it is best to use base maps created by esri (or google, or bing). Using the service at this url: http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer I can get a base map like so: mDynamicServiceLayer = new ArcGISDynamicMapServiceLayer(getResources().getString(R.string.world_street_map_url)); mMapView.addLayer(mDynamicServiceLayer); So then the task is to have the base map saved to the device so it can be accessed off-line. How is this done?
... View more
10-08-2015
09:01 AM
|
0
|
1
|
691
|
POST
|
It is our data, we have an ArcGISServer, so no copyright issues. For a MapView, the layers can be a FeatureLayer, RasterLayer, KMLLayer, TiledLayer, DynamicLayer or GraphicsLayer. Can an mxd be converted to one of these?
... View more
10-06-2015
09:19 AM
|
0
|
3
|
692
|
POST
|
Thanks for your reply, Rebecca. Perhaps you can steer me in the right direction. I have access to several RESTful services which provide layers of data. These would lay on top of an actual map. The map itself would be too large (ie take too long) to get over an internet connection and so I want the map to be on the device. For this map, what would be the best form for it to have on the device, such that it and the RESTful layers could be added to a MapView?
... View more
10-06-2015
08:34 AM
|
0
|
5
|
692
|
POST
|
I have Android/Java code that adds layer to a MapView, calling a RESTful service, like so: mDynamicServiceLayer = new ArcGISDynamicMapServiceLayer(getResources().getString(R.string.some_url)); mMapView.addLayer(mDynamicServiceLayer); This works fine. I want to also add a layer that is an mxd file on the device <string name="mxd_file">file://storage/emulated/0/Download/mymap.mxd</string> mDynamicServiceLayer = new ArcGISDynamicMapServiceLayer(getResources().getString(R.string.mxd_file)); mMapView.addLayer(mDynamicServiceLayer); This throws the exception: java.lang.IllegalStateException: Scheme 'file' not registered. I also tried: ArcGISLocalTiledLayer layer = new ArcGISLocalTiledLayer(getResources().getString(R.string.mxd_file)); mMapView.addLayer(layer); which gives this error: Failed to ensure directory: /storage/extSdCard/Android/data/arcgis_mmd_maplegends/cache How do I do this?
... View more
10-06-2015
08:16 AM
|
0
|
7
|
4878
|
POST
|
>> My real question is why do you need to do this via code 1. Because I’m a software developer, not a GIS person ☺ 2. There are thousands of lat/lon <=> PLSS data points Thanks for your reply, again. I’ll start again on this tomorrow.
... View more
01-22-2015
03:25 PM
|
0
|
1
|
1431
|
POST
|
Thanks for the reply. FYI, I'm totally new to GIS programming, but not to Python So I have a lat/lon (Decimal in Python) ... how to I get these into "mappable form"?
... View more
01-22-2015
01:25 PM
|
0
|
3
|
1431
|
POST
|
We have data in a SQL database that has many records, each with a lat/lon and PLSS (Township, Range, Section). This data was entered by hand and so it is possible that there are errors such that the lat/lon may not lie within the Township/Range/Section. A user could have typed a wrong lat/long or Township/Range/Section. So I'm writing a python script to check that the lat/lon in a given record does indeed lie within the corresponding Township/Range/Section. I have written code to get the lat/lon and Township/Range/Section from the database and put this data into dictionaries. Now I need to test that the lat/lon lies within the Township/Range/Section. Can I use arcpy to do this? If so, can you give some direction?
... View more
01-22-2015
12:32 PM
|
0
|
5
|
7489
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|