Package org.geotools.data.ows

Examples of org.geotools.data.ows.AbstractGetCapabilitiesRequest


*/
public class GetCapabilitiesRequestTest extends ServerTestCase {
    public void testGetCapabilitiesRequest() throws Exception {
        URL testURL = new URL(
                "http://office.refractions.net:4001/cgi-bin/mapserv?map=/opt/dra2/orthophotos/tiles.map&");
        AbstractGetCapabilitiesRequest request = new Request(testURL);
        URL finalURL = request.getFinalURL();

        int index = finalURL.toExternalForm().lastIndexOf("?");
        String urlWithoutQuery = null;
        urlWithoutQuery = finalURL.toExternalForm().substring(0, index);

View Full Code Here

TOP

Related Classes of org.geotools.data.ows.AbstractGetCapabilitiesRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.