POST
|
Most likely there is problem with CarteGraph because last call on stack you provided says at CarteGraph.Mobile.Core.CoreScreenManager.ShowMap() Also you might want to check if file ESRI.ArcGIS.Mobile.dll exists in the folder where program expects it. Probably the same folder were CarteGraph is.
... View more
04-11-2011
05:24 AM
|
0
|
0
|
206
|
POST
|
I need to mention that I use ArcGIS Mobile 10 (Build 2475).
... View more
04-04-2011
12:53 PM
|
0
|
0
|
138
|
POST
|
I am trying to Sync down a feature layer with subquery in WhereClause ROUTE_ID IN (SELECT ROUTE_ID FROM B) So, my code just does this in SQL terms: SELECT * FROM A WHERE ROUTE_ID IN (SELECT ROUTE_ID FROM B); That gives me InvalidOperationException exception, stack trace is Stack Trace:
at ESRI.ArcGIS.Mobile.MobileServices.FeatureDataReader.InitCursor()
at ESRI.ArcGIS.Mobile.MobileServices.FeatureDataReader.Reset()
at ESRI.ArcGIS.Mobile.MobileServices.FeatureDataReader..ctor(FeatureLayer featureLayer, QueryFilter queryFilter, EditState requestedEditState, Boolean lockedRead, String[] columnNames)
at ESRI.ArcGIS.Mobile.MobileServices.FeatureLayerSyncAgent.GetFidChecksumDictionary(QueryFilter filter)
at ESRI.ArcGIS.Mobile.MobileServices.FeatureLayerSyncAgent.DownloadExtent(BinaryWriter binaryWriter, QueryFilter filter, Boolean markAsCached, FeatureLayerSyncResults results)
at ESRI.ArcGIS.Mobile.MobileServices.FeatureLayerSyncAgent.ProcessDecomposedExtents(String whereClause, Boolean markAsCached, FeatureLayerSyncResults results, IList`1 decomposedExtents)
at ESRI.ArcGIS.Mobile.MobileServices.FeatureLayerSyncAgent.Download(QueryFilter downloadFilter, FeatureLayerSyncResults results)
at ESRI.ArcGIS.Mobile.MobileServices.FeatureLayerSyncAgent.Synchronize() On ArcGIS server I have verbose log enabled and it does show correct number of return rows: MobileSync: Get Feature Count for AMS_KY.M_SIGN_INVENTORY [70 features in 1.607800 seconds: rate (43.5 f/s)].
... View more
04-04-2011
12:51 PM
|
0
|
1
|
883
|
POST
|
What would be the best place to look up changes/fixes/enhancements for new build ?
... View more
04-04-2011
08:14 AM
|
0
|
0
|
218
|
POST
|
I noticed that sometimes it does not redraw screen. When I see that I pan map one screen either way and back, - that forced it to redraw and all cleared points/polygons disappeared. Try to call update or refresh on you map object.
... View more
04-01-2011
08:41 AM
|
0
|
0
|
147
|
POST
|
Resolved that today. Not sure what would be exact set of steps. I believe connection to feature layers in .mxd document had permission issues... Not sure exactly why that error was showing.
... View more
03-28-2011
07:03 AM
|
0
|
0
|
193
|
POST
|
I am trying to setup server for mobile communication. Strange thing is that SyncDown works fine, mobile gets all information it needs and no problem. However, sync up fails. Error message on ArcGIS server is : "Lower level component error: DBMS table not found [SCHEMA_NAME.TABLE_NAME]" Tables are registered and have GlobalID, features are editable on device and get saved. Something is missing in service configuration perhaps ? Could it be related to connection that is used in service ? It connects as owner user for tables that should be updated. Any information would be helpful.
... View more
03-25-2011
02:29 PM
|
0
|
1
|
2634
|
POST
|
I think yes. We have table in system which can be populated by different sources, not just esri. Mobile device reads that data. When data inserted by not esri we just create GlobalID from sequence. When new record inserted new GlobalID is created by framework. I did not try to change it on device.
... View more
03-25-2011
01:57 PM
|
0
|
0
|
200
|
POST
|
As we all know mobile cache is made of 3 files. Two of them seem to be important. MapSchema.bin -- I do not know how exactly this file is made but inside I saw names for each layer name, column name, projection, database access info. MobileCache.db -- This is where all data is stored. There are 3 tables per layer. It is just SQLite file. One thing that I am interested in is the Geometry column. The geometry gets stored as BLOB datatype. Does someone know what is format of that BLOB ? Can I read it without ESRI ? When I export it the geometry blob look like '85BFF309E834D9EF' which does not help me at all. If someone knows more on the structure of those files please share.
... View more
03-21-2011
01:08 PM
|
0
|
0
|
381
|
POST
|
Does your feature layer, the table, has GlobalID column? If not you can create it via ArcCatalog.
... View more
03-21-2011
07:26 AM
|
0
|
0
|
167
|
POST
|
Does anyone know if there are any API to create mobile cache using JavaScript? Possible to create cache in ArcMap using MobileTools, which in turn run python script arcpy.SynchronizeMobileCache_mobile( ... )
-- and --
arcpy.CreateMobileMap_mobile( ... ) Since python is scripting language, then where those calls are implemented ?
... View more
03-17-2011
07:05 AM
|
0
|
0
|
403
|
POST
|
Does anyone know if there are any API to create mobile cache on server using Java or JavaScript? Are there any SDK for that? I know that you can create cache in ArcMap using MobileTools, which in turn run python script arcpy.SynchronizeMobileCache_mobile( ... )
-- and --
arcpy.CreateMobileMap_mobile( ... ) Since python is scripting language, then where those calls are implemented ? My idea is to generate mobile cache file on server and send it to device. When device is done, it can send file back to server to sync mobile cache.
... View more
03-17-2011
07:01 AM
|
0
|
0
|
405
|
POST
|
Also, the GlobalID column can be created with python script call to arcpy.AddGlobalIDs_management(layerName)
... View more
03-17-2011
06:01 AM
|
0
|
0
|
682
|
POST
|
For uploading changes I did the following:
foreach(FeatureLayer fl in _cacheData.FeatureLayers)
{
if(!fl.HasEdits)
continue;
flSync = new FeatureLayerSyncAgent( fl, _svrConn );
flSync.SynchronizationDirection = SyncDirection.UploadOnly;
flSync.UploadFilter = new QueryFilter( "MY CONDITION STATEMENT" );
sr = flSync.Synchronize( );
if(sr.Exception != null)
throw new ApplicationException( PrepareErrorMessage( fl ) );
}
... View more
01-07-2011
05:48 AM
|
0
|
0
|
311
|
POST
|
1. Thank you for py scrips, I am going to study them. Idea there is to invoke sdelayer. 2. The CreateFeatureclass_management() is something I tried. However, I was unable to figure out how to make resulting table to look like I want. It always creates Oracle table with 3 default columns. I tried to use template but it appears the template gets ignored or perhaps I do not use it correctly.
... View more
12-15-2010
05:44 AM
|
0
|
0
|
214
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|