gpt4 book ai didi

org.geotools.wfs.v1_0.WFSConfiguration类的使用及代码示例

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

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

WFSConfiguration介绍

[英]Parser configuration for the wfs 1.0 WFS, for capabilities documents use WFSCapabilitiesConfiguration instead.
[中]wfs 1.0 wfs的解析器配置,对于功能文档,使用WFSCAbilitiesConfiguration。

代码示例

代码示例来源: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.geotools.xsd/gt-xsd-wfs

/**
 * Creates a new configuration.
 *
 * @generated
 */
public WFSConfiguration() {
  super(WFS.getInstance());
  
  addDependency(new OGCConfiguration());
}

代码示例来源: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