Git Product home page Git Product logo

skraafoto_frontend's Introduction

skraafoto_frontend

skraafoto_frontend (Skraafoto) is an application that lets users browse oblique arial photographs (skråfotos) in a web browser. Photographs are fetched using Skråfoto STAC API.

The full documentation is available at https://sdfidk.github.io/skraafoto_frontend/

For information on running local servers and testing, see Instructions for installation

Provided by Styrelsen for Dataforsyning og Infrastruktur 2023

skraafoto_frontend's People

Contributors

iamfrank avatar rasmustoender avatar gebuz avatar fladmas avatar askefc avatar karstenpihl avatar

Stargazers

 avatar Henrik H. Boelsmand avatar Mikkel Kirkgaard Nielsen avatar  avatar  avatar Alex Hersfeldt avatar  avatar  avatar  avatar Javier avatar Simon Juulsgaard Mathiasen avatar Alexander Matzen avatar iain maitland avatar Anders Barfod avatar Philip Munksgaard avatar Jim Young avatar Amalie Polano avatar

Watchers

Thomas Clausen avatar Jonas Lund Nielsen avatar  avatar rasmus johansson avatar  avatar  avatar Jorgen Larsen de Martino avatar  avatar Anette Hansen avatar  avatar

skraafoto_frontend's Issues

Shortkeys interfere with search

Shift+arrow shortkeys interfere with address search. Using shift+arrowLeft to mark a selection in the input field activates image rotation. Also you can't write capital letters using shift+letter in the input field.

Webtilgængelighed: SHIFT + TAB ignoreres

Når man trykker på SHIFT + TAB vil man normalt navigere til forrige interaktive element (link, knap osv.).
https://skraafoto.dataforsyningen.dk/ ignores dette dog, hvilket gør det lidt besværligt at bruge tasteturet til at navigere med.

En hurtig søgning, og jeg har fundet denne funktion, som jeg vurderer er kilden til problemet:

function keyDownHandler(event) {
const isShiftKeyPressed = event.shiftKey;
const isInputField = event.target.tagName === 'INPUT'
if (isShiftKeyPressed && !isInputField) {
event.preventDefault()
switch (event.key) {
case 'ArrowDown':
shiftItemTime(0, -1)
break
case 'ArrowUp':
shiftItemTime(0, 1)
break
case 'ArrowLeft':
shiftItemOrientation(-1)
break
case 'ArrowRight':
shiftItemOrientation(1)
break
default:
// Handle other keys if needed
break
}
}
}

Check styles

Check general styles now that @dataforsyningen/css has been upgradd.

Improvement: Bedre cachebusting af statiske filer

Ikke alle javascript- og CSS-filer bliver bygget med et nyt navn, når vi sender til prod.
Det betyder, at brugere bliver nødt til at lave hard refresh i deres browsere for ikke at få gamle fejl.

Det kan vi sikkert gøre bedre.

Unable to load views within VDI session

Hi SDFI.

We have a client that relies on skraafoto.dataforsyningen.dk in their daily work and has now switched to a VDI desktop for their work.
Here we are unable to view any of the pictures that accompany the 2d view of the addresses entered. The VDI session is GPU accelerated and we have confirmed this by running
image

We in IT have tried a lot of things and these are our findings:

  • it works in Microsoft Edge & not Google Chrome Chrome
  • When opening Chrome Dev Tools we see this error in the console
    image
  • We have tried to disable hardware acceleration but this did not do anything

Anyway, we can provide logs or other ways of reporting this issue to make your life easier?

Performance issue

A user comments that having https://skraafoto.dataforsyningen.dk open in a browser for too long (how long?) causes the computer to become hot (browser undisclosed).

Obviously there is some computing going on - even when the user is not interacting with the web page.

My best guess is that the culprit is the loading animation. Since it never stops and just keeps spinning invisibly in the the background when all images are loaded. This was a hack. It might be improved by listening to OpenLayer's loadended or rendercomplete events and stopping the animation accordingly.

DHM data improvements

When using DHM WCS, clean out requests to kote endpoint.
Find acceptable lower level of precision in order to lower amount of DHM WCS data download.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.