Select to view content in your preferred language

Questions about mobile cache, normal tables and basemaps

1135
4
10-23-2013 05:11 AM
JoniNevalainen
Deactivated User
Hi,

we are piloting a data gathering application for Windows Mobile and have encountered a few challenges as we don't have previous experience with the ArcGIS Mobile. In future after the pilot, we would need to implement synchronization with a bigger system this application will be part of.

1) We have geodatabase, which contains some standalone tables that have no geometry. We need to be able to update those tables in the mobile application as well. Currently we are trying to create feature classes for each of these tables, add the data into those and then generate some fake geometry point for each row. Is there any other workaround or is this viable solution?

2) Is there any way to add background maps to the application without ArcServer? As I have understood, we need to publish a service in ArcServer and get background maps from the service. Is there any way to have, for example just a .tiff raster map in the device and use that as a background map in the application? This would make our lives much easier during this pilot phase...

3) Are there any known limitations with mobile cache? We have now created the feature classes for few tables and added fake geometries for those. We were able to generate mobile cache with those, but we saw data only for one table, which had only 3 rows. Another table had 14000 rows, and the data was not in mobile cache. The geometry creation had worked because we can see it in ArcMap using the identify tool.

4) Is mobile cache the only solution to save the data? It would be nice to have all the features and tables in one place and it feels such a hassle because we haven't found a way to save normal tables to cache. We are also investigating a way to have two databases, mobile cache and then another database for normal tables. But it feels like there must be easier way around this?



We are using ArcGIS Desktop 10 and ArcGIS Mobile 10.1.1

Thanks!
0 Kudos
4 Replies
JoniNevalainen
Deactivated User
Ok, we have had some progress with the standalone tables but are still having some issues:

First, I tried to create a dummy point which had same coordinates, for each row. What happened was that when I generated the points for one feature class and created mobile cache, it had features. When I added another feature class to the map, generated the points (same coordinates as previously) and created mobile cache, there was no features anymore in the mobile cache... If I removed the another feature class from the map and created the cache again, it worked.

Next thing, I had one feature class on the map, and then I added another one, for which I generated points with different coordinates than the first feature class had. It worked! The script I use for creating those points generates now randomized points.

Ok, so randomized points are fine because we know which tables contains the dummy geometries. But there is still a problem because there seems to be some kind of a limitation how many rows we can add to each feature class. For example, we have a table which has 14 000 rows, if I add all that data to feature class, generate geometries and create mobile cache, it's empty. I have tested to remove all but first 5 000 rows, and it works. Geometries are fine in ArcMap and all data is shown when I browse that feature class, so it's something that happens in mobile cache creation. Has anyone had similar problems or have any ideas how to start debugging this?
0 Kudos
DavidGolden
Emerging Contributor
Have you had any luck with this work so far? I believe I am working on a project that is very similar to yours. I'm trying to update a mobile cache in ArcGIS mobile that will then be synched with AGOL or server and then postprocessed. I'm attempting to do what you did with a random point to provide me with an editable attribute table. Did you use runtime SDK in order to enable editing an attribute table? I'm very new to ArcGIS mobile and development as a whole, so would greatly appreciate any feedback.
0 Kudos
JoniNevalainen
Deactivated User
Have you had any luck with this work so far? I believe I am working on a project that is very similar to yours. I'm trying to update a mobile cache in ArcGIS mobile that will then be synched with AGOL or server and then postprocessed. I'm attempting to do what you did with a random point to provide me with an editable attribute table. Did you use runtime SDK in order to enable editing an attribute table? I'm very new to ArcGIS mobile and development as a whole, so would greatly appreciate any feedback.


We can edit the mobile cache in the device but we haven't started with the synchronization yet. Have you added Global IDs to your feature classes? They are needed in order to edit the data inside mobile cache.
0 Kudos
selcukcelik
Deactivated User
for your 2. question: try tile cache but you should prepare tpk file and also exract it

 ////set the sourceLocation as the folder of your tiled dataset e.g. C:\tiledDataset
            ////(i.e. the folder that contains the conf.xml file)
            ////, or the fullPath of your tile package file e.g. C:\tilePackage.tpk
            //string sourceLocation = @"<Location of your tiled dataset/tile package>";
            //TileCacheMapLayer tileCacheMapLayer = new TileCacheMapLayer(sourceLocation);
            //tileCacheMapLayer.Open();
            //map1.MapLayers.Add(tileCacheMapLayer);


four your 4.question: as I know, mobile cache is "must" for mobile app to use data on "disconnected environments"

and other questions are also big problem for most of us:)

thanks
0 Kudos