POST
|
Hi, anyone had experience working with all these options to ???simplify??? or generalize complex polygons (pros and cons)?? 1. IGeometryServer2 Generalize (can't find any sample code) 2. IPolygon Simplifyex and ITopologicalOperator Simplify I want to loop polygons in a feature class, convert these complex polygon (with lotsa vertexes and bezier curves) to a simplified version and then run some simple topo operations (buffer, intersect). Main reason for doing this is ... even simple topo operations on these complex polygons takes way too long to complete. If you have other suggestions most welcome ... Thanks.
... View more
06-26-2013
08:45 AM
|
0
|
1
|
2628
|
POST
|
In Arc10 and 10.1 when sending an address (i.e. 122 W Sample Rd) to ISimpleStandardization.SimpleStandardizeAddress its returning the wrong prefix / suffix direction (i.e. 122 West Sample Rd). Tried referencing all locator styles (mainly �??US Address - Dual Ranges�??) and local gdb geocode locators. I believe there are some changes with ESRI 10.0 / 10.1 locators and IAdvancedGeocoding not supported �?� but this shouldn�??t prevent correct address standardization. The ESRI standardizer is changing W to West �?� or S to South �?� and if the street name in the address has W or S, it does not match. How did you preserve the abbrevations parsed??
... View more
01-08-2013
02:44 AM
|
0
|
0
|
227
|
POST
|
Thanks guys. Alexander. I suppose thinking with TDD helps ... but what about legacy codes?? Richard, what are the unit test tools you use??
... View more
07-25-2012
11:45 PM
|
0
|
0
|
729
|
POST
|
add-on ... worked with VBUnit before few years back but it didn't go far. couldn't test custom UI tools steps in arcmap and VBUnit worked in VB6. basic scenario - click on custom button >> do some geometry operation >> update forms that pop up or runs methods behind >> results save back in database heard TestComplete is better at this now ... anyone using it?? Thanks.
... View more
07-23-2012
04:20 AM
|
0
|
0
|
729
|
POST
|
Has anyone worked with NUnit (or others) unit testing arcobject applications?? Any idea where to start?? I've looked briefly at NUnit but wondering how to: 1. pass features / feature classes (ArcObjects COM objects etc) in testing 2. simulate ArcMap UI steps (i.e. custom tool operations from custom toolbars) performing specific user steps during test cycle 3. large application regression tests Any advise or push in the right direction much appreciated.
... View more
07-22-2012
08:01 PM
|
0
|
9
|
3253
|
POST
|
Modified codes with ideas from here - http://gis.stackexchange.com/questions/10974/arcobjects-memory-leak-in-ifeatureclass-search-only-on-sde-with-direct-connect It solves the memory leak with a workaround but the performance is effected. Hope ESRI can fix this soon ...
... View more
06-07-2012
01:13 AM
|
0
|
0
|
477
|
POST
|
Hi, anyone come across memory leaks in ArcMap running selectionset search. Feature cursors are released using System.Runtime.InteropServices.Marshal.FinalReleaseComObject pSpatialFilter = New ESRI.ArcGIS.Geodatabase.SpatialFilterClass() With pSpatialFilter .Geometry = pPoint .GeometryField = m_pFeatureClass.ShapeFieldName .SpatialRel = ESRI.ArcGIS.Geodatabase.esriSpatialRelEnum.esriSpatialRelIntersects End With pSelectionSet.Search(pSpatialFilter, False, pFeatureCursor) If looping thousands of features ... memory in ArcMap.exe process in Task Manager keeps growing until ArcMap crashes. This only happends with SQL Server Express ... running the same code with Personal gdb (MS Access) has no leaks. Not sure how to release the selectionset explicitly. Any help or ideas much appreciated.
... View more
05-18-2012
08:23 AM
|
0
|
3
|
2703
|
POST
|
how to expose methods / functions in exisiting .NET arcobject codes (running as Desktop apps) using arcgis server?? have validation functions (feature cursors, validations, geometry / attributes corrections, geodatabase updates, topology checks etc) that traditionally runs in ArcMap ... but NEXT plan to 'upgrade' these codes as server products ... arcgis server 10.1. looks like SOE with REST is best option ... just don't know where to start. there's not much SOE samples or references in ArcObjects Help. anyone with sample codes, ideas or links?? is this even a good idea with more than 100,000 features?? much appreciated.
... View more
05-05-2012
12:41 AM
|
0
|
1
|
567
|
POST
|
I tried esriSpatialRelEnum.esriSpatialRelContains and earlier esriSpatialRelEnum.esriSpatialRelIntersects ... its still not returning the overlapping line features. For non multipart polygons ... its working ... returning the overlapping line correctly. There's no return error messages. I also tried - .SpatialRel = esriSpatialRelEnum.esriSpatialRelRelation .SpatialRelDescription = "T********"
... View more
04-04-2012
05:19 AM
|
0
|
0
|
348
|
POST
|
Does anyone know why multipart polygon doesn't work with this?? pGridGeom = pGridFeature.Shape pGridSpatialFilter = New SpatialFilterClass With pGridSpatialFilter .GeometryField = pFeatcls.ShapeFieldName ' .SpatialRel = esriSpatialRelEnum.esriSpatialRelIntersects .SpatialRel = esriSpatialRelEnum.esriSpatialRelWithin .Geometry = pGridGeom End With pCursor = pFeatcls.Search(pGridSpatialFilter, True) Should we 'explode' multipart poly into geometries?? Tried this but doesn't work ... If pGeomColl.GeometryCount > 1 Then For i As Integer = 0 To pGeomColl.GeometryCount - 1 Dim pPolygonNew As IPolygon Dim NewGeometryArray(0) As IGeometry NewGeometryArray(0) = pGeomColl.Geometry(i) Dim gBridge As IGeometryBridge = New GeometryEnvironment() gBridge.AddGeometries(pPolygonNew, NewGeometryArray) pGridGeom = pPolygonNew Next endif Any help or suggestions?? Cheers.
... View more
04-03-2012
08:05 AM
|
0
|
3
|
850
|
POST
|
Hi there, I was developing on one machine (it works there) and then moved codes to another (which had an older version of the DLL but same GUIDs) ... when I compile / debug ArcMap only shows the toolbar. When I click on the toolbar it disappears. Am running VS 2008, .NET 3.5 and ArcGIS Desktop 10.0. ESRIRegasm runs ok (even with /e param) ... I also tried building installer / run setup. Somehow the commands / tools are not lnked with the DLL (only toolbars appear). I remember having this issue before (pre 9.3) ... and had to cleanup the registry. I checked the ecfg file too ... nothing unusual (it works on one machine). 1. how to fix this?? 2. how to clean registry?? 3. why its happening?? Any help or ideas greatly appreciated. Thanks.
... View more
08-13-2011
08:34 AM
|
0
|
0
|
525
|
POST
|
If creating features with Advanced Editing's Fillet tool in ArcMap ... with OnCreateFeature event validation ... the resulting line drawn will either get drawn/snapped to the wrong place, or will get hung up. No problem with normal lines, points or polygons. How do I solve this problem programmatically?? Looks like an ArcMap bug? Any idea much appreciated ... thanks.
... View more
07-12-2011
01:05 AM
|
0
|
0
|
396
|
POST
|
Can we access ArcObjects .NET classes / methods from REST API? Pass parameters to ArcObject methods / classes and return results to users on web application? Can Python scripts access ArcObject .NET classes / methods directly? The reason ... create GeoProcessing web services from GPTools implementation and allow web users to run ArcObject classes / methods? The ArcObjects custom app (i.e. complex geometry and attribute checks) works currently as ArcGIS Desktop commands ... the plan is to migrate and expose these as Web GIS apps. Any idea on various different ways to design / code this type of web application? Cheers.
... View more
04-04-2011
01:22 AM
|
0
|
1
|
2541
|
POST
|
Hi there, migrating code from 9.3.1 to 10 ... discovered Editor Task and Target not supported ... due to Templates. Any code to deactivate Templates? Any guide to convert editor task and target? Appreciate any help 😉
... View more
09-15-2010
01:03 AM
|
0
|
0
|
294
|
POST
|
thanks! I've been using this to 'snap' polygons (i.e. boundaries etc) with lines. can u help post the weblink here once its uploaded? cheers.
... View more
09-04-2010
09:21 PM
|
0
|
0
|
727
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|