|
POST
|
As the documentation indicates, as long as you avoid the non-supported symbols and effects it should be good. We are targeting to support exporting vector tile packages and resources (custom styles) in next ArcGIS Runtime release. The Update 2 release should be out in December with the typical small print that this is subject to change etc. For offline use, you can export a .vtpk file (vector tile cache) that contains the tiles and the default style (which is stored in the service) and then you can export item resource cache (style information that is stored in the portal item = read : custom styles). This can be done separately so the extra styles are not baked into the .vtpk file (but the default style is) ExportVector Tiles operation is not currently available on ArcGIS Portal that Desktop tools can use. If you use ArcGIS Portal hosted vector tile service, you can only use them as an online layers.
... View more
10-03-2017
02:50 AM
|
0
|
0
|
3324
|
|
POST
|
As Morten mentioned, at the moment you can only use one style per vtpk since the styles are baked into the .vtpks directly. We are currently working to support for exporting .vtpk-files from the exportTiles enabled hosted Vector Tile Services with custom styles that are exposed through ArcGIS Portal (as a Vector Tile Layer). When this functionality is released, you can publish a single vector tile service and then point multiple Vector Tile Layers to it that exposes the custom parts and then you can export one or more .vtpk files with a default style (packaged to the vtpk file) and n*custom styles for it. Meanwhile, here are some resources that should give you better understanding how to work with the Vector Tiles Author a map for vector tile creation—ArcGIS Pro | ArcGIS Desktop Create Vector Tile Package—Data Management toolbox | ArcGIS Desktop Update vector tile layer style—ArcGIS Online Help | ArcGIS https://arcgis-content.maps.arcgis.com/apps/Cascade/index.html?appid=d0e213513a074d60aee9ed908bc53c91 Vector Tiles Part 2 - Styling — Esri UK
... View more
10-02-2017
04:10 AM
|
0
|
1
|
3324
|
|
POST
|
Actually, it isn't public at the moment but it's the backbone for MobileMapPackages.
... View more
09-14-2017
06:55 AM
|
0
|
0
|
2418
|
|
POST
|
Yeah, if you want to persist a map that is using stuff that the webmap is not supporting, you have to have custom serialization for it. Offline maps that we support (through OffineMapTask and MobileMapPackage) is based on extended webmap specification (mobile map specification) but it doesn't support all possible properties either since the workflows to use them are heavily based on the WebGIS model. We have a feature item for supporting full offline map serialization but that isn't at the moment being worked with. I will link this issue to the feature requests as well.
... View more
09-14-2017
06:47 AM
|
0
|
2
|
2418
|
|
POST
|
Hi Jens, Actually, ToJson only serializes values that are supported by the WebMap specification so there are a lot of properties that aren't supported by this. This also means that none of the local layers aren't supported by this serialization. Could you describe what you are using it for?
... View more
09-14-2017
06:03 AM
|
1
|
5
|
2418
|
|
POST
|
There shouldn't be any locks for the tpks files. Could you describe the use case more in detail? Are you using the file in a map at the same time? Have you removed all the references to it's usage? Are you just deleting the file?
... View more
09-14-2017
01:03 AM
|
0
|
0
|
646
|
|
POST
|
Yep, OfflineMapTask is mainly used to take the stuff offline, then it's up to the developer to add rest of the functionality. Note that there is also OfflineMapSyncTask that could help to do the synchronization related functionality. We are having a look if we can add functionality there to handle the unregister case as well. OfflineMapTask basically creates an exploded mobile map package to the target folder which contains all the geodatabases as well. Technically these are just normal files in the device so you can choose to work with them directly if you like. There are 2 relatively easy ways to get them 1) Loop through your FeatureLayers and their GeodatabaseFeatureTables which contains reference to the Geodatabase which has path to the file 2) find all .geodatabase files from the p13 folder (it contains all the packages that we export from the services) that is located in the offline map folder
... View more
09-05-2017
09:41 AM
|
3
|
1
|
1483
|
|
POST
|
Hi, At the moment you have to use GeodatabaseSyncTask.UnregisterGeodatabaseAsync Method to manually unregister the geodatabases and make sure that you call Geodatabase.Close Method to release geodatabases so they can be deleted without any issues. Make also sure that you don't actually use offline mobile map / map package before you try to delete it. We are investigating ways to make this workflow a bit easier for the users so I'm happy to hear your experiences / thoughts related to the workflow and how hard it is to do.
... View more
09-05-2017
02:01 AM
|
1
|
1
|
1483
|
|
POST
|
Hi, Geometries are immutable by nature so you if your workflow is to copy the geometry and then doing edits into it, you should use GeometryBuilders such as MapPointBuilder Class. These behaves similarly to StringBuilder and when you have done with the edits just call GeometryBuilder(T).ToGeometry Method method to get the final geometry out. Hope that helps.
... View more
08-22-2017
03:23 AM
|
1
|
1
|
1308
|
|
POST
|
Have a look into https://community.esri.com/message/700103-re-downloading-map-from-portal-for-offline-use?commentID=700103#comment-700103 Note that you have to use AuthenticationManager to hook the authentication and providing credentials directly won't work. We do this because there might be multiple domains involved in the task so we cannot send one set of credentials around. It shows how to hook the progress indication as well.
... View more
08-22-2017
12:56 AM
|
1
|
0
|
852
|
|
POST
|
Joe Hershman yes, I highly believe so. I haven't seen situation yet where creating a replica will end up in a situation where it doesn't have the GDB_ServiceItems table in it. This is actually what happens when you try to create a geodatabase from ArcMap when the layers are pointing into a FeatureService and that is the reason why we don't get any tables out from the Geodatabase instance which seems to be loaded correctly. If you can let me know more details so I can start pinging people about this. It's not very good if creating replica fails this manner every now and then and there is no way to know if the replica is corrupted or not. Could you let me know following stuff (at least) - Server version - Server OS - Runtime API version - Server logs related to the generation - Access to the service or way to generate the service - Short summary of the use case
... View more
08-17-2017
01:19 AM
|
0
|
1
|
1005
|
|
POST
|
Hi, Hopefully this helps. Taking layers offline using ArcGIS Runtime - ExportTileCacheTask Class is used to generate a TPK file from a service that supports export operation - GeodatabaseSyncTask Class is used to generate a geodatabase file from a service that has sync enabled Taking a map offline using ArcGIS Runtime - OfflineMapTask Class is used to generate a mobile map package based on a webmap which is using services that support operations mentioned above. Feature collections are set of features that are stored directly in webmaps or they live in a JSON format in an ArcGIS Portal item. Creating layers for offline use with ArcMap - ArcMap seems to work only with local content which means that if you create the geodatabase based on the feature service, it won't at the moment return any layers in it. The documentation indicates that this shouldn't work but I would assume that loading the geodatabase should fail instead it returning zero tables. I have raised a question to see if this is an area that we can do something. What comes to the TPK creation, the data also needs to be local (non-service based). - If you want to use ArcMap to create the geodatabase, you first need to create a local copy from the data. This can be done by many different ways but one example is to use Feature Class To Geodatabase—Help | ArcGIS for Desktop tool. - Note that it will copy only the data so you need to set the renderer / other needed information to the layers. You can, for example, create Layer Packages from the Feature Service layers and then apply them to the layers in your MXD by using Apply Symbology From Layer—Help | ArcGIS for Desktop - If you create the geodatabase from the new map with full extent, it should work without problems. Here is a picture from the linked service running in Runtime with a local geodatabase which was created with 10.5 ArcMap. Please note that the service is in WGS84 projection so if you want to use our basemaps with the data, you need to project the local data first to the Web Mercator projection.
... View more
08-16-2017
06:23 AM
|
0
|
1
|
1005
|
|
POST
|
Hi guys, I just noticed this topic and my take is that what is going on here is following: ArcMap is used to create a .geodatabase file through share as runtime content based on a Feature Service. Fast googling indicates that ArcMap doesn't support generating .geodatabase files based on the feature services and they are only available through services pattern. I don't know if this limitation is in 10.2 but I would assume so (linked documentation is for 10.3) Data from feature services and map services cannot be used. For more information on using services in ArcGIS Runtime SDKs, see Services pattern. Creating ArcGIS Runtime content—Help | ArcGIS for Desktop Did I get the issue correctly? Also, note that the used service doesn't actually support sync which is used to create the replica when using `GeodatabaseSyncTask`.
... View more
08-15-2017
10:48 AM
|
0
|
0
|
2782
|
|
POST
|
If I understood correctly you would like to use the initial extent of the webmap as an offline area that you generate? Have a look to https://community.esri.com/thread/198068-downloading-map-from-portal-for-offline-use#comment-700103 which takes the portal items extent and uses that as an area of interest.
... View more
08-11-2017
03:30 AM
|
0
|
1
|
1246
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-12-2014 03:52 AM | |
| 1 | 08-27-2015 03:47 AM | |
| 1 | 12-08-2014 09:58 AM | |
| 1 | 05-05-2015 10:19 AM | |
| 1 | 07-30-2015 08:43 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|