Giter Site home page Giter Site logo

sonnendach-ui's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

jeffallen

sonnendach-ui's Issues

GetLocation Error Handling

The GetLocation-Feaure ist not always working because of client preferences (security). The user has to be informed properly about the reason why the locating-function doesn't work.

Translations

We need to think about how we want to do translations. Javascript? Pre-Rendered or even a service like teletext.io?

To be decided.

hidden-localized & show-no-roof

When I click somewhere with no roof sometimes only hidden-localized is active and sometimes hidden-localized and show-no-roof is active.

When I click somewhere with no roof, the marker is still an top of the old selection. -> Should disappear

Address-Problem

Beim klicken auf eine Dachfläche entstehen in der Realität nicht existierende Adressen. Ein Beispiel: Wenn ich "Neuhof 1 6028 Herlisberg" eingebe (Hof meiner Eltern), dann findet es das Problemlos. Wenn ich dann auf die ausgewählte Dachfläche klicke, wechselt die Adresse links auf "Neuhof 1 6028 Römerswil". Herlisberg gehört zwar zur Gemeinde Römerswil, hat aber eine eigene Postleitzahl. Die PLZ von Römerswil ist 6027.

improve print-view

  • header
  • include all attributes
  • texts & translations
  • canton-specific informations!
  • map: don't allow to click, pan & zoom
  • map: include Marker again

PDF Export or HTML Print

In a first version, all information will be printed out directly from a html page. We propose to use a api3 standard extended tooltip (including map to show object) for this functionality - optimized with print in mind.

The extended tooltip will not appear in map.geo.admin.ch in the tooltip. In the tooltip, the link will be to sonnendach.ch. On sonnendach.ch, there will be a link back to the api3 extended tooltip.

Requests to get best roof of a building

As discussed this morning, a requirement is to get the best roof for a building when doing an identify request (which is either triggered by search or by geolocation. This is not supported out of the box because the datamodel is roofs. Anyhow, roofs have a building id which is the same. So the approach is to do a standard identify request and a second request to get all roofs for this building.

Identify request (simulating a requestion on the map)

In the results of the requests above will be 1 or more roof parts. To get each roof for a given building, the find service is used to get all roof parts of a given building, using the building_id parameter of the previous request.

Corresponding find request

With the second requestion, you will be able to determine the 'best roof' client side and displaying the corresponding values to the user.

Data extent query

The dataset will be updated over years. It will start with ca.1/3 of the complete dataset. Each update will contain a perimeter for the complete dataset. This perimeter is a) visible on low zoom levels and b) should be queryable from a client to quickly determine if a given location is inside or outside the perimeter.

improve print-view

  • explain calculation of Franken
  • disclaimer about how to use data, what to consider

Two headers & url-parameter

Besides the normal bund-header, we also need an EnergieSchweiz-header
You can select the needed header by a parameter in the url

italian/english

translate text to Italian for Tessin

and romansh for Graubünden

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.