Sie sind nicht angemeldet.

  • »YASUSHI KUMON« ist der Autor dieses Themas

Beiträge: 94

Wohnort: kanagawa,japan

Beruf: photographer

  • Nachricht senden

1

Samstag, 18. Dezember 2021, 04:18

How to speed up the display of a large number of polygonal hotspots

Hi all,I am making a hazard map using aerial panorama.

Displays the area indicating the alert area as a polygonal hotspot.


The code that describes the points of the polygonal hotspot exceeds 50,000 lines and takes a long time to display. Encrypting the xml or removing the blanks didn't speed things up.


sample pano

https://chiiden.com/panorama/2021/grid_poly/
poligonal hotspot xml download

https://chiiden.com/panorama/2021/scene_VR20_poly.zip

In addition, the sample presented here summarizes the hotspots in the caution area into one, but the actual display has about 20 layers, and you can switch between showing and hiding each.


If you know any good way, can you give me some advice?

Thank you!
Yasushi Kumon

2

Samstag, 18. Dezember 2021, 20:02

Hi,

in version 1.21 it will be possible to define the points for polygonal hotspots also this way:

Quellcode

1
<hotspot ... points="h,v,h,v,h,v,..." />
and that will be much faster.

I have tested your example with a transformed xml (attached) and the load/parse time went from ~3800ms to ~300ms on my test-system.

Best regards,
Klaus

  • »YASUSHI KUMON« ist der Autor dieses Themas

Beiträge: 94

Wohnort: kanagawa,japan

Beruf: photographer

  • Nachricht senden

3

Montag, 20. Dezember 2021, 02:38

Hi klaus,
Thank you for your nice advice.I will try.
thank you!

Yasushi Kumon

  • »YASUSHI KUMON« ist der Autor dieses Themas

Beiträge: 94

Wohnort: kanagawa,japan

Beruf: photographer

  • Nachricht senden

4

Montag, 20. Dezember 2021, 04:25

Hi klaus,
By the way, when will v1.21 be released?
looking forward to it.

Thank you.

Yasushi Kumon