|
POST
|
Extra info if you need see your web app on mobile: http://blogs.esri.com/esri/arcgis/files/2013/03/table.png
... View more
07-02-2013
11:16 AM
|
0
|
0
|
2211
|
|
POST
|
see http://blogs.esri.com/esri/arcgis/2011/04/27/considerations-for-arcgis-server-developers-a-look-toward-10-1/ At 10.1, you can no longer use ArcObjects remotely (via DCOM); this way of interacting with ArcGIS for Server is no longer supported. If you are using GISServerConnection in the Server library or AGSServerConnection in the GISClient library in your code, these need to be removed if you are working with ArcGIS 10.1 for Server.
... View more
07-02-2013
11:08 AM
|
0
|
0
|
617
|
|
POST
|
I have tried and I haven't problem (see attach)[ATTACH=CONFIG]25663[/ATTACH]
... View more
07-02-2013
10:59 AM
|
0
|
0
|
1120
|
|
POST
|
Code kind:
IMapServerInit mapServerInit = this.mapServer as IMapServerInit;
string pathOutputAGS = (new System.IO.DirectoryInfo(mapServerInit.PhysicalOutputDirectory)).Parent.FullName;
string fileName = System.IO.Path.ChangeExtension(string.Format("_ags_{0}", Guid.NewGuid().ToString()), "gdb");
Type factoryType = Type.GetTypeFromProgID(
"esriDataSourcesGDB.FileGDBWorkspaceFactory");
IWorkspaceFactory workspaceFactory = (IWorkspaceFactory)Activator.CreateInstance
(factoryType);
IWorkspaceName workspaceName = workspaceFactory.Create(pathOutputAGS, fileName, null,
0);
IName name = (IName)workspaceName;
IWorkspace workspace = (IWorkspace)name.Open();
... View more
06-24-2013
11:17 AM
|
0
|
0
|
1871
|
|
POST
|
you can see this sample: http://developers.arcgis.com/en/javascript/samples/map_wraparound/ https://gist.github.com/ajturner/4686451
... View more
06-23-2013
01:38 AM
|
0
|
0
|
616
|
|
POST
|
I am not sure but objectid is necessary for many functions so if you remove it many functions don't run... same for field shape. Before it was possible but there was problems with application adf, js (query ect.). Esri puts it how warning in verify and now I think put it mandatory.
... View more
06-22-2013
03:32 AM
|
0
|
0
|
588
|
|
POST
|
yes I know InMemory is suitable for little dataset but my suggest is for see if you had lock. I normally create file geodatabase with name _ags_{guid} in output so the are deleted from arcgis server.
... View more
06-22-2013
03:10 AM
|
0
|
0
|
1871
|
|
POST
|
Can you give further details for what do you want to do ?
... View more
06-22-2013
03:03 AM
|
0
|
0
|
903
|
|
POST
|
I haven't tried upload file but for shapefile you can use the ArcGIS Portal REST API to generate features from a shapefile (http://www.arcgis.com/apidocs/rest/generate.html). There is a sample here with sl: http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#GenerateFeatures However Esri upload file via rest (see attachments http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/fsaddattachment.html ) use post with a multi-part request as per IETF RFC1867.
... View more
06-22-2013
03:00 AM
|
0
|
0
|
860
|
|
POST
|
Have you installed last service pack? (seeing same problem ... http://forums.arcgis.com/threads/40242-ArcMap-Find-Route-Tool-Error-Consuming-Map-Service-(Cannot-Setup-Routing-Service) )
... View more
06-20-2013
11:44 AM
|
0
|
0
|
763
|
|
POST
|
For bus I think that you also have schedulate time stop in stop bus so you also could use custom evaluator kind this: http://www.arcgis.com/home/item.html?id=72ef24542857413c8981f2e196f1bb13
... View more
06-20-2013
11:36 AM
|
0
|
0
|
2787
|
|
POST
|
I haven't tried your method (perahps you have some reference) but if you want try an alternative method. With InMemory I haven't had problem
/// <summary>
/// create a memory workspace
/// </summary>
/// <returns>memory workspace</returns>
public static IWorkspace CreateInMemoryWorkspace()
{
// Create an in-memory workspace factory.
Type factoryType = Type.GetTypeFromProgID(
"esriDataSourcesGDB.InMemoryWorkspaceFactory");
IWorkspaceFactory workspaceFactory = (IWorkspaceFactory)
Activator.CreateInstance(factoryType);
// Create an in-memory workspace.
IWorkspaceName workspaceName = workspaceFactory.Create(string.Empty, "memoryWorkspace", null, 0);
// Cast for IName and open a reference to the in-memory workspace through the name object. Guid.NewGuid().ToString()
IName name = (IName)workspaceName;
IWorkspace workspace = (IWorkspace)name.Open();
return workspace;
}
... View more
06-14-2013
06:44 AM
|
0
|
0
|
1871
|
|
POST
|
But remember that: In the Single-Threaded Apartment (STA), a single thread is dedicated to execute the methods of the object. In such an arrangement, method calls from threads outside of the apartment are marshalled and automatically queued by the system (via a standard Windows message queue). Thus, the COM run-time provides automatic synchronization to ensure that each method call of an object is always executed to completion before another is invoked. The developer therefore does not need to worry about thread locking or race conditions. In the Multiple Threaded Apartment (MTA), the COM run-time provides no synchronization, and multiple threads are allowed to call COM objects simultaneously. COM objects therefore need to perform their own synchronization to prevent simultaneous access from multiple threads from causing a race condition. Calls to an MTA object from a thread in an STA are also marshaled. and model ArcObjects threading model: http://resources.esri.com/help/9.3/arcgisengine/dotnet/2c2d2655-a208-4902-bf4d-b37a1de120de.htm As an ArcObjects developer, this means that if your application is not initialized as a single threaded application, the .NET framework will create a special single threaded apartment (STA) thread for all ArcObjects since they are marked as STA. This will cause a thread switch to this thread on each call from the application to ArcObjects. In turn, this forces the ArcObjects components to marshall each call, and eventually it may be about 50 times slower for a call to the COM component. Fortunately, this can be avoided by simply marking the main function as [STAThread].
... View more
06-14-2013
06:32 AM
|
0
|
0
|
2200
|
|
POST
|
here you can see an example: http://www.arcgis.com/home/item.html?id=72ef24542857413c8981f2e196f1bb13 on ITimeAwareEvaluator
... View more
06-12-2013
06:59 AM
|
0
|
0
|
2046
|
|
POST
|
'Order by' you need use PostfixClause
IQueryFilter queryFilter = new QueryFilterClass();
queryFilter.SubFields = "NAME, ADDRESS";
queryFilter.WhereClause = "TYPE = 'Restaurant'";
IQueryFilterDefinition queryFilterDef = (IQueryFilterDefinition)queryFilter;
queryFilterDef.PostfixClause = "ORDER BY NAME";
... View more
06-11-2013
09:17 AM
|
0
|
0
|
2338
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-20-2024 11:20 AM | |
| 1 | 05-25-2017 10:11 AM | |
| 1 | 06-20-2023 12:09 AM | |
| 1 | 10-14-2022 05:14 AM | |
| 1 | 06-14-2023 02:00 AM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|