Class MapRectifierWMSmenuAction.RectifierService

java.lang.Object
org.openstreetmap.josm.actions.MapRectifierWMSmenuAction.RectifierService
Enclosing class:
MapRectifierWMSmenuAction

Class that bundles all required information of a rectifier service
  • Field Details

  • Constructor Details

    • RectifierService

      public RectifierService(String name, String url, String wmsUrl, String urlRegEx, String idValidator)
      Constructs a new RectifierService.
      Parameters:
      name - Name of the rectifing service
      url - URL to the service where users can register, upload, etc.
      wmsUrl - URL to the WMS server where JOSM will grab the images. Insert __s__ where the ID should be placed
      urlRegEx - a regular expression that determines if a given URL is one of the service and returns the WMS id if so
      idValidator - regular expression that checks if a given ID is syntactically valid
  • Method Details