|
POST
|
I am trying to use jQuery.getJSON and then taking the JSON object of the label definition to make the label classes but no labels are showing up in my map. getJSON is asynchronous so rather than applying the labels while the layer object is being created I add them to the layers in the map object after everything has been set up using the code below. I take the layer URL from my config, get its definition from the REST endpoint, get the layer from the map object which has the ID of that layer in the config, and then add the labels. Looking at the layer object from the map that is logged to the console at the end they have the labels defined like they should but no labels show up in the map. Is there a better way to apply the labels that I could be doing here? _.each(appConfig.layerConfig, function(layer){
if (layer.type == "featurelayer") {
$.getJSON(layer.url+"?f=json", function(data){
layerObj = mapObj.findLayerById(layer.id)
if (data.hasLabels){
layerObj.labelsVisible = true;
layerObj.labelingInfo = _.map(data.drawingInfo.labelingInfo, function(labelDef){
label = LabelClass.fromJSON(labelDef);
return label;
});
console.log(layerObj);
}
});
}
});
... View more
07-24-2018
08:09 AM
|
0
|
4
|
1964
|
|
IDEA
|
When I have a drawing such as a plat or survey which has coordinates for corners included it would be nice to be able to add those as control points from the widget or have a second widget for adding points specifically. Right now the best work flow is to search the X,Y in the Search widget and convert the result to a point using the Situational Awareness widget. It would also be useful to be able to COGO in lines which aren't closed loops like centerlines. That way a user could key in a whole plat from WAB.
... View more
06-12-2018
07:06 AM
|
1
|
0
|
397
|
|
POST
|
I am using the default values. The only changes I made was to the workDays and workHours values. I have a snip of a comparison in excel of the report changes. Formatting colors the cells with red being greater than compared value and blue less than. The 30 day values are compared to the old values and 1 day values compared to the 30 day. We have an EEAP agreement but haven't discussed configuration on this particular facet yet.
... View more
05-23-2018
01:37 PM
|
0
|
0
|
620
|
|
POST
|
I had a couple servers where we updated the Windows version and Monitor quit trying to connect after 8 failed attempts. The connection wasn't able to reestablish after restarting the Monitor service, BUG-000113723, so I exported my collection config, deleted the collection, and imported the exported config. Boom, problem solved. When I did though the clientId for the records is different for all new records and I cant see data in Monitor older than 5/4/18 when I did this. The older data is still there I think and the clientId is the only thing I can find that is different between the records which would explain me not being able to see the data. In auth.account in the MongoDB I have one account in which _id corresponds to the accountId given in the properties of the collection in Monitor Administrator and has an array of clients where the current clientId in the ArcGISMonitor.result and ArcGISMonitor.resultshour is the last entry in the array. The records in ArcGISMonitor.result only seem to go back to 5/4/18 but the records in ArcGISMonitor.resultshour go back to when we installed Monitor on 2/8/18. ArcGISMonitor.result has 5.1 million records and I cant believe those are all only from the last two weeks.
... View more
05-18-2018
07:34 AM
|
0
|
1
|
847
|
|
POST
|
I am trying to configure ArcSOC Optimizer and want to tweak UsageSecLT in the config file but the docs say it is estimated as trSum * BusyTimePerTr.stats.avg. I can get trSum out of a report run on the last month but I cant find the site wide average for BusyTimePerTr. Looking at the AGS site in Monitor I have an option to view a graph of BusyTimePerTr but its split out to each service, I cant get the average for the entire site over the period. If it is available as a site wide stat in the excel report I didn't spot it. I am currently using the plug in in test mode. Taking the default of 40 for the 30 day config and 20 for the 1 day config seems to change my instances appropriately in the 30 day report but the 1 day drops my min instances to 0 almost across the board.
... View more
05-18-2018
06:46 AM
|
0
|
2
|
754
|
|
IDEA
|
What if it was a NoSQL database being used? With everything essentially as JSON objects you can make the field an array and the chosen values can be objects within it. The query as a concept changes a bit as does storage in general but it would work. They would need to write an ODM to run in place of the normal ORM for relational databases though and like you said that's a system wide undertaking. esri products don't do much with NoSQL databases at the moment but I can see that changing in the future especially with the shift towards big data analytics. They already use MongoDB with Monitor but that's not a core spatial product so it only tangentially applies. Mongo uses GeoJSON as its spatial type so hypothetically you could run the esri JS API off of it with changes to the query back end.
... View more
05-01-2018
11:46 AM
|
0
|
0
|
3348
|
|
POST
|
Interesting, I havnt seen this before. I'll dig into it and see if it will work better for me.
... View more
03-01-2018
01:59 PM
|
0
|
0
|
1231
|
|
POST
|
I was wrong it does work, just not in Jupyter. I thought I would try Jupyter out since I hadnt really used it much and it turns out it was boggling the module up. So creating a Server object like that works just fine in idle and returns the all of the related classes and methods like it is supposed to.
... View more
03-01-2018
01:58 PM
|
1
|
0
|
1231
|
|
POST
|
Ok Im tired of trying to figure this out based on the documentation for the API. All I want to do is stop a geocoding service so I can rebuild the locators and then restart it. We are not using portal here. Running the lines below returns "AttributeError: 'Server' object has no attribute 'services'" even though dir(site) shows that "services" is there. I am on v1.3.0 of the API. This is the best result I have gotten. Trying to import arcgis or from arcgis import gis and creating the server object by arcgis.gis.server.Server() always just gets me "AttributeError: module 'arcgis.gis' has no attribute 'server'". from arcgis.gis import server
site = server.Server(url='',
username = '',
password='')
site.services.list()
... View more
03-01-2018
07:04 AM
|
0
|
3
|
1615
|
|
POST
|
The only way I could get it to work is below and is infuriating to me. The docs for this module are pretty sub par in light of how much esri is pushing it. from arcgis.gis import server
site = server.Server()
... View more
02-28-2018
01:53 PM
|
3
|
0
|
1570
|
|
POST
|
ArcGIS Server is taking a long time to publish services, around 45 minutes. I've always assumed this was normal until recently when I found out that it very much isnt. I would like to have ArcGIS Monitor record publishing time so I can get some firm numbers to call support with. Is this possible? I see in the logs that publishing looks like its broken up into a lot of records because it logs each packet of data received separately.
... View more
02-21-2018
08:25 AM
|
0
|
0
|
318
|
|
IDEA
|
I made the jump from SystemMonitor2 to ArcGIS Monitor 10.6 and miss the ability to have a "Reports" page with a few graphs of the metrics I look at most frequently. I would usually leave it open in a tab and could at a glance see how several metrics were behaving over the course of the day/week/etc. and look at individual collectors more deeply on their own pages if something looked odd but hadn't triggered an alert yet.
... View more
02-09-2018
01:28 PM
|
0
|
2
|
915
|
|
IDEA
|
I made the jump from SystemMonitor2 to ArcGIS Monitor 10.6 and miss the ability to have a "Reports" page with a few graphs of the metrics I look at most frequently. I would usually leave it open in a tab and could at a glance see how several metrics were behaving over the course of the day/week/etc. and look at individual collectors more deeply on their own pages if something looked odd but hadn't triggered an alert yet.
... View more
02-09-2018
01:28 PM
|
0
|
1
|
710
|
|
IDEA
|
It is per core but I'm not sure of the cost. As johnmdye said below its an entitlement of an EEAP agreement which we have. ESRI staff said in a meeting with us that it is by core but our "free" license is within the scope of our current architecture without elaborating further. If you aren't using SM3 already it might be worth it to get up with your sales rep about it. The jump from SM2 to 10.6 (they are tying naming to platform version increment numbers) is big but the jump from SM3 to 10.6 doesn't looks as big.
... View more
02-09-2018
01:17 PM
|
0
|
1
|
3359
|
|
IDEA
|
Pro does this automatically now. Its not perfect but its pretty good. Even if you aren't moving all of your workflows over to Pro your cartography will come out a good bit cleaner in the new rendering engine they wrote.
... View more
02-05-2018
01:29 PM
|
0
|
0
|
1644
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-06-2020 09:37 AM | |
| 3 | 02-28-2018 01:53 PM | |
| 1 | 02-13-2017 12:19 PM | |
| 1 | 06-22-2020 05:52 AM | |
| 8 | 01-23-2019 11:02 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-13-2021
10:23 AM
|