Class WMS1_3_0.GetMapRequest

    • Constructor Detail

      • GetMapRequest

        public GetMapRequest​(URL onlineResource)
    • Method Detail

      • initVersion

        protected void initVersion()
        Description copied from class: AbstractRequest
        Sets up the version number for this request. Typically something like setProperty("VERSION", "1.1.1");
        initVersion in class WMS1_1_1.GetMapRequest
      • setSRS

        public void setSRS​(String srs)
        Description copied from class: AbstractGetMapRequest
        From the Web Map Service Implementation Specification: "The required SRS parameter states which Spatial Reference System applies to the values in the BBOX parameter. The value of the SRS parameter shall be on of the values defined in the character data section of an <SRS> element defined or inherited by the requested layer. The same SRS applies to all layers in a single request. If the WMS has declared SRS=NONE for a Layer, then the Layer does not have a well-defined spatial reference system and should not be shown in conjunction with other layers. The client shall specify SRS as "none" in the GetMap request and the Server may issue a Service Exception otherwise."
        Specified by:
        setSRS in interface GetMapRequest
        setSRS in class AbstractGetMapRequest
        srs - A String indicating the Spatial Reference System to render the layers in.