gpt4 book ai didi

org.geotools.wfs.v1_0.WFSConfiguration.()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-21 17:03:05 26 4
gpt4 key购买 nike

本文整理了Java中org.geotools.wfs.v1_0.WFSConfiguration.<init>()方法的一些代码示例,展示了WFSConfiguration.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WFSConfiguration.<init>()方法的具体详情如下:
包路径:org.geotools.wfs.v1_0.WFSConfiguration
类名称:WFSConfiguration
方法名:<init>

WFSConfiguration.<init>介绍

[英]Creates a new configuration.
[中]创建一个新配置。

代码示例

代码示例来源:origin: org.geoserver.extension/wps-core

public WFS10() {
  super(new WFSConfiguration(), "text/xml; subtype=wfs-collection/1.0", 
      org.geoserver.wfs.xml.v1_0_0.WFS.FEATURECOLLECTION);
}

代码示例来源:origin: org.geoserver.extension/gs-wps-core

public WFS10() {
    super(
        new WFSConfiguration(),
        "text/xml; subtype=wfs-collection/1.0",
        org.geoserver.wfs.xml.v1_0_0.WFS.FEATURECOLLECTION);
  }
}

代码示例来源:origin: org.geoserver.extension/gs-wps-core

public WFS10Alternate() {
    super(
        new WFSConfiguration(),
        "application/wfs-collection-1.0",
        org.geoserver.wfs.xml.v1_0_0.WFS.FEATURECOLLECTION);
  }
}

代码示例来源:origin: org.geoserver.extension/wps-core

public WFS10Alternate() {
  super(new WFSConfiguration(), "application/wfs-collection-1.0", 
      org.geoserver.wfs.xml.v1_0_0.WFS.FEATURECOLLECTION);
}

代码示例来源:origin: org.geoserver/gs-wfs

elementName = WFS.GetFeature;
} else {
  cfg = new org.geotools.wfs.v1_0.WFSConfiguration();
  elementName = org.geotools.wfs.v1_0.WFS.GetFeature;

代码示例来源:origin: org.geoserver/gs-wfs

Configuration configuration =
    new ApplicationSchemaConfiguration(
        xsd, new org.geotools.wfs.v1_0.WFSConfiguration());

代码示例来源:origin: org.geotools/gt-wfs-ng

@Override
protected GetFeatureParser parser(GetFeatureRequest request, InputStream in)
    throws IOException {
  FeatureType queryType = request.getQueryType();
  if (queryType == null) {
    queryType = request.getFullType();
  }
  Configuration config = null;
  if (request.getStrategy().getVersion().equals(Versions.v2_0_0.toString())) {
    config = new org.geotools.wfs.v2_0.WFSConfiguration();
  } else if (request.getStrategy().getVersion().equals(Versions.v1_1_0.toString())) {
    config = new org.geotools.wfs.v1_1.WFSConfiguration();
  } else if (request.getStrategy().getVersion().equals(Versions.v1_0_0.toString())) {
    config = new org.geotools.wfs.v1_0.WFSConfiguration();
  }
  return new PullParserFeatureReader(
      config, in, queryType, request.getStrategy().getConfig().getAxisOrder());
}

代码示例来源:origin: org.geoserver.extension/wps-core

System.out.println(response.getOutputStreamContent());
Parser p = new Parser(new WFSConfiguration());
FeatureCollectionType fct = (FeatureCollectionType) p.parse(new ByteArrayInputStream(
    response.getOutputStreamContent().getBytes()));

代码示例来源:origin: org.geoserver/gs-wms

List<FeatureCollection> results = new ArrayList<FeatureCollection>();
try {
  Parser parser = new Parser(new WFSConfiguration());
  parser.setStrict(false);
  parser.setEntityResolver(resolverProvider.getEntityResolver());

代码示例来源:origin: org.geoserver.extension/wps-core

Parser p = new Parser(new WFSConfiguration());
FeatureCollectionType fct = (FeatureCollectionType) p.parse(new ByteArrayInputStream(
    response.getOutputStreamContent().getBytes()));

代码示例来源:origin: org.geoserver.extension/wps-core

Parser p = new Parser(new WFSConfiguration());
FeatureCollectionType fct = (FeatureCollectionType) p.parse(new ByteArrayInputStream(
    response.getOutputStreamContent().getBytes()));

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com