|
POST
|
Could you explain the "framework dependencies"? I don't understand. If you're using the Runtime SDK, you have the capabilities at your fingertips. If the service has a createReplica Supported Operation at the bottom of the page, which this services does not, then you can take a runtime geodatabase offline. You can see the PropertyData/PropertyData (MapServer) service doesn't include createReplica: I'm sure there are many public services available which are offline enabled, but that's up to the owner/publisher of the data (in the case of the URL you provided, it looks like the City of Houston, Texas). See Publish hosted feature layers—ArcGIS Online Help | ArcGIS and ArcGIS for Developers - New Layer. To enable your layers for offline use, see Manage hosted feature layers—Allow offline editing or collaboration
... View more
07-24-2019
02:17 PM
|
0
|
0
|
1530
|
|
POST
|
Yes. If there is no license, you will be in Developer Mode (you'll see the watermark). All capabilities are enabled then, but you are not permitted to release an app in Developer Mode. It is for development and testing only. To do offline editing, you will need a Basic license. The free license provided from your developer account is a Lite license and would only allow connected editing against a public service. A Basic License can be enabled by logging in as a Named User of any role other than Viewer. Or you can buy license packs from your local distributor.
... View more
07-24-2019
02:03 PM
|
0
|
0
|
2462
|
|
POST
|
Having spoken with our Apps team, I have a little more insight to share. You should consider registering a Background Task with iOS when you kick off the job. Essentially this tells iOS that if your app is backgrounded while the job is running, you'd like to be able to check in on the job. This also gives the job the opportunity to start a download when the remote work is finished and a download package is available. Next, Runtime will automatically make use of URLSession behind the scenes to handle the download of the job result as a Background Download. This allows iOS to manage the download process and ensure your file makes it to the device even if your app is backgrounded. Note that Background Task, Background Download, and Background Fetch are 3 different things. The JobManager integrates with Background Fetch by implementing a handler for application(_:performFetchWithCompletionHandler:). However, since iOS will modify how often that is called based off the return value (.newData or .noData), this could become non-deterministic. I haven't fully experimented with all this myself yet.
... View more
07-23-2019
08:46 AM
|
2
|
0
|
1567
|
|
POST
|
Hmm. It does surprise me a little, although nuanced differences between Runtime and JS API are to be expected. I would ask the question in their space (https://community.esri.com/discussion/create.jspa?containerType=14&containerID=2128) and reference your comment above. Sorry I can't provide more info!
... View more
07-23-2019
06:29 AM
|
0
|
1
|
3881
|
|
POST
|
You need to enter longitudes that are outside the -180 to 180 range. If your point locations are normalized between -180 and 180 longitude (which they probably will be), add 360 if you're crossing the date line heading east, or subtract 360 if you're crossing the dateline heading west. So, in your example above instead of specifying a line from -157.945774, 21.339723 to 167.726017, 8.719545 (which is a long eastward line), you want to specify a line from -157.945774, 21.339723 to -192.273983 (i.e. 167.726017 - 360), 8.719545 (which is a shorter westward line). Similarly, if your direction of travel were reversed you'd have a line from 167.726017, 8.719545 to 202.054226, 21.339723. Does that help?
... View more
07-22-2019
08:29 PM
|
0
|
3
|
3881
|
|
POST
|
Yes. The job is really independent of the Runtime and will run on the server regardless of the client app state. Runtime connects to the job when it can and updates itself on the job's status, downloading the result of the job if appropriate. Check out the JobManager class provided in the iOS Runtime SDK's Toolkit which helps manage jobs when your app is backgrounded and foregrounded. You register a job with the job manager, and then call this method when your app is returned to the foreground to reconnect to any jobs.
... View more
07-22-2019
04:34 AM
|
1
|
0
|
1567
|
|
POST
|
I think that's the best response I've seen here Glad to have helped!
... View more
07-19-2019
10:20 AM
|
0
|
0
|
2158
|
|
POST
|
I've found out a little more from the team. When you take a .geodatabase offline with a target extent, any edits outside of it are considered invalid. It sounds like what you're seeing isn't covered by the above rule, so I'd be interested to see what your replica's target extent and the service's full extent are. It would also be helpful to understand what the edited geometry is when this is triggered.
... View more
07-19-2019
08:11 AM
|
0
|
1
|
1457
|
|
POST
|
I think it's because you're setting returnPopupsOnly to true in your identify call. If you don't have popups defined on your layers, this would mean you'd get no results back. See ArcGIS Runtime SDK for iOS: AGSGeoView Class Reference If set to YES, only layers with popups will be retured. If the layer does not have popups an error will be returned. If set to NO, all layers (with or without popups) will be retured.
... View more
07-18-2019
11:27 AM
|
3
|
0
|
2158
|
|
POST
|
If you're not getting an error when you're writing the feature, then it's very likely the projection. I forget what Runtime does about automatically projecting but for performance we might not be doing that when writing to a local geodatabase. In general it's recommended not to make the Runtime project on the fly (each feature that is displayed from the local geodatabase must be projected to display on the map), so you might try specifying the spatialReference when you set up your GenerateGeodatabaseParameters. Note that when you read features from a service, it's the server that will be doing the projection so Runtime won't experience a hit in that case. A simple test would be to use GeometryEngine.project() to get a version of the geometry projected to the spatial reference of the geodatabase table and write that then see if that passes your test when you re-run. I'm certainly not aware of any issues with the sketch editor.
... View more
07-18-2019
07:37 AM
|
0
|
2
|
2462
|
|
POST
|
Thanks. The reason I suggested checking the spatial indexes is because you initially said you were only having trouble when selecting by point rather than by polygon. I've seen spatial queries using a point cause issues with outdated indexes (albeit a long time ago) when compared with the same query using an envelope/polygon. But it seems more complicated than that. What you could do is inspect the REST call made by the ArcGIS Online Map Viewer, and inspect the call made by the AGSServiceFeatureTable.query() and compare them. To see the Runtime call, set AGSRequestConfiguration.global().debugLogRequests to true (you could also set debugLogResponses), and you'll see output in the console. It would be interesting to see if the slowness is in the reply from the query(), or in the visual update from the selectFeature() call. Or are you calling selectFeaturesWithQuery()?
... View more
07-17-2019
02:04 PM
|
0
|
1
|
2323
|
|
POST
|
Sorry for the delay in getting back to you, Michael Davis. Did you manage to resolve this?
... View more
07-17-2019
01:51 PM
|
0
|
3
|
1457
|
|
POST
|
Ok, let's back up a bit then. There's some new information there. What's confusing is that it is faster with a polygon geometry on the AGSQueryParameters than with a point. But then with both the Map Viewer and with Collector, it's fast. Could you share the layer with me over DM? I'd like to try to repro this.
... View more
07-16-2019
06:16 PM
|
0
|
0
|
2323
|
|
POST
|
It's a bit of a long shot, but I wonder if your spatial indexes need updating on the backing datastore? I would expect both point and rectangle to perform about the same, at least on the timescales you're talking about. One suggestion would be to connect to the backing dataset in Pro or ArcMap and see if you see similarly poor performance.
... View more
07-15-2019
04:47 PM
|
0
|
2
|
2323
|
|
POST
|
Is this when querying against a hosted polygon feature layer in ArcGIS Online or some polygon layer in Enterprise?
... View more
07-15-2019
03:27 PM
|
0
|
4
|
2323
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 05-14-2026 07:07 AM | |
| 2 | 04-30-2026 10:59 AM | |
| 4 | 04-22-2026 08:07 AM | |
| 1 | 01-29-2026 09:39 AM | |
| 1 | 12-17-2025 10:12 AM |