public GML32(GeoServer gs) { super(gs); gmlNamespace = GML.NAMESPACE; gmlPrefix = "gml"; gmlSchemaLocation = "gml/3.2.1/gml.xsd"; baseType = "AbstractFeatureType"; substitutionGroup = "AbstractFeature"; describeFeatureTypeParams = params( "request", "DescribeFeatureType", "version", "2.0.0", "service", "WFS", "outputFormat", "application/gml+xml; version=3.2"); xmlConfiguration = new org.geotools.gml3.v3_2.GMLConfiguration(); }
private Map<String, String> buildParentIdParams(OSEODescription description) { Map<String, String> params; if (description.getParentId() == null) { params = Collections.emptyMap(); } else { params = params("parentId", description.getParentId()); } return params; }
public GML3(GeoServer gs) { super(gs); profiles.add(createTypeMappingProfile()); gmlNamespace = org.geotools.gml3.GML.NAMESPACE; gmlSchemaLocation = "gml/3.1.1/base/gml.xsd"; baseType = "AbstractFeatureType"; substitutionGroup = "_Feature"; describeFeatureTypeParams = params("request", "DescribeFeatureType", "version", "1.1.0", "service", "WFS"); gmlPrefix = "gml"; xmlConfiguration = new org.geotools.gml3.GMLConfiguration(); }
public GML2(GeoServer gs) { super(gs); profiles.add(new GML2Profile()); gmlNamespace = org.geotools.gml2.GML.NAMESPACE; gmlSchemaLocation = "gml/2.1.2/feature.xsd"; baseType = "AbstractFeatureType"; substitutionGroup = "_Feature"; describeFeatureTypeParams = params("request", "DescribeFeatureType", "version", "1.0.0", "service", "WFS"); gmlPrefix = "gml"; xmlConfiguration = new GMLConfiguration(); }
protected String typeSchemaLocation( GeoServerInfo global, FeatureTypeInfo meta, String baseUrl) { Map<String, String> params = params( "service", "WFS", "version", "1.0.0", "request", "DescribeFeatureType", "typeName", meta.getPrefixedName()); return buildURL(baseUrl, "wfs", params, URLType.SERVICE); } }
params( "service", "WMS",
void buildSchemaImports( Collection<NamespaceInfo> namespaces, XSDSchema schema, XSDFactory factory) { Map<String, String> params = params( "service", "wfs", "request", "DescribeFeatureType", "version", wfs.getVersion()); // String schemaLocation = ResponseUtils.appendQueryString(ResponseUtils.appendPath( // baseURL, "wfs"), // "service=wfs&request=DescribeFeatureType&version=" + wfs.getVersion() + // "&namespace="); for (NamespaceInfo namespace : namespaces) { XSDImport imprt = factory.createXSDImport(); imprt.setNamespace(namespace.getURI()); params.put("namespace", namespace.getPrefix()); imprt.setSchemaLocation(buildURL(baseURL, "wfs", params, URLType.SERVICE)); synchronized (Schemas.class) { schema.getContents().add(imprt); } } }
params( "request", "GetLegendGraphic",
request.getBaseUrl(), "wfs", params("request", capabilityName), URLType.SERVICE); } else {
params("service", "WFS", "version", "1.0.0", "request", "DescribeFeatureType"); for (Iterator i = ns2metas.entrySet().iterator(); i.hasNext(); ) { Map.Entry entry = (Map.Entry) i.next();
request.getBaseUrl(), "ows", params("SERVICE", "WMS"), URLType.SERVICE); serviceUrl = appendQueryString(serviceUrl, "");
params( "service", "WFS",
request.getBaseUrl(), "wms", params("SERVICE", "WMS"), URLType.SERVICE); serviceUrl = appendQueryString(serviceUrl, "");
params( "service", "WMS",