AnswerBun.com

Convert a huge PNG picture to an interactive, zoomable map?

Software Recommendations Asked on October 4, 2020

I generated a 65k x 65k (4 gigapixels) image that is basically a visualisation of the entire IPv4 address space from one perspective:

Hilbert curve of rDNS distribution in the entire Internet

No browser is willing to load an image that big, claiming it might be a gzip-bomb. This means I’m forced to split it into tiles at different zoom levels and add a front-end for interactive browsing of the map, just like in Google Maps (but for the IP addresses).

Is there a project that would let me do it quickly? Right now I’m thinking of experimenting with Leaflet’s CRS-Simple, but that means I would have to figure out the alignment of the tiles, etc. to get a complete project. Is there an “all-in-one” solution that starts with a huge image and ends with a zoomable map? Bonus points if it supports Hilbert curves, or even better – IPv4 Hilbert curves, though just having an interactive map generator would be good.

3 Answers

Besides gdal2tiles, you could use vips. Details are in here: https://stackoverflow.com/a/51852934/10168903

If you want a GUI based solution, you could use Photoshop or Microsoft Image Composite Editor. You would need a plugin from zoomable.ca though.

Answered by Team Zoomo on October 4, 2020

You could use the Syncfusion Essential JS2 Maps component. This will load any image/tile from the server and render it as a map. Also, it provides many user interactive features.

Answered by Jaya on October 4, 2020

You could use gdal2tiles to generate an image pyramid that leaflet or openlayers can use to display your image in a browser.

There is a fairly comprehensive tutorial or a github project that wraps the code for plain images like yours and generates the required html page.

Answered by Ian Turton on October 4, 2020

Add your own answers!

Related Questions

C++ library for 3D curve fitting

1  Asked on January 6, 2022 by vbcnxm

     

Java library providing make-like functionality

1  Asked on December 30, 2021 by user13297

   

Tools for collaboration between units

3  Asked on December 30, 2021 by user2341596

   

How to better use PC camera?

1  Asked on December 26, 2021 by martin-zaske

       

Open source backup software

2  Asked on December 26, 2021

       

A tool or platform to build multiuser newspaper-like site?

0  Asked on December 24, 2021 by zbyszek

     

Search for text in some videos

0  Asked on December 20, 2021

     

Video splitting tool

1  Asked on December 19, 2021

   

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP