Tag Info

New answers tagged

1

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 ...


1

The parameter for passing a polygon needs two other ESRI fields populated in the parameter list. If the fields are not present (even if they have no meaningful value) then the ESRI service will return a FAIL result without any logs or exceptions. for (int fieldIndex = 0; fieldIndex < fieldArray.FieldArray.Count(); fieldIndex++) { if ...


0

This took quite a while to find the correct answer. Believe it or not, when I told ESRI support that it returned only 1 point she asked what was wrong with that! This is the final code to actually get a line out of the code following an undocumented process: IGeometryCollection result = distanceComputer.CostPathAsPolyline(points, costSets[0], ...


0

After a very, very long and agonizing process we finally have the cause. I'm putting it here so that no one spends another 3-4 months figuring it out. Each object type has it's own fields and you can see these fields in the Schema for the shape in Arc Catalog. For a Point it is simple, OBJECTID and SHAPE. For a Polygon (my two optional fields) there are ...


0

Shapefiles need a few things before they can be created, they are created in a workspace which in this case is a folder, they need fields and geometry definition. When all of those prerequisites are met it's fairly easy to create one. This is similar to creating a file or personal geodatabase feature class (they start from a different workspace factory) // ...



Top 50 recent answers are included