POST
|
I am looking for a way to migrate the pages of an open data site from one account to another. Are there any tools available to facilitate this? Or has anyone worked out a process that was better than a straight forward copy/paste from one account to another?
... View more
02-03-2019
06:31 PM
|
3
|
2
|
832
|
POST
|
IFeatureCursor pedCursor2 = selectionASet.Search(null, true); Error 1 No overload for method 'Search' takes 2 arguments Does anyone has idea how to fix it? Thanks a lot! Like the error message says, it doesn't have 2 arguments. It has 3. See here: http://edndoc.esri.com/arcobjects/8.3/componenthelp/esricore/ISelectionSet_Search.htm You need to write: IFeatureCursor pedCursor2;
selectionASet.Search(null, true, pedCursor2);
... View more
01-31-2011
02:39 PM
|
0
|
0
|
156
|
POST
|
Not sure about all the other parameters you've included, I usually just use: AddItem("ProjectName.CommandName")
... View more
12-13-2010
08:36 PM
|
0
|
0
|
283
|
POST
|
I haven't used add-ins hardly at all, but I did have trouble getting ESRI stuff to run my commands right when they were in a namespace. Can you try and remove the namespacing at least to test? In my case I managed to retain the namespacing by decorating my classes with <ProgId("ProjectName.CommandName")>
... View more
12-13-2010
07:56 PM
|
0
|
0
|
438
|
POST
|
You can project the shape to a new coordinate system and retrieve the new min/max x,y values using the following example... Dim g1 As IGeometry Dim pSR As ISpatialReference Dim pSREnv As New SpatialReferenceEnvironment 'pick an appropriate Spatial reference here pSR = pSREnv.CreateProjectedCoordinateSystem(esriSRProjCSType.esriSRProjCS_NAD1983) 'project the envelope you already have to the enw spatial reference g1.Project(pSR) 'Now you your values from g1 Regards, Anna
... View more
04-12-2010
07:20 PM
|
0
|
0
|
148
|
Title | Kudos | Posted |
---|---|---|
3 | 02-03-2019 06:31 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|