Tag Info

New answers tagged

1

ESRI have "improved" their forum site and it's now hard to find any of the archived threads but I did find this code fragment in a thread from 2008. I've done very little in Engine so this may be a red herring? ICommand command = new ControlsZoomToSelectedCommandClass(); command.OnCreate(this.axMapControl1.Object); command.OnClick();


2

The first thing you will want to do is look at the Google Terms of Use and Licensing. Google is very particular on how their data and software can be used. I would look at this first as it may be a show-stopper. The second thing I would consider is that the imagery in Google isn`t raw imagery; they are chips or tiles of data saved in a web tiling format. ...


0

You require to check out the licenses of the extensions required: aoInitialize.CheckOutExtension(esriLicenseExtensionCode.esriLicenseExtensionCode3DAnalyst); aoInitialize.CheckOutExtension(esriLicenseExtensionCode.esriLicenseExtensionCodeSpatialAnalyst); When using an ArcView or ArcEditor license, a program must explicitly use AoIntialize, and ...


0

You can try the computational geometry method Point-in-Polygon (PIP) to identify if the point is inside the polygon. It is the raw math and it must be extremely fast. http://stackoverflow.com/questions/11716268/point-in-polygon-algorithm - this algorithm tests point position relative to each polygon side by the means of vector math.


1

try this using ESRI.ArcGIS.DataManagementTools; FeatureToPolygon featureToPolygon = new FeatureToPolygon(); featureToPolygon.in_features = pInWorkspace.PathName + "\\" + pInFeatureClassName.FeatureDatasetName.Name + "\\Temp_Line_UnNamed"; featureToPolygon.out_feature_class = pInWorkspace.PathName + "\\" + pInFeatureClassName.FeatureDatasetName.Name + ...


2

You need to access the active document in order to get access to layers. Create a reference to the document using your IMxApplication object (pMxApp): Dim pMxDoc as IMxDocument = pMxApp.Document Then access layers through focusmap: Dim pLayer as ILayer = pMxDoc.FocusMap.Layer(i) Where "i" is the index of your layer.


2

ArcGIS Online has a full REST API: http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r300000267000000 It's also worth mentioning, that the ArcGIS Runtime SDK for WPF and upcoming successor ArcGIS Runtime SDK for .NET provide .NET APIs for interacting with ArcGIS Online items (among many other things).


0

After spending a week going nuts we went through several iterations trying to find a solution to getting nearest point. We don't know or understand if NearestPoint creates edge issues or if the polygon is just rougher than the actual raster. We tried several steps to actually affect the nearest point: Fibonacci Sequence generating a golden spiral to ...


2

Thanks for sharing your module. You have mentioned a number of places yourself so let's try to summarize: communitydownloads.pbinsight.com: The Pitney Bowes Software site for sharing tools and source code for all our products MapInfo-L on Google Groups: the mailing list for a questions related to MapInfo products. It has been around for two decades and it ...


0

I suggest class from .NET framework: DbGeography DbGeography dbg = DbGeography.FromText(wkt_string);


0

After a great deal of research, I found that Near documentation STATES that the second parameter is a FeatureLayer. However it can contain multiple geographies, so in their usual undocumented way, this tool takes only a string representation of the data. This opens up so many possibilities of issues that I did not want to think about it. What I did ...


0

You may use the IFeatureDataConverter.ConvertFeatureClass method. Here is a code snippet: Converting simple data


0

I'm assuming that you are using Esri objects to connect to PostgreSQL. Each row needs to be updated one row/feature at a time. A row and a feature are identical to a database in that a feature is a row with a geometry registered with the database. In the same way a FeatureClass is a table with a geometry column. At some stage you have a featureclass, that ...


0

Note: This answers the question, as asked in the body (about efficient line generation from points), not the title (about how to create a shapefile). As with most aspects of ArcGIS, there is more than one way to construct geometries. The most efficient methodology for bulk conversion (not user interaction), involves use of the ...



Top 50 recent answers are included