POST
|
And no my code works fine, but by default the map seems to be set to WGS84 Regards, Jack Pearson Fremantle Technology / Go-Global Internet Solutions
... View more
07-14-2017
10:22 PM
|
0
|
1
|
7
|
POST
|
Thanks Melita, Long shot - Star pickets on mars ? No, sometimes we need to work with customer data which is on an arbitrary local project coordinate system and has not been tied in to an earth spatial ref. So we would be looking to open a map that accepts arbitrary rectangular 2d coords. Obviously we would expect to be able to project data on other coordinate systems into this map. Regards, Jack Pearson Fremantle Technology / Go-Global Internet Solutions
... View more
07-14-2017
10:20 PM
|
0
|
0
|
7
|
POST
|
Is there a known issue with performance of edit operations in V2 ? I'm adding thousands of points to a filegeodb Point feature class Using a EditOperation.Create() & MapPointBuilder.CreateMapPoint(). In v1.4 adding 3k points , the EditOp.ExecuteAsync() took 9 secs to execute, Same code in v2.0 is now taking 70 secs. Also, it now seems to scale poorly with larger datasets. So for a more realistic operation of 50k points is now taking 35 minutes ! Can anyone shed light on this ? is there a better way to be doing this ?
... View more
07-11-2017
11:07 PM
|
0
|
1
|
206
|
POST
|
I am importing a point featureclass, layer which are non-earth (e.g. local project coordinates) How would i create a map with non-earth coord system ? currently i'm using : Map map = null; await QueuedTask.Run(() => { map = MapFactory.Instance.CreateMap(mapName, MapType.Map, MapViewingMode.Map, Basemap.None); }); await ProApp.Panes.CreateMapPaneAsync(map);
... View more
07-10-2017
10:28 PM
|
0
|
4
|
637
|
POST
|
Figured this out : List<object> argsList = new List<object>() { featureclassNameToDelete }; var args = Geoprocessing.MakeValueArray(argsList.ToArray()); var envs = Geoprocessing.MakeEnvironmentArray(workspace : gdbPath); IGPResult result = await Geoprocessing.ExecuteToolAsync("Delete_management", args, envs);
... View more
07-09-2017
11:32 PM
|
0
|
0
|
1
|
POST
|
Thanks Curtis - anyone seen a .net equivalent ? I couldn't find any docco/example. I imagine something like below, but I can't work out how to specify the geodb ? what is the equiv of py : arcpy . env . workspace = ... List<object> argsList = new List<object>() { featureclassNameToDelete }; var args = Geoprocessing.MakeValueArray(argsList.ToArray()); IGPResult result = await Geoprocessing.ExecuteToolAsync("Delete_management", args);
... View more
07-09-2017
06:19 PM
|
0
|
1
|
1
|
POST
|
I'm adding a feature class to file geodb using : GPExecuteToolFlags flags = GPExecuteToolFlags.None; IGPResult result = await Geoprocessing.ExecuteToolAsync("CreateFeatureclass_management", Geoprocessing.MakeValueArray(arguments.ToArray()), null,null,null, flags); Q1) : It still seems to also add to the current map - what flag do i need to set to prevent that ? Q2 ) How can i remove that feature class programmatically from the the geodb ? i cannot find any mention of something like Delete/RemoveFeatureclass_management Thanks.
... View more
07-08-2017
06:11 AM
|
0
|
3
|
375
|
POST
|
Hi Charles - Any idea if anyone at Esri can help me with this ?
... View more
07-07-2017
05:14 AM
|
0
|
0
|
20
|
POST
|
I'm sure this should be easy but i have not been able to find a solution / example : In my add-in I am bringing in and displaying a new XY point feature layer, with a well known spatial ref. If the project does not currently have an open map/mapview (eg if a new blank project) then i need to create one - how do i do that via API ?
... View more
07-06-2017
08:50 PM
|
0
|
1
|
442
|
POST
|
I am building an add-in for pro using pro sdk 2.0; The add-in reads a specific funky formatted file of point data, creates as point feature layer in local file gdb and symbolises as a feature layer according to metadata in source file; All working, but users complaining that it's pretty slow : (1k points taking over 40-50 secs on a reasonably powered development machine) So I want to check whether there is a better approach than this one that I am taking : 1) Using : Geoprocessing.ExecuteToolAsync("CreateFeatureclass_management"...) to create the new, empty feature layer Time taken : 13-15 secs 2) Add 6 fields to the schema using : Geoprocessing.ExecuteToolAsync("AddField_management", args); Time taken : 15+ secs 3) Add point features and populate attribute values for 1k points, 6 attributes Time taken : 2-5 secs 4) Apply unique value based Symbology Time taken : 2-4 secs The schema & symbology change with every import so template layers not a solution. Any ideas?
... View more
07-03-2017
08:28 AM
|
1
|
8
|
601
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|