|
POST
|
No. Use the ArcGIS Server Manager: Start and stop services—Documentation | Documentation for ArcGIS Enterprise
... View more
05-03-2020
11:20 PM
|
1
|
0
|
1199
|
|
POST
|
You'll have to run a query on the map service to retrieve the data and then write it to a local GDB. You can do all this with Python (arcpy), with specific focus on the os, urllib, urllib2 and json modules. If the service is secure, you might need to obtain a token from the server first, which you then include in query request. An query example could look like this: import arcpy, os, urllib2, urllib, json
service_url = 'https://myserver/arcgis/rest/services/GPS/MapServer/0/query'
params = {'where': '1=1', 'outFields': '*', 'returnIdsOnly': 'false', 'returnGeometry': 'false', 'f': 'pjson'}
req = urllib2.Request(service_url, urllib.urlencode(params))
response = urllib2.urlopen(req)
data = json.load(response) You can then write the json to a local file and convert it to a GDB table: with open('gpspoints.json', 'w') as outfile:
json.dump(data, outfile)
arcpy.JSONToFeatures_conversion("gpspoints.json", "C:/project/GPS/outputgdb.gdb/gps_points"))
... View more
04-19-2020
11:51 PM
|
1
|
1
|
2322
|
|
POST
|
Based on the answer provided by Craig, what version of Survey123 Connect are you using?
... View more
04-16-2020
09:06 PM
|
0
|
0
|
4750
|
|
POST
|
I tried the syntax provided in a form and it worked. And this is the output form. I assume your nested IF statement is working as it should. See what happens if you add a "name" to your Status note.
... View more
04-16-2020
09:01 PM
|
0
|
0
|
4750
|
|
POST
|
I think it is a limitation for Operations Dashboads. You can however add the location functionality to the map if you design your dashboard with WAB.
... View more
04-16-2020
04:24 AM
|
0
|
0
|
1396
|
|
POST
|
Try this: if(${CurrentCapacity}>${Capacity_Total}, '<font color="red">OverCapacity</font>', 'Other')
... View more
04-15-2020
11:29 PM
|
0
|
2
|
4749
|
|
POST
|
Try changing the output text from the IF-statement to HTML formatted text e.g. <font color="red">Over Capacity</font>
... View more
04-15-2020
02:11 AM
|
0
|
4
|
4749
|
|
POST
|
Use the variable name instead of a string myMap.add_layer(precipitation_layer)
... View more
03-06-2020
12:51 AM
|
1
|
0
|
968
|
|
POST
|
It depends on how many basemaps you want to use. Have a look at the documentation for BasemapToggle | ArcGIS API for JavaScript 4.14 and the BasemapGallery | ArcGIS API for JavaScript 4.14 widgets. Otherwise the function for switching basemaps can be simple as: function setbasemap(basemap){
map.basemap = basemap;
} and attach the click event to the buttons basemapBtn.addEventListener('click', function(){
setbasemap('hybrid');
});
... View more
03-05-2020
03:52 AM
|
1
|
1
|
3719
|
|
POST
|
You must still create the recenter function e.g. function recenterView(){
view.goTo({
center: [-126, 49],
zoom: 15
});
} which you then call with the listener recenterBtn.addEventListener('click', recenterView);
... View more
03-05-2020
02:42 AM
|
1
|
1
|
3719
|
|
POST
|
Use "dojo/dom-construct" in the require and define it in the function variables like domConstruct. Then after you have initialised your view you can create the button. // create DOM object
recenterBtn = domConstruct.toDom("<div class='map-button esri-component esri-locate esri-widget--button esri-widget' role='button' title='Recenter'><span aria-hidden='true' role='presentation' class='esri-icon esri-icon-globe'></span></div>");
// add to view
view.ui.add(recenterBtn, "bottom-right");
// add button click listener
recenterBtn.addEventListener('click', recenterFunction); Use the MapView goTo() function to set the center view: MapView | ArcGIS API for JavaScript 4.14 Add your own CSS to style it as you wish. Also see the Custom Recenter Widget | ArcGIS API for JavaScript 4.14 example for the TypeScript version.
... View more
03-05-2020
02:10 AM
|
1
|
2
|
3719
|
|
POST
|
it must be some very strange issue on my side. Another interesting phenomena is that the artifacts created are not kept at scale. In this image I zoomed out from the original sketches. And here I've zoomed back in And looking at the map canvas in the DOM, you can see they are added as SVG paths. Executing map.graphics.remove(map.graphics.graphics[0]) from the console will remove the first graphic, but not the associated artifact. Executing map.graphics.clear() will remove the graphics as well as the artifacts.
... View more
03-05-2020
12:41 AM
|
0
|
0
|
4167
|
|
POST
|
The issue showed up again. This is what it looks like in the sandbox example. Chrome 80.0.3987.132
... View more
03-03-2020
11:13 PM
|
0
|
3
|
4167
|
|
POST
|
That's weird! I think one of the Esri developers fixed it secretly. It was definitely creating a funny artifact, but now it is fine and I can't replicate the issue of earlier. I'm using Chrome 80.0.3987.122.
... View more
03-03-2020
06:52 AM
|
0
|
5
|
4167
|
| 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 |
Offline
|
| Date Last Visited |
a week ago
|