Skip to content
Moritz Riede edited this page Apr 10, 2024 · 13 revisions
Screenshot 2024-04-09 at 14 26 36

Hi there! 👋

This is the official wiki of the eox-ar project.

Looking at this page should only be necessary if you are actively working on the source code of the AR demonstrator. Otherwise, just open the deployed page on a device with a camera, allow the usage of the camera and point your device camera at the Hiro marker found in the README of this project.

Using custom markers (for example with ESA logo) is still a work-in-progress as I did not manage to get the framework to recognize my EOX marker made with the AR.js Marker Training. It's possible the EOX logo is not suitable for this purpose as it has a number of fine details. More research is needed.

Config

Just like my Minesweeper game, this project extracts, interprets and renders geospatial data from a GeoTIFF file. The configuration object of the AR demonstrator is very similar to the minesweeperOptions object used in eodash:

{
  geotiff: {
      bbox: [-1.406250, 40.647304, 22.236328, 54.007769], // Europe
      url: 'https://eox-ideas.s3.eu-central-1.amazonaws.com/GHS_POP_E2020_GLOBE_R2023A_4326_3ss_V1_0_4326_COG_cutout.tif',
      projection: 'EPSG:4326',
      width: 20,
      height: 10,
  },
}

Parameters

bbox

The area on the globe where bars will render.

url

Where to load the GeoTIFF data from.

projection

The map projection of the GeoTIFF input.

width

How many 3D bars to place horizontally across the width of the GeoTIFF bounding box.

height

How many 3D bars to place vertically across the height of the GeoTIFF bounding box.

Clone this wiki locally