|
POST
|
Hi there, 195MG is huge. :). The limit of the image depends on the machine's GPU limit, but a safe maximum size is 2048x2048px. Image this big will take more time to be fetched and displayed.
... View more
06-07-2022
10:53 AM
|
0
|
0
|
942
|
|
POST
|
Hi @JayHill We fixed this issue at 4.24 and it will be released end of June. In meantime, you can test the fix on our next version: https://codepen.io/U_B_U/pen/dyVQwXy?editors=1000
... View more
06-07-2022
09:39 AM
|
0
|
0
|
8027
|
|
POST
|
Hi there, We fixed this issue at 4.24. You will be able to verify the fix on our next version (<script src="https://js.arcgis.com/next/"></script>) sometime tomorrow. -Undral
... View more
06-07-2022
09:20 AM
|
0
|
0
|
1800
|
|
POST
|
@ChadKahler, @JeremySwagger, @BWScientiaLLC and @mpianka Just want to let you know we are adding support for this at 4.24. You can use MediaLayer (new at 4.24) to add static images or videos on your map. You can test it out using our next version as of today. Please check it out and if you have any questions or feedback please let me know. https://github.com/Esri/feedback-js-api-next/blob/master/CHANGELOG.md
... View more
06-01-2022
12:01 PM
|
3
|
1
|
4610
|
|
POST
|
Hi @MikeV , Just want to let you know we are adding support for this at 4.24. You can use MediaLayer (new at 4.24) to add static images or videos on your map. You can test it out using our next version as of today. Please check it out and if you have any questions or feedback please let me know. https://github.com/Esri/feedback-js-api-next/blob/master/CHANGELOG.md
... View more
06-01-2022
11:59 AM
|
1
|
0
|
2627
|
|
POST
|
Brandon, We changed the api code to have a default algorithm (tie-lab) for colorRamps. So hopefully you should not see a difference. You can test your app by pointing to <script src="https://js.arcgis.com/next/"></script>) The changes will be on next version later on June 2nd. Please feel free to ping me if you still see issues.
... View more
05-26-2022
11:05 AM
|
1
|
0
|
4891
|
|
POST
|
Hey @Brandon-Ellis So I wanted to let you know what our tests did not show any behavior changes in different JS API or server versions. In any case, server-side rendering requires the colorRamp to have algorithm specified. If not it ignores the0 colorRamp and creates black and white image. So we updated the JS API to add cie-lab algorithm by default if the algorithm is not specified. We also have updated the RasterStretchRenderer.colorRamp document to explain this new behavior and the doc change will show up at 4.24. Hope this helps
... View more
05-26-2022
09:40 AM
|
1
|
1
|
4899
|
|
POST
|
Hi there, This issue will be fixed at 4.24 (will be released late June). You can try out the fix in our next version( <script src="https://js.arcgis.com/next/"></script>) and the fix will be available on next by Tuesday next week. Here is an updated codepen app to point to next. Please note that the fix is not in there until next Tuesday. https://codepen.io/U_B_U/pen/eYVWwvw?editors=100 Hope we can mark this issue as resolved.
... View more
05-25-2022
10:01 AM
|
1
|
2
|
11012
|
|
POST
|
Hi there, So I talked to the developer about toggling layer visibility. We do not run tracing while the layer is invisible. So it does not load, process or render the data while invisible. So yes toggling layer visibility will be the most efficient way. The flashing happens only your app. I have not spend time debugging it though. If I pull out necessary code then the layer loads without flashing. https://codepen.io/U_B_U/pen/ExQXxma?editors=1001
... View more
05-19-2022
04:13 PM
|
1
|
0
|
11019
|
|
POST
|
Hi there, @Brandon-Ellis this is a bug for ImageryLayer with RasterStretchRenderer. :(. I created an issue for this and will let you know once it is fixed. You can perhaps just toggle the visibility between the two layers in your app? If you need to add or remove layers at runtime, then you can remove the layer and destroy it... then add a new instance of the layer as shown in this app: https://codepen.io/U_B_U/pen/gOvWNKe?editors=1000
... View more
05-19-2022
12:14 PM
|
1
|
0
|
11027
|
|
POST
|
Hi there, Can you set up a simple codepen app to showcase this? You can set it up using any layer as long as it shows the issue. Thanks.
... View more
05-18-2022
08:46 AM
|
0
|
0
|
11038
|
|
POST
|
Hi there, I do not see any difference between 4.20, 4.21, 4.22 for RasterStretchRenderer with colorRamps being applied to ImageryLayer. The format default is jpgpng for most dynamic services unless the service has vector field data. Perhaps, 4.22 was able to understand one band vector field image service and requested the data in lerc format. Vector field image services mostly have two bands magnitude and direction. The renderer is applied on the client-side if we request the data in raw format of lerc. For image outputs, the server processes data. In any case, I will follow up with the server team to see what is going on this case.
... View more
05-17-2022
03:00 PM
|
1
|
1
|
4907
|
|
POST
|
Hi there, You don't have to set bandIds or statistics when working with single band images. RasterStretchRenderer uses the statistics from the specified band or the only band by default. I suspect that your service's stats are maybe off. Can you try following two things? 1. Set the ImageryLayer.format to lerc so that the RasterStretchRenderer is applied on the client-side. if image formats are being requested, then the server processes the data and returns an image. 2. Can you set the stats on the RasterStretchRenderer and modify your stats as needed? I updated the codepen to use single band image service and removed the flow-renderer part (but works with flow renderer as well). https://codepen.io/U_B_U/pen/gOvmmyr?editors=1000 I am setting the service's stats directly on the renderer to show how this is done. You can get the stats from the service rest end point or can get them from ImageryLayer.serviceRasterInfo. In any case, you probably have to play with the numbers. const temperatureLayer = new ImageryLayer({
url: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/CharlotteLAS/ImageServer",
renderer: {
colorRamp,
stretchType: "min-max",
type: "raster-stretch",
statistics: [{
avg: 712.371337411377,
max: 1611.125,
min: 515.6699829101562,
stddev: 45.56883666949917
}]
},
format: "lerc"
});
... View more
05-17-2022
09:53 AM
|
1
|
1
|
4917
|
|
POST
|
Hi there, Glad you got it working. Please feel free to mark this issue as resolved.
... View more
05-17-2022
09:34 AM
|
1
|
0
|
3396
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-17-2025 03:29 PM | |
| 1 | 07-09-2025 08:48 AM | |
| 2 | 07-08-2025 08:09 AM | |
| 2 | 07-07-2025 03:57 PM | |
| 1 | 06-11-2025 03:25 PM |
| Online Status |
Offline
|
| Date Last Visited |
12-01-2025
08:03 AM
|