Code Monkey home page Code Monkey logo

josmrelationvalidation's Introduction

JOSM plugin for validating relations

Main montivation for this plugin came from my colleague Aleksandar Matejević who said that http://ra.osmsurround.org/ is awesome but checking each relation individually is PITA, hence I wrote this plugin that checks all relations loaded in JOSM.

How to install

The Relation Validation plugin can be installed via JOSM plugin manager.

  • Open Preferences -> Plugins
  • Search for the plugin "Relation Validation Plugin" and install it

How to use

  1. After installing plugin simply run validations.
  2. Any relation that has more than one disconnected graph which is not closed will appear as an error.
  3. Connect disconnected relation, notice there is possiblity of false positives...
  4. If you find any bug, report it on GitHub.

How to develop

We use Gradle plugin for developing JOSM plugins which simplifies things...

  • Install Gradle https://gradle.org/install/
  • Run gradle w to create wrapper in repo
  • Run ./gradlew run to compile and run JOSM which loads plugin

Debugging

  • Run ./gradlew debug
  • In VSCode start debugging

What this will do is start JOSM with listening for debugger to connect on port 2018, and VSCode will connect to that port and start debugging.

License

Since JOSM itself is GPL 3.0 it makes sense for this plugin to be too.

josmrelationvalidation's People

Contributors

davidkarlas avatar

Watchers

 avatar  avatar  avatar

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.