POST
|
Yes, that is confusing. The documentation should point to the Dashboard group instead of Databoard data, since other Dashboard profiles do give access to the $datapoint profile variable, which those two functions can utilize.
... View more
4 hours ago
|
0
|
0
|
7
|
BLOG
|
Is the url correct for the outletcounty example? It ends with "&rivercountry=United%20States&ORrivercountry=United%20States"
... View more
yesterday
|
1
|
0
|
95
|
POST
|
What might be happening is the editor uses the first feature in the dataset for the run. If that feature doesn't intersect the "Civic Addresses" data, the variable int will be null. You should test for that return iif(IsEmpty(int), 'No intersecting feature', int.FULL_ADDRESS)
... View more
Wednesday
|
0
|
0
|
51
|
POST
|
Does the shapefile get created on your drive but isn't added to the map? If so, set the GPExecuteToolFlags enumeration to AddOutputsToMap in the ExecuteToolAsync. await Geoprocessing.ExecuteToolAsync("management.CreateRandomPoints", createPointsParamsValueArray, null, CancelableProgressor.None, GPExecuteToolFlags.AddOutputsToMap); Or does it result in nothing getting created? I return an IGPResult from my geoprocessing tasks to check if they're successful. IGPResult createRandomPointsMessage = await Geoprocessing.ExecuteToolAsync("management.CreateRandomPoints", createPointsParamsValueArray, null, CancelableProgressor.None, GPExecuteToolFlags.AddOutputsToMap);
if (createRandomPointsMessage.IsFailed)
{
System.Diagnostics.Debug.WriteLine("Create random points errors");
}
... View more
Tuesday
|
0
|
0
|
31
|
POST
|
Don't forget to click "Accept as Solution" button on the post(s) that answered your question.
... View more
Tuesday
|
0
|
0
|
103
|
POST
|
Yes, if I run your logic on my dataset, it does return the expected nested group This is the result of the first GroupBy and this is the result of the second GroupBy
... View more
Monday
|
0
|
0
|
143
|
POST
|
The error is caused by a missing "+" after the first double quotes in line 10 (and line 12 and 14).
... View more
Monday
|
0
|
0
|
206
|
POST
|
You don't need curly braces for one line if/else statements (although they are good for avoiding confusion). This expression works properly var words = ['n', '1st', 'ave']
var upperWords = ['N','W']
var lowerWords = ['1st', '2nd']
var label = ''
for (var word in words)
{
var isUpper = IndexOf(upperWords, words[word]) > -1
var isLower = IndexOf(lowerWords, words[word]) > -1
if (isUpper)
label += words[word] + ' '
else if (isLower)
label += lower(words[word]) + ' '
else
label += proper(words[word]) + ' '
}
return label returning "N 1st Ave "
... View more
Monday
|
0
|
1
|
206
|
POST
|
When posting code, don't use an image. Use the "Insert/Edit code sample" button. This makes it easier for us to read and copy it to check syntax.
... View more
Monday
|
0
|
0
|
212
|
POST
|
There's definitely something odd happening with notifications. I just got an email saying one of my answers was accepted, but there's no notification showing. When I click on the notification icon, it shows this not even showing past notifications.
... View more
Monday
|
0
|
1
|
75
|
POST
|
This has a few problem. SQL is picky about quotes, so you'll have to encase the entire thing in double quotes and use single quotes for each item. You have to use a single = sign. And you have to use "or" not "||" var filtered_pop = Filter($datapoint.sum_SUM_Population,
"Name = 'Shelby County' or Name = 'Tipton County' or ..." However, by using "in", you can make this much easier to read and much shorter. var filtered_pop = Filter($datapoint.sum_SUM_Population,
"Name in ('Shelby County', 'Tipton County', ...)"
... View more
Monday
|
1
|
1
|
59
|
POST
|
Playground doesn't use a profile where you can use $layer. If you click on "Profile variables", it only shows "$feature". You'll have to test out your code in a web map where you have access to more profile variables.
... View more
a week ago
|
1
|
1
|
62
|
POST
|
I'm definitely not reading things closely enough! Just the injury field is Yes/No, so replace line 23 with attrs['fatal'] = f.number_dead;
... View more
a week ago
|
1
|
1
|
56
|
Title | Kudos | Posted |
---|---|---|
1 | 6 hours ago | |
1 | yesterday | |
1 | Monday | |
1 | a week ago | |
1 | a week ago |
Online Status |
Online
|
Date Last Visited |
8 hours ago
|