|
POST
|
Thanks for the response, Thomas. Unfortunately the "1=1" query *IS* the issue we're experiencing. If the query returns an empty array of results, the layer of stream gages doesn't get constructed properly (it's done client side) and that's what people are complaining about. The table getting query'd has anywhere from 2800-3400 records in it at any given time. The other two layers in the map are incredibly small (point layer of 16 points & county boundary line features). I ran my JMeter load test 100 times yesterday and only received correct results 51% of the time (results were identical for AGS 10.1 and AGS 10.3). I'm kinda convinced we don't know what we're doing to support high load services (using the ESRI Web Adapter, no cluster of AGS servers, etc) but, to quote the adage, "that's not my department". As the developer, I just get the blame that the application doesn't work.
... View more
02-24-2016
08:20 AM
|
0
|
13
|
2719
|
|
POST
|
Our organization is experiencing issues with a service during periods of high demand. The service supports a flood warning system so those periods of high demand are sporadic so I'm looking towards using a load test with Apache JMeter to help us evaluate what we can do to better support our needs. I'm using this blog post and tutorial to help guide me and I've installed JMeter and have a test case set up. Since I'm new to this, I'm not sure if my parameters really mirror the real world so I'm posting to get some more experienced eyes on this. Anyways, instead of a a map image export like in the tutorial, I'm just performing a simple "1=1" query on our particular map service. Our web map builds our stream gage layer on the fly at page load using this query based on a table in this particular service. Below are a couple of screenshots from Google Analytics real-time view during our most recent events: Based on this, I created a test with a thread of 40 users, a ramp up period of 20 seconds, and a loop count of 3. Does this sound reasonable, given the real-world examples shown above? Am I on the right track of way off? Thanks! Steve
... View more
02-23-2016
10:55 AM
|
0
|
16
|
6297
|
|
POST
|
From what you've shared, I don't think there's enough posted to diagnose the source of the error. Since you say that the error is new, I'm going to assume that you recently added code / functionality to your application? If this is the case, go over your list of requires and make sure they are listed in the same order under the function() section. This is great place to look since it's easy to mess this up as one adds functionality into a growing application. require([
/*ordered list of modules to load*/
"esri/map" ,
"esri/InfoTemplate" ,
"esri/layers/FeatureLayer" ,
"dojo/parser" ,
"dojo/domReady!"
/*Beginning of anonymous callback function
which fires once all modules have loaded*/
], function (
/*Variable names to refer to each loaded module*/
Map,
InfoTemplate,
FeatureLayer,
parser
) { /*Beginning of actual callback code*/
parser.parse();
map = new Map( "mapDiv" , {
basemap: "national-geographic" ,
center: [-2.97, 53.41],
zoom: 9
});
...
... View more
02-03-2016
04:12 PM
|
0
|
0
|
887
|
|
POST
|
upper/lower case counts so make sure "xmin" in the URL is consistent with "urlObject.query.xmin" in your code..
... View more
01-28-2016
03:01 PM
|
1
|
0
|
3192
|
|
POST
|
Ah. Well, this is something to try. Might get messy depending on other things you're doing in your app. resultLayer.on("click", function(evt) {
map.infoWindow.set("popupWindow", false);
}); That will prevent it from displaying but that also shuts it off for ALL OTHER layers in your map so you would also need listener events to "turn on" the popups for those layers: otherLayer.on("click", function(evt) {
map.infoWindow.set("popupWindow", true);
});
... View more
01-21-2016
03:23 PM
|
0
|
0
|
1582
|
|
POST
|
I think what Rene was suggesting is this: resultLayer = new FeatureLayer(featureCollection, {
mode: FEATURELAYER.MODE_SELECTION,
htmlPopupType: FeatureLayer.POPUP_NONE,
outFields: ["PIN"]
});
... View more
01-21-2016
01:45 PM
|
0
|
2
|
1582
|
|
POST
|
Bummer. Now that I look a little closer at my app, it is using v3.10 of the API. It was the only one of my apps I could think off that was currently using the measurement widget.
... View more
01-14-2016
09:07 AM
|
0
|
0
|
3257
|
|
POST
|
You could try this: var measurement = new Measurement({
map: map
}, dom.byId("measurementDiv"));
measurement.startup();
measurement.distance.titleNode.title = "New Text";
measurement.area.titleNode.title = "New Text";
measurement.location.titleNode.title = "New Text"; I was just poking around, looking at the object so this isn't a "supported property." Use at your own risk.
... View more
01-14-2016
08:33 AM
|
1
|
2
|
3257
|
|
POST
|
FWIW, per this thread, Kelly Hutchins says that dateOptions was disabled but never responded when prompted on an update about the matter.
... View more
01-12-2016
11:12 AM
|
0
|
0
|
2356
|
|
POST
|
Excellent, thank you Melita Kennedy for facilitating this.
... View more
01-08-2016
04:00 PM
|
0
|
0
|
3758
|
|
POST
|
This is a general question. If I want to use non-ESRI symbology as part of a public facing web service, where should the associated fonts/ESRI Style Files be placed so that they can be read and displayed properly as part of the web service? Should they be installed onto the same server that has ArcGIS Server installed? Thanks- Steve
... View more
01-07-2016
12:38 PM
|
0
|
1
|
3147
|
|
POST
|
It looks like NAPSG has finally released the Incident Symbol library they have been working on with DHS. You'll find the main landing point here. You can access the actual symbol libraries here. If you're unfamiliar, they have been working with DHS to develop a symbol library that standardizes and fills in some gaps with respect to consistent incident symbology.
... View more
01-07-2016
12:25 PM
|
0
|
0
|
3276
|
|
POST
|
I would use a formatting function instead of trying to accomplish this in one JS line. Here's an example from one of my projects: SetSwmPopupInfo: function(graphic) {
var fullAttr = graphic.attributes;
var rptParam, content, theProjID, theTipType;
var theCipID = fullAttr.ProjectNo;
var features = [];
features.push(graphic);
var fSet = new FeatureSet();
fSet.features = features;
app.curInfoGraphic = fSet;
rptParam = "'" + graphic.attributes.OBJECTID + ',' + graphic.geometry.type + ',' + "SWM" + "'";
rptProjectName = graphic.attributes.ProjTitle;
if (theCipID.length > 1) {
theProjID = fullAttr.ProjectNo;
} else {
theProjID = "Unknown";
}
content = '<table width=\"100%\"><tr><td valign=\'top\' style=\"font-weight:bold;padding-left:3px;padding-right:3px\">Project Name:</td><td valign=\'top\' style=\"padding-left:3px;padding-right:3px\">' + fullAttr.ProjTitle + '</td></tr>';
content = content + '<tr><td valign=\'top\' style=\"font-weight:bold;padding-left:3px;padding-right:3px;vertical-align:top\">CIP Project ID:</td><td valign=\'top\' style=\"padding-left:3px;padding-right:3px;vertical-align:top\">' + theProjID + '</td></tr>';
content = content + '<tr><td valign=\'top\' style=\"font-weight:bold;padding-left:3px;padding-right:3px;vertical-align:top\">Type of Project:</td><td valign=\'top\' style=\"padding-left:3px;padding-right:3px;vertical-align:top\">' + fullAttr.Category.toProperCase() + '</td></tr>';
content = content + '<tr><td colspan=\"2\"><br/><div style=\"margin:0 auto;display:table;line-height:28px;\"><button id=\"reportButton\" type=\"button\" onclick=\"app.trf.getTractProjectReport(' + rptParam + ')\">View a Summary Demographic Report (Census Tract Level)</button><br\>';
content = content + '<button id=\"reportBlockButton\" type=\"button\" onclick=\"app.brf.getBlockProjectReport(' + rptParam + ')\">View a Summary Demographic Report (Block Group Level)</button></div></td></tr></table><br/>';
return content;
} Which looks like this once viewed in the application:
... View more
01-06-2016
08:56 AM
|
2
|
0
|
2311
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Thursday | |
| 2 | Thursday | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago | |
| 1 | 2 weeks ago |