|
POST
|
if you are interested I have developed a custom identity provider in .net : NicoGis - Sviluppare in ambiente ArcGIS...: Custom Identity store ASP.NET download solution
... View more
10-31-2014
12:40 AM
|
0
|
0
|
2307
|
|
POST
|
you can use similar code:
ESRI.ArcGIS.Carto.IFeatureLayer featureLayer = (ESRI.ArcGIS.Carto.IFeatureLayer) yourlayer
ESRI.ArcGIS.Geodatabase.IFeatureClass featureClass = featureLayer.FeatureClass;
and then cast IDataset and get your info ArcObjects 10 .NET SDK Help
... View more
10-29-2014
10:15 AM
|
0
|
0
|
636
|
|
POST
|
You can compile soe 32bit but then it doesn't run because it's load in a process 64bit As Vince ad Erik say, better solution get 64-bit DLL or create a separate process 32bit. See also Accessing 32-bit DLLs from 64-bit code | Reflections on IT
... View more
10-24-2014
12:50 AM
|
0
|
0
|
1312
|
|
POST
|
In node B have you in this file C:\Program Files\ArcGIS\Server\framework\etc\config-store-connection.json that connect SAN path? In actions of cluster have you add 'start service arcgis'?
... View more
10-16-2014
07:14 AM
|
0
|
1
|
1826
|
|
POST
|
with 'Enable ownership-based access control' you can then choose Operations allowed on features created by other users also 'Query' so users see only own data. (I advise you) If you don't use this functionality you haven't overrides on capabilities feature access. You can create a proxy that 'override' the request or soe that does functionality of 'feature access' (I don't advise: help create soe rest .net http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/0001/0001000000mw000000.htm ) or in 10.3.x you can create a custom SOI (server object interceptor) for override request (here in http://proceedings.esri.com/library/userconf/proc14/tech-workshops/tw_689.pdf (page 8)). See also video at 10m55s http://video.esri.com/watch/3877/what-is-coming-in-arcgis-103-for-server-and-portal-for-arcgis You can see the following short description and demonstration from the DevSummit in Palm Springs: http://video.esri.com/watch/4230/arcgis-server-_and_-sois Here you can see a sample using soi: https://github.com/mraad/ExportImageSOI or my blog http://nicogis.blogspot.it/2015/05/tutti-pazzi-per-il-soi.html
... View more
10-15-2014
06:57 AM
|
0
|
0
|
2147
|
|
POST
|
You can use method in IMapServer3 (QueryData, QueryFeatureData ect) . See sample Find Near Feature ArcObjects 10 .NET SDK Help
... View more
10-14-2014
08:22 AM
|
0
|
4
|
2147
|
|
POST
|
1) you can get Distance IProximityOperator:: ReturnDistance 2) buffer on polyline A with Distance from step1 3) test with IRelationalOperator:disjoint on every ISegment of polyline B with buffer from step2 -> create list of Segments that intersect (IRelationalOperator:disjoint = false) 4) buffer on polyline B with Distance from step1 5) test with IRelationalOperator:disjoint on every ISegment of polyline A with buffer from step4 -> create list of Segments that intersect (IRelationalOperator:disjoint = false) 6) Find distance absolute min of two loops (if frompoint and topoint return same distance you have paraller line) 0..n-1 (listSegmentsA) MinDistance (Polyline (listSegmentsB).ReturnDistance(listSegmentA).FromPoint, Polyline (listSegmentsB).ReturnDistance(listSegmentA).ToPoint 0..n-1 (listSegmentsB) MinDistance (Polyline (listSegmentsA).ReturnDistance(listSegmentB).FromPoint, Polyline (listSegmentsA).ReturnDistance(listSegmentB).ToPoint 7) using ReturnNearestPoint using Point from dist min of step6
... View more
10-10-2014
08:29 AM
|
0
|
0
|
3975
|
|
POST
|
In 10.3.x you can use the custom soi (Server Object Interceptor) . See page 8 in http://proceedings.esri.com/library/userconf/proc14/tech-workshops/tw_689.pdf .
... View more
10-09-2014
06:26 AM
|
0
|
0
|
1610
|
|
POST
|
Integrity implemented at the geodatabase level (for example: relationship class, subtype, domain etc) are recognized by ArcObjects applications. SDE is an application server that add new capabilities RDBMS (versioning, archiving ect). SQL integrity are enforced by the level database. Versioned edits function differently from standard database edits, so the integrity constraints may not function as expected. I think that if you don't need versioning, archiving ect. you can use capabilities spatial native your rdbms so you can use IR level db. If you need versioning and you want manage your system with integrity of geodatabase (for example: relationship class, subtype, domain etc) you need an application that recognize it (arcgis desktop /arcobjects). Hybrid solution you can risk of having problems and need caution.
... View more
10-08-2014
06:46 AM
|
0
|
0
|
2984
|
|
POST
|
you speak about objectid and shapefile: do you mean fid in shapefile? I advise you see the differences in the behavior of the OBJECTID, FID, and OID fields because FID in shapefile hasn't same behavior of objectid: it's a offset from origin of first row so I advise you don't use for reference your data ("... If a record from a shapefile is deleted, the FIDs are renumbered so that they start from 0 and increase sequentially...") while OBJECTID in gdb is a autonumber. 37480 - What are the differences in the behavior of the OBJECTID, FID, and OID fields?
... View more
10-08-2014
04:28 AM
|
3
|
1
|
2530
|
|
POST
|
Yes, in my code I have output = geoProcessorResult.GetOutput(0) as IGPValue; and return output from method using out because my function ExecuteTask return bool (true=success). However important that you have resolved your question.
... View more
10-06-2014
09:24 AM
|
0
|
0
|
2960
|
|
POST
|
In my method ExecuteTask I have also manage error but the method that I call is:
IGeoProcessorResult2 geoProcessorResult2 = gp.Execute(nameTask, parameters, null) as IGeoProcessorResult2;
Have you set parameters in tool with type correct?
... View more
10-06-2014
03:05 AM
|
1
|
3
|
2960
|
|
POST
|
The simplest method is write a python script (arcpy) and expose it how toolbox in arcobjects. Then you use arcobjects and call this tool. In arcpy you have ListTransformations (http://resources.arcgis.com/en/help/main/10.1/index.html#/ListTransformations/018v0000001p000000/) toolbox tool exposed with a toolbox:
import arcpy
try:
layer = arcpy.GetParameter(0)
layerDescribe = arcpy.Describe(layer)
from_sr = layerDescribe.featureClass.spatialReference
to_sr = arcpy.GetParameter(1)
extent = layerDescribe.extent
transformations = arcpy.ListTransformations(from_sr, to_sr, extent)
arcpy.SetParameter(2, transformations)
except StandardError, ErrDesc:
arcpy.AddMessage("Error: " + str(ErrDesc))
except:
arcpy.AddMessage("Error: get list transformations")
In arcobjects:
IVariantArray parameters = new VarArrayClass();
parameters.Add(this.pathLayer); //path and file lyr example c:\temp\test.lyr
parameters.Add(this.spatialReferenceOut);
IGPValue output = null;
Geoprocessor geoprocessor = new Geoprocessor();
geoprocessor.AddToolbox(@"c:\Temp\myToolbox.tbx");
ExecuteTask(this.geoprocessor, parameters, "ListTransformations", 0 ,out output); //ListTransformations is the name of your toolbox tool
IGPMultiValue GPMultiValue = output as IGPMultiValue;
for (int i = 0; i < GPMultiValue.Count;i++ )
{
cboDatumTransformation.Items.Add((GPMultiValue.get_Value(i) as IGPString).Value);
}
So you have only datum transformations available for extent of input
... View more
10-06-2014
01:53 AM
|
1
|
5
|
2960
|
| 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 |
05-18-2026
04:12 AM
|