Decrypt compressed Geometry in Route Results Directions

257
1
Jump to solution
02-12-2024 12:42 AM
jauhari_mani
Occasional Contributor

Hi,

I have a network dataset hosted on my server. When I utilize it to compute a route, the response includes directions, containing attributes with textual information for navigation direction and a compressedGeometry encoded within. My goal is to extract and interpret this encoded geometry. Subsequently, I intend to use this decoded geometry to highlight the corresponding route on the map when a user selects a navigation string from the summary.

How can I decrypt this compressedGeometry to consume.

 

jauhari_mani_0-1707727247383.png

 

Regards,

Mani

0 Kudos
1 Solution

Accepted Solutions
jauhari_mani
Occasional Contributor

Update:
This geometry gets decompressed once this response is processed by Esri. No computation is required. The above screenshot is from the Network tab so this is the response from server.

View solution in original post

0 Kudos
1 Reply
jauhari_mani
Occasional Contributor

Update:
This geometry gets decompressed once this response is processed by Esri. No computation is required. The above screenshot is from the Network tab so this is the response from server.

0 Kudos