POST
|
Using ArcObject SDK for .NET. How can I calculate the Closure error like is displayed at Parcel Details Window: Or there is a way to retrieve this information? I found the method CalculateAdjustment and CalculateClosure, from ITraverseAdjustment, but the misclosure returned is 0. when a build a polyline from the parcel lines. Thanks in advance. some code: //Test for Closure Calculation ESRI.ArcGIS.Editor.ITraverseAdjustment traverseAdjustment = new ESRI.ArcGIS.Editor.TraverseAdjustment(); ESRI.ArcGIS.Geometry.IPolyline polyline = new ESRI.ArcGIS.Geometry.Polyline() as ESRI.ArcGIS.Geometry.IPolyline; var fromPoint = new ESRI.ArcGIS.Geometry.Point(); fromPoint.X = 548250; fromPoint.Y = 711700; var point1 = new ESRI.ArcGIS.Geometry.Point(); point1.X = 548350; //+100 point1.Y = 711700; var point2 = new ESRI.ArcGIS.Geometry.Point(); point2.X = 548350; point2.Y = 711600; //+100 var point3 = new ESRI.ArcGIS.Geometry.Point(); point3.X = 548251; point3.Y = 711600; //-100 var point4 = new ESRI.ArcGIS.Geometry.Point(); point4.X = 548250; point4.Y = 711700; ((ESRI.ArcGIS.Geometry.IPointCollection)polyline).AddPoint(fromPoint); ((ESRI.ArcGIS.Geometry.IPointCollection)polyline).AddPoint(point1); ((ESRI.ArcGIS.Geometry.IPointCollection)polyline).AddPoint(point2); ((ESRI.ArcGIS.Geometry.IPointCollection)polyline).AddPoint(point3); ((ESRI.ArcGIS.Geometry.IPointCollection)polyline).AddPoint(point4); var resultPolyline = traverseAdjustment.CalculateAdjustment(polyline, point4, ESRI.ArcGIS.Editor.esriAdjustmentType.esriAdjustmentTypeCompass); var segmentCollection = ((ESRI.ArcGIS.Geometry.ISegmentCollection)resultPolyline);
... View more
01-28-2020
12:04 PM
|
0
|
0
|
305
|
POST
|
Hello, I'm trying to create a Parcel Fabric by code and the documentation at API Reference is not enough clear. I've also searched a lot in esri.com site about this, but I could not find anything. I only know that I must use the IDatasetContainer2::CreateDataset(), but there is not information how the parameter should be passed, how define the sub-layers and attributes, if it is required, etc. Please, some one could help me in this? Thanks in advance. Regards, Israel.
... View more
10-23-2015
09:07 AM
|
0
|
1
|
2180
|
POST
|
I was emailing with a friend from ESRI and I got an answer that add a custom sub-layer into the Parcel Fabric is not possible, unfortunately.
... View more
09-30-2015
08:55 AM
|
0
|
0
|
260
|
POST
|
I've started working with the ArcGIS Parcel Fabric, and this composite layer has some sublayers. How can I add a custom sublayer(polygons), with an especific definition query and symbology? save the layer into the Parcel Fabric and when I open it again, the custom layer is loaded inside the parcel fabric. Is this possible?
... View more
09-28-2015
04:10 PM
|
0
|
2
|
3018
|
POST
|
Hi Robby, Well, I understand what you say. But, I work on a company partner with ESRI, and we have licenses for Single Use for ArcGIS Desktop, we extend this app. So, we need apply licenses in background. There is nothing illegal. Thanks for your concern. Regards, Israel
... View more
06-27-2014
06:36 AM
|
0
|
0
|
359
|
POST
|
Hi, Thanks for you replay. But, yes we can authorize also ArcGIS Desktop with this code. I could not replay this thread 'cause I was busy. But the solution is: - Install the ArcGIS Desktop with the parameter of SOFTWARE_CLASS=Editor, if we can authorize the ArcGIS Desktop Standard, for example. And also the SEAT_PREFERENCE=Fixed. And then I was able to authorize my ArcGIS Desktop by code. I hope this could be useful for some one else. Thanks again to reply this thread. Regards, Israel.
... View more
06-26-2014
02:48 PM
|
0
|
0
|
359
|
POST
|
Hello, I have a question, I need authorize ArcGIS Desktop and ArcGIS Server, version 10.2, but by code. This is my code: IAuthorizeLicense aoAuthorizeLicenseClass = new AoAuthorizeLicenseClass(); string path = @"C:\License\Desktop_Basic_268138.eslf"; aoAuthorizeLicenseClass.AuthorizeASRFromFile(path, this.asrItem.Password); string featuresAdded = aoAuthorizeLicenseClass.FeaturesAdded; No error and exception is threw. So, the license should be applied, but, when I start ArcMap, for example, it it not licensed. I also use the command line to use the SoftwareAuthorization.exe, this command: >SoftwareAuthorization.exe /LIF "C:\License\Desktop_Basic_268138.eslf" /s But nothing happen, no error is displayed. Also, I don't know how to pass the password like the wizard ask for it if I used this software. Please, let me know any idea or suggestion to implement, or what I'm doing wrong. Thanks in advance for your help.
... View more
06-09-2014
12:07 PM
|
0
|
5
|
2074
|
POST
|
Hi, I´m trying to create an algorithm to create polygons from lines in c# but the script generates the polygon with errors . Does anyone know an algorithm to create polygons? Thx in advance.
... View more
01-24-2012
12:38 PM
|
0
|
3
|
685
|
Online Status |
Offline
|
Date Last Visited |
04-13-2022
11:55 AM
|