IDEA
|
This used to be a standard feature in the old ARC/INFO versions ('draw vertices'-option) - gone as a lot of other useful features that used to be standard some 30 years ago!
... View more
04-26-2019
03:12 AM
|
2
|
0
|
86
|
POST
|
Duncan, thanks for the input but vbNewLine (or vbCrLf for that matter) will not work. I alredy thought to use <br> (the interface is called XmlPropertySet after all) but I am not very versed with xml and did not make it work either. Any other ideas?
... View more
01-13-2019
11:16 PM
|
0
|
0
|
12
|
POST
|
I am editing metadata via a VB.NET Addin. Update information comes from ASCII files and I am and looking for a way to insert new lines. In this simple example the ASCII text provided might look like: "Administrator: Person A" Using the IXmlPropertySet2 interfacemy code looks something like this: Dim sName As String = "mdContact/rpPosName" Dim sValue As Object = "Administrator: \r\n Person A" 'update string with escape sequence added XmlPropertySet2.SetPropertyX(sName, sValue, esriXmlPropertyType.esriXPTText, esriXmlSetPropertyAction.esriXSPAAddOrReplace, False) Setting the property type to esriXPTText suggests that the value parameter (sValue in this example) should be a string. However any escape characters inserted in the string are not interpreted correctly and instead are shown as normal text in the metadata viewer. Being at a loss what the correct escape character might be I tried quite a variety: <\r\n> <br>, 
 <br> \r\n I have seen the somewhat similar thread https://community.esri.com/thread/213315-new-line-in-metadata-summary-description but this does not fit my problem. Any ideas how to insert new lines?
... View more
01-04-2019
01:38 AM
|
1
|
2
|
109
|
POST
|
I have been loading a DEM (.img file). It displays alright but when changing vertical exaggeration nothing happens. Is there anything else to do to make vertical exaggeration work? Thanks, Axel
... View more
12-06-2018
03:04 AM
|
0
|
1
|
274
|
IDEA
|
allmost unbelievable that this functionality does not already exist - absolutely necessary for descriptive statistics.
... View more
12-19-2017
11:07 PM
|
0
|
0
|
41
|
POST
|
I need to recreate the functionality of the link table in the georeferencing toolbar. I have sets of ground control points (usually between 5 to 30 gcps for an image) and need the resulting RMS errors for a given transformation - there is no need to actually rectify the images. I have trouble understanding the DefineFromControlPoints Method. The documentation says. 'Defines the best affine transformation between two sets of points' but the arguments are defined as ByRef fromPoints As IPoint which I understand is one point, not a set of points. This sample (rather old, but one of the few available I found) http://edndoc.esri.com/arcobjects/9.1/ComponentHelp/esriGeometry/DefineFromControlPoints_Example.htm states pAffineTrans2D.DefineFromControlPoints 4, pPtFrom(0), pPtTo(0) which appear to be single points from a point array, so again actually only one ground control point. I am confused... So again my question: can anybody show me how to use a set of points with DefineFromControlPoints ? Any help is appreciated! Cheers Axel ByRef fromPoints As IPoint
... View more
05-12-2016
07:38 AM
|
0
|
0
|
1725
|
POST
|
Hi all, when georeferencing a raster data set t he standard link table saves only coordinates. Residuals and errors are shown but are not saved in the link table. Is there a way to export a link table including RMS errors? Thanks in advance Axel
... View more
05-03-2016
05:38 AM
|
0
|
1
|
466
|
POST
|
I solved the problem by using ITopologicalOperator2 instead of ITopologicalOperator5 (ArcGIS 10.1, .Net 4.0). No idea why ESRI has to make it so difficult converting code from VBA to .Net...
... View more
10-07-2015
02:49 AM
|
0
|
0
|
11
|
POST
|
Hi there, I obviously have the same problem with code that worked in ArcGIS 9.3 but fails in 10.1. The error code looks as follows, the last line roughly translates as : 'interface not supported' There are a number of related threads (e.g. ITopological Operator, Intermittent COMException on Union ) but following their recommandations (namely to simplify the geometries) did not help as the error already occurs hwn assigning the feature to the TopologyOperator. The code where the error occurs looks like this: If pF.Shape.GeometryType = esriGeometryType.esriGeometryPolygon Then pNewPolygon = pF.ShapeCopy pTopoOp = CType(pNewPolygon, ESRI.ArcGIS.Geometry.ITopologicalOperator5) pTopoOp.IsKnownSimple_2 = False pTopoOp.Simplify() pGeoCollection.AddGeometry(pTopoOp) End If Right now there are only two polygons with 4 points each involved so size should not be an issue. Any ideas on how to solve this problem are greatly appreciated! Regards, Axel
... View more
10-05-2015
07:18 AM
|
0
|
1
|
11
|
POST
|
Right - I think of creating a new gdb at the begin of the code which will be deleted at the end of the code. Thanks again, Xander
... View more
08-28-2015
04:49 AM
|
1
|
1
|
16
|
Online Status |
Offline
|
Date Last Visited |
12-09-2020
07:45 AM
|