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
|
924
|
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
|
510
|
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
|
369
|
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
|
1203
|
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
|
743
|
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
|
743
|
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
|
743
|
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
|
390
|
POST
|
I get the same result with a Bootstrap grid layout. Thought that would sort it out with stricter CSS rules, but it didn't.
... View more
05-18-2016
11:55 PM
|
0
|
0
|
1812
|
POST
|
I'm not 100% sure what you are asking, but if you want to compare features from different layers, you can use the Feaure Compare tool in the Data Management -> Data Comparison toolbox. Also have a look at the other tools in that toolbox.
... View more
05-18-2016
11:01 PM
|
1
|
0
|
319
|
POST
|
I tested the exact same layout with the JS version 3.16 API and it does not behave the same way.
... View more
05-18-2016
06:02 AM
|
0
|
1
|
1812
|
POST
|
As you can see in the service description the Max Record Count is set to 1000.
... View more
05-18-2016
05:21 AM
|
0
|
0
|
580
|
POST
|
Your second divider "viewDiv" should be contained in the first one where you specify the height. At the moment it is sitting below the first div. <div style="height:500px;"> <div id="viewDiv"></div> </div>
... View more
05-18-2016
05:16 AM
|
0
|
4
|
1812
|
POST
|
Also see this post: 1,000 feature limit in ArcGIS online?
... View more
05-18-2016
05:09 AM
|
1
|
0
|
580
|
POST
|
This kind of limitation is normally set by a Map Service. What kind of file did you download? Shapefile? Feature Service layer file?
... View more
05-18-2016
04:47 AM
|
0
|
3
|
580
|
Title | Kudos | Posted |
---|---|---|
1 | 03-15-2024 11:33 AM | |
1 | 03-13-2024 11:20 PM | |
1 | 03-13-2024 11:22 PM | |
1 | 03-14-2024 03:37 AM | |
1 | 03-01-2024 04:08 AM |
Online Status |
Online
|
Date Last Visited |
yesterday
|