6

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.

1

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.

0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.