![](http://www.kyralovi.cz/tmp/josm/pointInfo_20140327.png) --- # 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 * Marián Kyral ##Websites * OSM wiki - not available yet * [JOSM svn](https://trac.openstreetmap.org/browser/subversion/applications/editors/josm/plugins/pointInfo) * [Github](https://github.com/mkyral/josm-pointInfo) ##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 : * [![](https://raw.githubusercontent.com/mkyral/josm-pointInfo/master/images/dialogs/open-external-link.png)] Open on external site * [![](https://raw.githubusercontent.com/mkyral/josm-pointInfo/master/images/dialogs/copy-tags.png)] Copy tags to clipboard * [![](https://raw.githubusercontent.com/mkyral/josm-pointInfo/master/images/dialogs/create-addr.png)] Create an address point on position where was clicked * [![](https://raw.githubusercontent.com/mkyral/josm-pointInfo/master/images/dialogs/create-addr-ruian.png)] 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 ```java /** * 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) { } ```