Skip to content

Latest commit

 

History

History

pointInfo


PointInfo plugin

This plugin shows all available information for clicked point from external database. There is only a Czech RUIAN module available at this moment.

Plugin could be easy extend to show another data source.

##Author

##Websites

##Licence:

  • GPL v2 or later

###The RUIAN module

  • Shows data about building, addresses, streets, parcels and cadastral area from Czech RUIAN registry (http://wiki.openstreetmap.org/wiki/RUIAN)

  • Additional actions are available :

    • [] Open on external site
    • [] Copy tags to clipboard
    • [] Create an address point on position where was clicked
    • [] Create an address point on position defined in RUIAN

###The interface:

  • Input is position, output html string that is shown on message.
  • Optionally you can define special links (file://...) that will be sent back to the module to the performAction method
    /**
     * Get a information about given position from external database.
     * @param pos Position on the map
     */
    public void prepareData(LatLon pos) {
    }

    /**
     * Return Html text representation
     * @return String htmlText
     */
    public String getHtml() {
    }

    /**
     * Perform given action
     *  e.g.: copy tags to clipboard
     * @param act Action to be performed
     */
    public void performAction(String act) {
    }