File | Line |
---|
org/deegree/remoteows/wms/OldWMSClient111.java | 549 |
org/deegree/remoteows/wms/OldWMSClient111.java | 812 |
map.put( "feature_count", Integer.toString( count ) );
if ( hardParameters != null ) {
for ( Entry<String, String> e : hardParameters.entrySet() ) {
if ( map.containsKey( e.getKey().toLowerCase() ) ) {
LOG.debug( "Overriding preset parameter {}.", e.getKey() );
map.put( e.getKey().toLowerCase(), e.getValue() );
} else
map.put( e.getKey(), e.getValue() );
}
}
url += toQueryString( map );
URL theUrl = new URL( url );
LOG.debug( "Connecting to URL " + theUrl );
URLConnection conn = ProxyUtils.openURLConnection( theUrl, getHttpProxyUser( true ), |
File | Line |
---|
org/deegree/remoteows/wms/OldWMSClient111.java | 361 |
org/deegree/remoteows/wms/OldWMSClient111.java | 411 |
OMElement bbox = capabilities.getElement( elem, new XPath( "LatLonBoundingBox", null ) );
if ( bbox != null ) {
try {
min[0] = Double.parseDouble( bbox.getAttributeValue( new QName( "minx" ) ) );
min[1] = Double.parseDouble( bbox.getAttributeValue( new QName( "miny" ) ) );
max[0] = Double.parseDouble( bbox.getAttributeValue( new QName( "maxx" ) ) );
max[1] = Double.parseDouble( bbox.getAttributeValue( new QName( "maxy" ) ) );
return new GeometryFactory().createEnvelope( min, max, CRSManager.getCRSRef( WGS84 ) ); |
File | Line |
---|
org/deegree/remoteows/wms/OldWMSClient111.java | 538 |
org/deegree/remoteows/wms/OldWMSClient111.java | 804 |
map.put( "query_layers", lays );
map.put( "styles", "" );
map.put( "width", Integer.toString( width ) );
map.put( "height", Integer.toString( height ) );
map.put( "bbox", bbox.getMin().get0() + "," + bbox.getMin().get1() + "," + bbox.getMax().get0() + ","
+ bbox.getMax().get1() );
map.put( "srs", srs.getAlias() );
map.put( "format", getFormats( GetMap ).getFirst() ); |
File | Line |
---|
org/deegree/remoteows/wms/jaxb/HTTPBasicAuthenticationType.java | 37 |
org/deegree/remoteows/wms_new/jaxb/HTTPBasicAuthenticationType.java | 37 |
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HTTPBasicAuthenticationType", propOrder = {
"username",
"password"
})
public class HTTPBasicAuthenticationType
extends AuthenticationType
{
@XmlElement(name = "Username", required = true)
protected String username;
@XmlElement(name = "Password", required = true)
protected String password;
/**
* Gets the value of the username property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUsername() {
return username;
}
/**
* Sets the value of the username property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUsername(String value) {
this.username = value;
}
/**
* Gets the value of the password property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPassword() {
return password;
}
/**
* Sets the value of the password property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPassword(String value) {
this.password = value;
}
} |