POST
|
I believe the issue is that the color_formula you're trying to use is already encoded. Using decodeURIComponents produces the following parameter: gamma+RGB+2.7,+saturation+1.5,+sigmoidal+RGB+15+0.55 As shown in the previous example I would recommend you try to configure the base part of the url (before the ? char) and all the parameters separately so you have better control of the URL being requested.
... View more
08-01-2022
08:24 AM
|
0
|
3
|
735
|
POST
|
Not sure if this helps as I'm not familiar enough with this service, but here's an example of how you can extend the BaseTileLayer to access the service and use custom parameters: https://codepen.io/john-grayson/pen/VwXWbjK
... View more
07-25-2022
10:35 AM
|
1
|
0
|
710
|
POST
|
Correct, the data you're trying to load seems to represent two distinct datasets and the way to configure each one is via the URL parameters and not as part of the base URL, so you will need two different layers. It always helps is you have a simple CodePen or similar showing us what you're trying, that way we can better understand your issues.
... View more
07-25-2022
08:26 AM
|
0
|
1
|
712
|
POST
|
The WebTileLayer supports the zxy format so something like this should work: let customTileLayer = new WebTileLayer({
urlTemplate: "https://planetarycomputer.microsoft.com/api/data/v1/item/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?collection=3dep-lidar-returns&item=VA_UpperMiddleNeckQL2_B2_2018-dsm-2m-1-2&assets=data&colormap_name=lidar-returns&nodata=-9999"
}); However, the service is returning this error: No item 'VA_UpperMiddleNeckQL2_B2_2018-dsm-2m-1-2' found in '3dep-lidar-returns' collection ...so the URL parameters are not correct.
... View more
07-22-2022
08:32 AM
|
1
|
3
|
730
|
POST
|
Are you converting to JSON before sending? What does the JSON representation of your updates object looks like? The REST endpoints only accept JSON and None is not valid in JSON, it needs to be null.
... View more
07-20-2022
04:12 PM
|
0
|
1
|
1401
|
POST
|
I don't see any documented events for dropdown-item, but dropdown does have a few events you should try out. I think calciteDropdownSelect probably give you what you're looking for via the selectedItems property.
... View more
04-29-2022
07:29 AM
|
0
|
0
|
527
|
POST
|
Why GraphicsLayer instead of FeatureLayer (with client-side Graphics)? You get more functionality when using a FeatureLayer... is there a reason why you can't use a FeatureLayer as shown in the last part of the CodePen I shared above?
... View more
04-07-2022
07:48 AM
|
0
|
2
|
1186
|
POST
|
Negative extrusion values work ok if using a FeatureLayer ( https://codepen.io/john-grayson/pen/QWaQpXd ) I don't think negative extrusion values are allowed for GraphicsLayer, so you can use a FeatureLayer with client-side Graphics instead. In the example above we use this technique to load the residential features, shown in green with a different offset.
... View more
04-05-2022
10:50 AM
|
1
|
0
|
1199
|
POST
|
Depending on how you're going to use it, you should be able to directly use the MapView.extent as the 'search/selecting/etc' geometry. If you absolutely need the geometry as a Polygon then maybe check out the 'fromExtent()' static method.
... View more
03-29-2022
08:03 AM
|
2
|
2
|
998
|
POST
|
Have you tried using a MosaicRule? Do you have a Codepen showing what you've tried so far?
... View more
02-26-2022
12:04 PM
|
0
|
1
|
606
|
POST
|
Your polyline is very long but only has a few points. For better display and analytical results, try to densify the polyline before creating a profile. https://codepen.io/john-grayson/pen/NWwaoBg
... View more
02-15-2022
07:46 AM
|
1
|
1
|
373
|
POST
|
Glad to hear you got it working. There are many ways to model and display the 'difference' between two rasters; two common types I use are relative and absolute. Displaying relative values show how much gain or loss is associated with each pixel. Displaying absolute difference will translate the results into three values: gain, loss, and no change. Depending on the source data and desired results you might want to add a Remap RF that narrows down the results into a well known set of values, then you could more easily match these values via a ColorMap RF. I hope this helps.
... View more
02-15-2022
07:40 AM
|
1
|
0
|
1348
|
POST
|
Do you have a CodePen showing the issue, or a URL to the image service? The link to the help topic provided above shows how to use the raster object id as input parameter to the raster function. If you're building some type of UI to pick the years then you'll need to know the available raster ids and how they corresponds to each year. Temporal information can be modeled in many different ways, but in your code above it seems to be part of a raster attribute so you can get those values via a query into the service. Additionally, you might need to chain together other Raster Functions to provide appropriate colors based on the the type of data or desired visualization, or maybe use an appropriate renderer. const changeDetectionLayer = new ImageryLayer({
url: imageServiceURL,
renderingRule: {
functionName": "Arithmetic",
functionArguments: {
"Raster" : "$5",
"Raster2" : "$6",
"Operation" : "2",
"ExtentType" : 0,
"CellsizeType" : 1
},
outputPixelType: "f32"
}
});
... View more
02-14-2022
05:36 PM
|
1
|
3
|
1361
|
POST
|
For the "Raster" and "Raster2" parameters, use the raster ids. For example, if "Reclass_IntYear2015" has an object id of 5 then the "Raster" parameter should be "$5". https://developers.arcgis.com/documentation/common-data-types/raster-function-objects.htm - Check out the section "Using rasters in rendering rules"
... View more
02-14-2022
08:23 AM
|
1
|
5
|
1385
|
Title | Kudos | Posted |
---|---|---|
1 | 03-07-2024 04:14 PM | |
1 | 02-23-2024 12:40 PM | |
1 | 03-01-2024 10:48 AM | |
2 | 08-03-2023 02:34 PM | |
2 | 07-19-2023 12:05 PM |
Online Status |
Offline
|
Date Last Visited |
Thursday
|