|
POST
|
what is your development environment, JavaScript API, Flex, C# etc?
... View more
08-05-2014
06:20 PM
|
0
|
1
|
501
|
|
POST
|
var extent = null; var extentWidth = 1000; if (features[0].geometry.type.toUpperCase() === "POINT"){ extent = new Extent(features[0].geometry.x - extentWidth, features[0].geometry.y - extentWidth, features[0].geometry.x + extentWidth, features[0].geometry.y + extentWidth, features[0].geometry.spatialReference) } else{ extent = features[0].geometry.getExtent().expand(2.0); }
... View more
08-05-2014
07:25 AM
|
0
|
3
|
898
|
|
POST
|
Point does not support getExtent() method, in the case of point you'll have to build your own envelope from the point coordinates.
... View more
08-05-2014
07:20 AM
|
0
|
4
|
898
|
|
POST
|
for feature class to shapefile output datatype is folder.
... View more
08-05-2014
06:33 AM
|
0
|
1
|
1045
|
|
POST
|
Perform spatial join between layer A and layer B, like below Result below: Join_Count will tell you correlation between layer 1 and layer 2. if join count is 6 then correlation is 1:6. FIELD_B is the concatenated ID of layer B features which intersect layer A. Hope this is what you were looking for
... View more
08-05-2014
06:28 AM
|
0
|
1
|
1641
|
|
POST
|
Hi Adrian, What I noticed was a bug on the workaround suggested by jonathan. Never the less measure end event would be one of those important event, I used it in couple of my project, thankfully they are still on good old 3.3
... View more
08-05-2014
05:36 AM
|
0
|
2
|
2579
|
|
POST
|
what is the output that you are trying to get from these two layers. 1. Copy attribute from one layer to another layer based on spatial relation 2. Calculate attribute for one layer based on how much it overlap another layer
... View more
08-05-2014
05:26 AM
|
0
|
3
|
1641
|
|
POST
|
def GetAzimuthPolyline(shape): radian = math.atan((shape.lastPoint.X - shape.firstPoint.X)/(shape.lastPoint.Y - shape.firstPoint.Y)) degrees = math.degrees(radian) if degrees < 0: return degrees + 360 else: return degrees
... View more
08-05-2014
04:31 AM
|
1
|
0
|
3982
|
|
POST
|
hi Camilla, What i see from your screen shot is you are trying to calculate value for field Shape and you are passing your shape input as Shape field again. What is the data type of Shape field? is it a number or geometry?
... View more
08-05-2014
03:46 AM
|
0
|
0
|
3982
|
|
POST
|
Hi Jonathan, Your solution works unless as long as i don't measure a self intersecting polygon. Refer image. Once a create a self intersecting polygon toll gets reset.
... View more
08-05-2014
02:39 AM
|
0
|
4
|
2579
|
|
POST
|
Check your layer option, default value is LAYER_OPTION_TOP, you may have to change it to LAYER_OPTION_ALL. identifyparameters-amd | API Reference | ArcGIS API for JavaScript
... View more
08-04-2014
09:29 PM
|
0
|
0
|
1330
|
|
POST
|
My recommendation would be to establish connection to your DB in arc catalogue, test the connection. If test succeeds then pick up your .sde file found @ C:\Users\<<user name>>\AppData\Roaming\ESRI\Desktop10.2\ArcCatalog (windows 7) Below code establishes connection using the sde file and returns a feature class. public IFeatureClass GetSdeFeatureClass(string featureClassName) { IFeatureClass featureClass = null; IWorkspaceFactory workspaceFactory = null; IFeatureWorkspace destinationWorkspace = null; try { workspaceFactory = new SdeWorkspaceFactoryClass(); destinationWorkspace = (IFeatureWorkspace)workspaceFactory.OpenFromFile(<<Path to your sde file>>, 0); featureClass = destinationWorkspace.OpenFeatureClass(featureClassName); } catch (Exception ex) { throw ex; } finally { DisposeComObjects(workspaceFactory); DisposeComObjects(destinationWorkspace); } return featureClass; }
... View more
08-04-2014
07:35 PM
|
1
|
0
|
2244
|
|
POST
|
What you need is a spatial selection with SHARE_A_LINE_SEGMENT_WITH. If you are looking at doing this from C# then have a look at this discussion. ISpatialFilter.SpatialRelDescription : share a line segment with
... View more
08-04-2014
07:27 PM
|
0
|
0
|
1337
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-31-2014 06:04 AM | |
| 1 | 09-25-2014 06:03 PM | |
| 1 | 09-16-2014 06:15 PM | |
| 1 | 10-08-2014 03:50 AM | |
| 1 | 08-25-2014 08:33 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|