|
POST
|
I have an app with Arcgis android sdk version 100.5.0, it is working fine with Java 8, but need to use Java 6 for some dependencies. May I know the compatibility of Java 6 with version 100.5.0. It gives me this error though, [ with java 6 ] Error:com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26) I need to keep the minSDK to 19 only, no scope to upgrade to 26 currently.
... View more
07-26-2019
12:45 AM
|
0
|
3
|
1270
|
|
POST
|
Hi Nick/Mark, I am using createReplica to download the geodatabases of the feature layers instead of Native APIs due to framework dependencies. I see that the following url provides free feature layers, but I am not able to generate geodatabase out of it https://cohegis.houstontx.gov/cohgis/rest/services/ are there sync-enabled public feature layer URLs available ?
... View more
07-24-2019
12:07 PM
|
0
|
1
|
989
|
|
POST
|
When I checked the exception, exception was: you are not allowed to perform this operation with your licence. I had placed one developer licence key to remove watermark, removed the licences, editing started working, strange ! Thanks
... View more
07-24-2019
11:46 AM
|
0
|
1
|
1689
|
|
POST
|
So I am using the "createReplica" api to create the geodatabase for my feature layer I pass all the parameters required. If I use this api for the public feature layers, It gives me the whole JSON of the mapserver, Also I need to confirm how will I know the geometry type dynamically of any layer I am downloading geodatabase for. I tried following: URL: [POST] https://cohegis.houstontx.gov/cohgis/rest/services/IT/cohgis_feature_services_wm/MapServer/29/createReplica parameters: geometry, geometryType, inSR, layers, replicaName, transportType, async, syncModel, dataFormat Am I sending invalid replica definition, or the feature layer I am using has no capability, or I should use something else to download geodatabse using rest apis. [ Definitely not Native SDK ] Thanks
... View more
07-24-2019
07:42 AM
|
0
|
0
|
589
|
|
POST
|
Hi Nicholas, I need some inputs here, have been trying this whole day, no success I have geodatabase loaded on the map, I am trying to add a new geometry [ I am drawing geometry using sketch editor ]. Geometry gets drawn on the web, but doesn't persist in the geodatabase. It does not show the new feature if I reload the geodatabase. Here s my simple code.. Geometry sketchGeometry = mSketchEditor.getGeometry(); // get the drawn geometry Feature feature = mGeodbFeatureTable.createFeature(attributes, sketchGeometry); // create feature if(mGeodbFeatureTable.canAdd()){ final ListenableFuture<Void> addFeatureFuture = mGeodbFeatureTable.addFeatureAsync(feature); // add feature async addFeatureFuture.addDoneListener(()->{ try { addFeatureFuture.get(); } catch (InterruptedException e) { e.printStackTrace(); } catch (ExecutionException e) { e.printStackTrace(); } }); } Would it be because of spatial reference ! Geodb being in different SR than that of my drawn geometry. I saw few documentations , did not help, android runtime 100.5 what I am using does not have samples for offline-edits , but shows me this, Missing source code file
Edit features—ArcGIS Runtime SDK for Android | ArcGIS for Developers Earlier, I had achieved editing the geometry without drawing using sketch editor, is sketch editor unstable ! then what is the alternative to draw polygon, circle, triangle etc! Any inputs/ samples would be helpful.
... View more
07-17-2019
01:41 PM
|
0
|
3
|
1689
|
|
POST
|
Thanks Mark, it helps. Also, let me set the context, I am using REST APIs to download tiles here.. I see this message very frequently that maximum tiles that I can download is set to 150000. How do I increase it because I need to set the levels to the max to show roads, how do I do this. I see options to set exportBy in the URL to resolution and scales , but these always give me error of value required.
... View more
07-15-2019
10:59 AM
|
0
|
3
|
989
|
|
POST
|
Is there any detailed documentation to understand the parameters that we use for exporting tiles in tpk / vtpk format. https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer/exportTiles?tilePackage=true& exportExtent=-13051380,4030276,-13037288,4041136&optimizeTilesForSize=true&compressionQuality=60&exportBy=levelId&levels=13-19&areaOfInterest=&f=json Mainly, I need to get understanding of coordinate system that is used in for exportTiles parameter, how do I get these x and y values, I tried with lat/long it did not give me results. Also, the above given url exports tpk, are there vector basemaps available that are exportable ,so that I use vtpk.
... View more
07-13-2019
07:41 AM
|
0
|
0
|
4931
|
|
POST
|
I need to load my secured feature layer, generate geodatabase without showing user the login dialog. I generate access token using client id and secret, append to my feature layer for geodatabse job, but it fails and gives me this error: Status url is missing from generate geodatabase response. I read few articles / discussions regarding app login , where I store client_id and client_secret in the app but people are not able to achieve this and have declared app login is available only for public services. Need to know a better way to achieve this.
... View more
07-09-2019
07:44 AM
|
0
|
1
|
644
|
|
POST
|
Thanks ! It helps... Would one client_id / client_secret pair suffice for any 'n' number of app installations !
... View more
07-09-2019
06:44 AM
|
0
|
1
|
4931
|
|
POST
|
Thanks ! I missed the point mentioning I need free basemaps, as I read, looks like these tiled base maps aren't free, it needs an ArcGIS online named user credentials, which is, unfortunately, not going to work in my case, sorry that I forgot to mention about this. What I need is free basemaps that are offline capable, which I can show to users directly in form of tiles or any other possible way ! Are there any configuration to provide offline-capable free basemaps ! one more observation though, https://sampleserver6.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer this url is free and export tiles enable, but it is not available for all types of basemaps !
... View more
07-03-2019
06:51 AM
|
0
|
3
|
4931
|
|
POST
|
Requirement: I need to provide basemaps in offline mode, I should be able to download basemap's tiles in mobile device and use it when no connectivity. My scenarios: 1. I create the feature with ESRI's default basemap, I use the OfflineMapTask on mobile, I am not able to download .vtpk file. 2. I create my custom base layer on developers portal, create feature with it, when I use the OfflineMapTask on mobile I am able to download .vtpk file Observation in Arcgis online layer settings page: 1. Default basemap's setting page is different from that of custom basemap. Setting page for custom basemap shows me tile's datasource, for default basemap it gives me option to build tiles !! Another observation with using rest api [../exportTiles?tilePackage=true&exportExtent=-13051380,4030276,-13037288,4041136&optimizeTilesForSize=true&compressionQuality=60&exportBy=levelId&levels=13-19&areaOfInterest=&f=json ] 1. With default basemap it doesn't give me the jobid and it says {"error":{"code":400,"message":"Exporting tiles is not allowed.","details":[]}} 2. With custom basemap it give me the jobid Question: ESRI's default basemaps are not capable of downloading the tiles? or it requires any configuration !
... View more
06-30-2019
11:52 PM
|
0
|
14
|
6932
|
|
POST
|
yes, I have seen the JavaScript APIs, but my motive to opt native SDK is to perform offline operations which is not supported in JavaScript APIs. I have to use Native SDK itself, but not sure of cordova integration be seamless.
... View more
06-24-2019
09:30 AM
|
0
|
0
|
966
|
|
POST
|
I have a cordova application that needs the GIS capability. I choose native run time SDK to go ahead, I am facing issue with integrating the .NET sdk with my cordova app, is it even possible ! Any suggestion would be helpful. Thanks
... View more
06-24-2019
06:34 AM
|
0
|
2
|
1098
|
|
POST
|
I am able to load my vector tile layer successfully on to my map this way , String vectorTileCachePath = getVectorFilePath();
ArcGISVectorTiledLayer localVectorTiledLayer = new ArcGISVectorTiledLayer(vectorTileCachePath)
final ArcGISMap map = new ArcGISMap(new Basemap(localVectorTiledLayer));
mMapView.setMap(map); I have one query though, I could download the vtpk as part of offlineJob earlier , I am not able to generate this vector file anymore using any of my new features as well, not sure what I am missing.
... View more
06-11-2019
05:55 AM
|
0
|
0
|
1021
|
|
POST
|
This sample does not have editing the existing geometries through sketch editor. Is sketch editor capable of doing it ! or we will have to use PolygonBuilder/PolylineBuilder instead sketch editor !
... View more
06-09-2019
11:27 PM
|
0
|
0
|
795
|
| Online Status |
Offline
|
| Date Last Visited |
07-22-2021
03:41 AM
|