|
POST
|
I would recommend against the use of the interceptor for this use case. Just make sure you specify the parameters correctly and you can just extend the BaseTileLayer, which will help a lot as you try to use other parameters and options from these services. Using the interceptor to ignore improperly formatted URL parameters might lead to other issues as you try other settings.
... View more
08-01-2022
12:55 PM
|
0
|
0
|
479
|
|
POST
|
...but that doesn't quite give us the final solution as those parameters still have undesired encoding of the '+' sign for spaces. Here's a code pen showing how to configure the parameters correctly: https://codepen.io/john-grayson/pen/ExEozep
... View more
08-01-2022
08:55 AM
|
0
|
0
|
1547
|
|
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
|
1548
|
|
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
|
1420
|
|
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
|
1422
|
|
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
|
1440
|
|
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
|
2470
|
|
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
|
983
|
|
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
|
2364
|
|
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
|
2377
|
|
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
|
1659
|
|
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
|
1068
|
|
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
|
734
|
|
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
|
2521
|
| 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 |
10-24-2024
06:01 PM
|