Giter Club home page Giter Club logo

osm-edit-report's Introduction

OSM Edit Report

Reports editing activity of the Mapbox Data Team on OpenStreetMap.

Setup

  • To setup osm-edit-report make sure you have node and npm installed.
  • clone the repository and run npm install.
  • run npm start to run the application in dev mode.(Note: this will automatically open a browser for you)

Deploying

  • To deploy changes make sure you first commit.
  • run npm deploy to deploy on hey-pages
  • run npm run deploy-mb to deploy it on mb-pages (aka mapbox.com).

API and architecture

This project makes use of react, redux and ramda . It hits the osm-comments-api/stats end point for the data.

Few things to note.

  • The codebase doesn't hit the api for user filtering. It does it on the front-end.
  • The codebase also doesn't hit the api for tags filtering and does the filtering itself.
  • It relies on http code 304 for caching identical requests.

osm-edit-report's People

Contributors

ajithranka avatar kepta avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

osm-edit-report's Issues

X-axis for charts

Two issues with charts:

  1. Hours that don’t have any data don’t show up, making the X-Axis labels weird (because they seem to be equally spaced, but aren’t). We should show gaps and show all hours.

screenshot 2017-03-02 11 33 27

  1. For long time range, the chart only shows a subset (there’s possibly a min-width for each bar). I’m not sure what’s the best approach here, but we could start by showing the whole range in the x axis and using Brush Bar chart slider to show the range being shown in the chart.

screenshot 2017-03-02 11 26 40

screenshot 2017-03-02 11 32 10

cc @kepta @ajithranka @geohacker

Edite-report showing inaccurate counts

This query does not give the actual number of edits and usernames:
https://www.mapbox.com/osm-edit-report/?bbox=-90.95336466285664%2C34.5084453790996%2C-88.99528174048243%2C36.02612015913877&dateFrom=2017-03-27T19%3A00%3A00Z&dateTo=2017-03-28T19%3A29%3A59Z&tags=building&users=manings%2Cpoornibadrinath%2Csaikabhi%2CJothirnadh%2Csamely%2Cdannykath%2Ccalfarome%2CLuis36995%2Ckaritotp%2Cpiligab%2Cyurasi%2CRichRico#

Context we did a fast mapping sprint in AYC office today. For our Memphis task, we mapped 3944 buildings for 12 mapper in one hour. The edit-report shows only 322 buldings and 6 mappers.

Removing filters, it shows the same count for buildings.

@kepta

Duplicate changesets

The following query to server
https://osm-comments-api.mapbox.com/api/v1/stats?from=2017-03-13T18:00:00.000Z&to=2017-03-13T20:00:00.000Z&users=andygol

Results in same changeset (46821189) spread across two hours, I dont know what the best way would be to represent it in the visualisation. Currently the application is double counting it.

cc @ajithranka @geohacker

osm edit report is down

Bug Report
Opened osm edit report to check stats.
The page said new version of "osmcha" is available and click ok to update, after clicking ok, it started to show 'Error."NETWORK_ERROR"'
cc @kepta

Explicit button to apply date filters?

Scenario:

I want to search for some data for a few days from, say, 2 months ago. I click the from calendar widget and move to select my from date for 2 months ago. As soon as I select this data, it tries to make a really big query of that from date to my currently selected to date, which is likely to be today. This can be slightly jarring as a user, and it also makes this huge query to the back-end, which is probably not required / was not the user's intention.

I think it will be better to have an explicit Apply button or so which the user needs to click after selecting their date range, to apply the date range filter. Updating automatically on-change would be nice if the server could handle arbitrarily large date ranges without slowing down a bit, but right now it seems to me that this works better with an explicit apply.

It's not that important to do if it changes implementation complexity too much and would let @rasagy take the call on whether it makes sense design-wise.

cc @kepta

Show current filters

Right now it's a bit easy to lose context of what your current filters are - you need to click each filter explicitly to see if filters are applied.

Not sure if it maybe nice to have a little section which shows what the user current filters are, or some visual indication of currently active filters.

Feel free to close if it doesn't seem important.

cc @rasagy @kepta

Add the ability to use the tool for custom mapping projects (mapping parties)

I'm submitting a feature request to enable the use of the osm-edit-report to support OSM mapping parties with custom list of users or custom hash-tag (filtering OpenStreetMap changesets by a specific comment) [1].

I have been organizing online mapping partyes for many years and I've always faced the challenge of visualizing the staticstics of participants. I have to manually parse the changesets, manually update the list of the leaders daily or weekly.

The use of your tool helped me and hundreds of other to work more productively with OSM

Please modify the code and add instructions for deploying your product for custom multi-user OSM mappinr-party projects.

Thanks!

  1. https://resultmaps.neis-one.org/osm-changesets?comment=ТЗ_33

Leaderboard / MapTech dashboard

Let's use this ticket to outline dashboard needs specific for the Map Technician role - this will be an extension to OSM Edit Report, but let's get down the features we'd like. Some things on top of my mind:

  • Extend of mapping - show changeset bboxes
  • Filter for the set of users into a different view?
  • Show current mapping projects / area of interests
  • . . .

cc @planemad @maning @rasagy @batpad @ajithranka @kepta @abhisheksaikia @ramyaragupathy @shvrm @michaelsteffen @jinalfoflia

Comparing today with past average.

As per conversation with @planemad, we need to have more emphasis on how today compares with the previous days performance.

  • We could add an up and down arrow to show how it performs with the average.
  • We can highlight the table column for today.

Documentation

@kepta @ajithranka let's document:

  • setting up the project
  • running it locally
  • where the API is and where the data comes from

anything else?

Unable to access OSM Report since 31st August

I'm submitting a _ bug report

Brief Description

@mapbox/map-squad monitor their progress using the edit report

What is the motivation / use case for this feature?

What is the current behaviour, (attach relevant screenshots) ?

What is the expected behaviour ?

When does this occur ?

How do we replicate the issue ?

1.Try to access https://www.mapbox.com/osm-edit-report/?dateFrom=2017-08-30T18%3A30%3A00.000Z&dateTo=2017-08-31T18%3A29%3A00.000Z&users=ashleyannmathew
2.Get an error page. See the screenshot.
image

  1. It is happening from August 31 morning IST

@geohacker

Please tell us about your environment:

Other Information / context:

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.