hn.today

Georeferencing Chernarus and visiting in real life (2021)

longcreek.me25 points5 comments
Screenshot of Georeferencing Chernarus and visiting in real life (2021)

A practical how-to walks through obtaining high-resolution raster tiles of the fictional Chernarus map (from Arma II/DayZ), stitching them into one image, georeferencing that image to the real landscape near Ústí nad Labem in Czechia, and loading the result onto a Garmin handheld for in-field use. It gives concrete commands and URLs (e.g. the iZurvive tileserver pattern), shows a shell loop to download tiles at zoom 6 and a montage/Imagemagick pipeline to assemble them, and notes quirks like mislabeled .png files that are actually JPEGs. The author demonstrates that many in-game buildings align with the real area and used the georeferenced map while hiking.

The georeferencing workflow is QGIS-based: convert the stitched image to PNG, add 10-15 ground control points by matching recognizable road/junction features, choose Polynomial 2 transform and suitable resampling, and aim for residuals under ~10 px. Set the target SRS to EPSG:4326 for Garmin compatibility, export a GeoTIFF, then use GDAL-backed Python tools (gdal2kml.py and kml2kmz.py) to produce a chernarus.kmz. Finally, copy the KMZ to /Garmin/CustomMaps/, reboot and enable the custom map on the device. Practical tips for GDAL installation on Linux/Windows and display tweaks (Multiply blending) are included.

Read on longcreek.me5 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Science

Bologna Bottle

Bologna Bottle

A Bologna bottle is a type of glass container with high external strength but fragile interior, created through rapid cooling on the outside and slow cooling inside during manufacturing. It is used mainly in magic tricks and demonstrations due to its unique stress properties, making it both durable externally and easily shattered internally. (en.wikipedia.org)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.