Giter VIP home page Giter VIP logo

nominatim-data-analyser-frontend's Introduction

Nominatim-Data-Analyser-Frontend

The Nominatim Data Analyser is a QA tool used to scan the nominatim database and extract suspect data from it. These data are then presented to mappers through this webapp developed in Svelte. The repository of the main backend can be found here: Nominatim-Data-Analyser.

How to build

By default, the frontend will load its data from the official Nominatim QA service at https://qa-tile.nominatim.openstreetmap.org. If you want to use your own data, set the environment variable NOMINATIM_QA_WEBPATH to the URL of the QA service.

Building requires yarn2. If your system only ships with classic yarn (as with current Debian/Ubuntu distros), enable yarn2 by running the following commands from the root folder:

yarn set version berry
yarn set version stable

To build the app go into the root folder and run:

yarn install

This will install all the dependencies required by the app and then run:

yarn build

Then you need to serve the public/ folder with any webserver to access the app.

nominatim-data-analyser-frontend's People

Contributors

antojvlt avatar lonvia avatar matkoniecz avatar mtmail avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nominatim-data-analyser-frontend's Issues

Page does not always load correctly on first try

When going to the page, it sometimes shows text place holders at the place of the arrow and cross icons and the layer list has the wrong format. This looks like a race condition when some of the resources takes to long to read. The behaviour is unfortunately not reproducable but I've seen it a couple of times now.

make it easy to share current map position

Osmoscope adds URL fragments with current map position and zoom whenever one moves the map, e.g. #map=17.991666666666667/6.8867/52.24745 This makes it easy to share the current view with other users.

fix Firefox issue

You might encounter some performance issues with some layers if you are using the Firefox browser. Please switch to another browser if this is the case.

What is going on? I see no open issue for that - is it a Firefox bug? Upstream bug? It would be nice to link it so I can at least go there and upvote the issue.

Show all errors layer

When editing just in my city it would be nice to show all errors at once.

More variety.
No need to check several layers.
No pointless opening of empty layers.
Easier to edit things in area known to me.

Bring back the edit button

Osmoscope has a direct link to loading an OSM object directly in JSOM or ID. I think that would be useful too have here too.

Zooming in with the mouse often doesn't load the vector layer

When I zoom into the map by pressing the Shift key and drawing a rectangle on the map with a mouse, the vector layers often don't get loaded correctly. Tore produce

I suspect that it happens when I hit a zoom level for which there are no vector tiles defined. Instead of loading the ones for the next lower level, it simply does nothing.

Zoom to cluster by extent

Clicking on a cluster to zoom in is a cool feature. Frequently it works well but just as often it doesn't zoom in enough. If I understand the code right, then it zooms in to the zoom level given by the cluster. I wonder if it would work better if the cluster would communicate the bounding box for of the features it contains. The map could then zoom directly to this extent.

Remember that the info box was closed

The info box has to be closed again every time I visit the site. It would be nice, if it remembered the state, preferably using local storage and not cookies.

Allow relative URLs in layer configuration

It would be nice if the UI allows relative URL names in the global layers.json and each layer.json file. These URLs should then be interpreted as relative to the position of each configuration file.

With this change there would no longer be a need for the Nominatim-Data-Analyser to know about where the data is served when generating its layers.json file. Makes development deployments a tiny bit easier.

Ignore non-existent layers

The site fails to load when one of the layer description files cannot be found. It would be nice, if it just shows a warning and loads the other layers anyways.

Pull in Nominatim details info

I was about to suggested to add a link to the Nominatim details page for each feature but then I realised that we have a nice JSON API for the details, so we could pull in the information and show it directly in site. This should only be done after an explicit request for the details, not simply when a feature is clicked to save the Nominatim server some bandwidth.

Add export to JOSM

One of Polish mappers (heavily involved in address fixing) mentioned that "edit to JOSM" button would be welcomed

Zooming via clustered Features is rather erratic

I think we need to do something about zooming in when clicking on clusters. I get really odd behaviour at times. Sometimes it zooms out instead of in, sometiles it doesn't zoom at all.

Example of not zooming at all: https://nominatim.org/qa/#map=10.00/35.32/139.91&layer=same_wikidata (try clicking on the large 3-digit number, "172" as of today)

I can't provide an example where it zooms out. I think what happens is that there is a place where there is no tile at the current zoom level, so the cluster item of a lower zoom level is shown instead.

Add zoom controls

The usual zoom controls for zooming in and out would be nice to have. Also I often wish for a button that brings you back to world view.

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.