|
POST
|
If your map units are truly in meters then your raster size is only 1.15m x 0.55m. Does that seem right? I would suggest to redo your analysis in a data frame with a true meter system as coordinate system. Also check in your processing environment settings that the output coordinates are in a meters system. Then you could indeed calculate the area per raster class as number of cells x cell size x cell size, which would give you a result in square meters. Divide by 100 x 100 (10,000) to get hectares.
... View more
05-23-2016
06:19 AM
|
1
|
0
|
5790
|
|
POST
|
You mean the push/unshift? I'm pretty sure. JavaScript Array unshift() Method
... View more
05-23-2016
05:34 AM
|
0
|
0
|
2116
|
|
POST
|
You could use the Calculate Field tool (Data Management -> Fields -> Calculate Field) in batch mode (right click for option). Then just add your Feature Class as Input Table, add a row with the plus sign button for each field you want to calculate (8 in your case), right click fill the input table rows from the first record value, select the field for each row, type your value in the Expression field, right click fill again and run the tool.
... View more
05-23-2016
05:31 AM
|
0
|
0
|
1180
|
|
POST
|
I've constructed my own search sources like this in the past: sources = searchWidget.get("sources");
sources.push(newsourceobject); //push for adding at the end of the list and unshift to add at the front of the list
searchWidget.set("sources", sources);
searchWidget.startup();
... View more
05-23-2016
05:23 AM
|
2
|
0
|
2116
|
|
POST
|
You are adding an array and not a source object. Just remove the square brackets from your sources variable declaration.
... View more
05-23-2016
05:03 AM
|
2
|
0
|
2116
|
|
POST
|
Ensure that your Geoprocessing environment is configured to allow output overwrite
... View more
05-23-2016
04:58 AM
|
1
|
1
|
1396
|
|
POST
|
Do you want to manipulate the order of the image data sets in the Image Service? Then you will need to apply a mosaic rule on the Image Service (see ArcGISImageServiceLayer | API Reference | ArcGIS API for JavaScript and MosaicRule | API Reference | ArcGIS API for JavaScript ). The map reorderLayer function only applies to the layer order of the map and not the drawing order within a layer.
... View more
05-23-2016
04:01 AM
|
0
|
3
|
2802
|
|
POST
|
You can build a custom JSON Web Map string following the specifications in the REST API (Export Map (Operation) ) and send it to the Print Service with a normal POST/GET request. You will have to iterate through all the visible layers to specify the operational layers in the output map, write any geometries with their symbology, specify the layout options etc., but it can be done. Here is some more documentation to show you the way: Export Web Map Specification
... View more
05-20-2016
04:21 AM
|
0
|
0
|
2020
|
|
POST
|
Your Cost Distance calculation is on the whole Feature Class in every loop and not just the cursor feature: CD = CostDistance(fcStart,rCost, "100000") Isolate the cursor feature by creating a temporary layer for each cursor row and run the Cost Distance on that layer.
... View more
05-20-2016
12:30 AM
|
0
|
0
|
1345
|
|
POST
|
If you only want to display the feature movement limit as a graphic, you can use the selected point graphic as input for the geometry buffer function (3.16: esri/geometry/geometryEngine | API Reference | ArcGIS API for JavaScript , 4.0: geometryEngine | API Reference | ArcGIS API for JavaScript 4.0) to create a polygon geometry, which you can add to the map in a seperate graphics layer, on selection of the point graphic.
... View more
05-20-2016
12:15 AM
|
0
|
0
|
715
|
|
POST
|
It sounds like it is not liking the multiple transaction modes. Maybe you can find an answer in one of the following links: arcgis desktop - Debugging RuntimeError: workspace already in transaction mode from arcpy.da.UpdateCursor and ArcSDE fea… Can I have multiple open arcpy.da.InsertCursor at the same time?
... View more
05-19-2016
05:56 AM
|
1
|
0
|
2668
|
|
POST
|
But this approach requires the featureLayer graphics to be visible in the current map extent.
... View more
05-19-2016
05:11 AM
|
0
|
0
|
1563
|
|
POST
|
The best option would be to get the extent of the definition expression features with the featureLayer queryExtent function after load: featureLayer.on('load', function(){
var query = new esri.tasks.Query();
query.where = "sde.sde.TS_Const.dname = '" + distname + "'";
featureLayer.queryExtent(query,function(result){
map.setExtent(result.extent);
})
})
... View more
05-19-2016
05:06 AM
|
1
|
1
|
1563
|
|
POST
|
Once the featureLayer is loaded and the definition expression is defined, you can zoom to the graphics with: map.setExtent(esri.graphicsExtent(featureLayer.graphics));
... View more
05-19-2016
04:52 AM
|
1
|
1
|
1563
|
|
POST
|
See Publish hosted feature layers—ArcGIS Online Help | ArcGIS "By default, feature layers published from an ArcMap document only return 1,000 records. This limit is configurable in the publisher dialog box when publishing a new feature layer or overwriting an existing hosted feature layer."
... View more
05-19-2016
12:45 AM
|
1
|
0
|
898
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-22-2024 12:37 AM | |
| 1 | 10-02-2025 10:28 AM | |
| 1 | 09-17-2024 12:29 AM | |
| 1 | 03-15-2024 11:33 AM | |
| 1 | 03-13-2024 11:20 PM |
| Online Status |
Online
|
| Date Last Visited |
8 hours ago
|