首页 > 代码库 > SkylineGlobe SFS发布的WFS和WMS服务测试

SkylineGlobe SFS发布的WFS和WMS服务测试

SkylineGlobe SFS发布的WFS服务:http://localhost/SFS/streamer.ashx?service=wfs&request=GetCapabilities&Username=&Password=

<?xml version="1.0" encoding="UTF-8"?><wfs:WFS_Capabilities   xmlns:ows="http://www.opengis.net/ows"   xmlns:ogc="http://www.opengis.net/ogc"   xmlns:wfs="http://www.opengis.net/wfs"   xmlns:sfs="http://www.skylineglobe.com/sfs-schema"   xmlns:gml="http://www.opengis.net/gml"   xmlns:xlink="http://www.w3.org/1999/xlink"   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"   version="1.1.0"   updateSequence="0">  <!-- ================================================================== -->  <!--    SERVICE IDENTIFICATION SECTION                                  -->  <!-- ================================================================== -->  <ows:ServiceIdentification>    <ows:Title>SFS</ows:Title>    <ows:Abstract>SFS</ows:Abstract>        <ows:Keywords>      <ows:Keyword>Skyline</ows:Keyword>      <ows:Type>String</ows:Type>    </ows:Keywords>    <ows:ServiceType>WFS</ows:ServiceType>    <ows:ServiceTypeVersion>1.1.0</ows:ServiceTypeVersion>    <ows:Fees>None</ows:Fees>    <ows:AccessConstraints>None</ows:AccessConstraints>  </ows:ServiceIdentification>  <ows:ServiceProvider>    <ows:ProviderName></ows:ProviderName>    <ows:ServiceContact></ows:ServiceContact>      </ows:ServiceProvider>  <!-- ================================================================== -->  <!--    OPERATIONS METADATA SECTION                                     -->  <!-- ================================================================== -->  <ows:OperationsMetadata>    <ows:Operation name="GetCapabilities">      <ows:DCP>        <ows:HTTP>          <ows:Get xlink:href="http://localhost/SFS/streamer.ashx"/>        </ows:HTTP>      </ows:DCP>      <ows:Parameter name="AcceptVersions">        <ows:Value>1.1.0</ows:Value>        <ows:Value>1.0.0</ows:Value>      </ows:Parameter>      <ows:Parameter name="AcceptFormats">        <ows:Value>text/xml</ows:Value>      </ows:Parameter>      <ows:Parameter name="Sections">        <ows:Value>ServiceIdentification</ows:Value>        <ows:Value>OperationsMetadata</ows:Value>        <ows:Value>FeatureTypeList</ows:Value>        <ows:Value>Filter_Capabilities</ows:Value>      </ows:Parameter>    </ows:Operation>    <ows:Operation name="DescribeFeatureType">      <ows:DCP>        <ows:HTTP>          <ows:Get  xlink:href="http://localhost/SFS/streamer.ashx"/>          <ows:Post  xlink:href="http://localhost/SFS/streamer.ashx"/>        </ows:HTTP>      </ows:DCP>      <ows:Parameter name="outputFormat">        <ows:Value>XMLSCHEMA</ows:Value>        <ows:Value>text/xml; subtype=gml/2.1.2</ows:Value>        <ows:Value>text/xml; subtype=gml/3.1.0</ows:Value>      </ows:Parameter>    </ows:Operation>    <ows:Operation name="GetFeature">      <ows:DCP>        <ows:HTTP>          <ows:Get  xlink:href="http://localhost/SFS/streamer.ashx"/>          <ows:Post  xlink:href="http://localhost/SFS/streamer.ashx"/>        </ows:HTTP>      </ows:DCP>      <ows:Parameter name="resultType">        <ows:Value>results</ows:Value>      </ows:Parameter>      <ows:Parameter name="outputFormat">        <ows:Value>XMLSCHEMA</ows:Value>        <ows:Value>text/xml; subtype=gml/2.1.2</ows:Value>        <ows:Value>text/xml; subtype=gml/3.1.0</ows:Value>      </ows:Parameter>    </ows:Operation>    <ows:Operation name="LockFeature">      <ows:DCP>        <ows:HTTP>          <ows:Get xlink:href="http://localhost/SFS/streamer.ashx"/>          <ows:Post xlink:href="http://localhost/SFS/streamer.ashx"/>        </ows:HTTP>      </ows:DCP>      <ows:Parameter name="lockAction">        <ows:Value>ALL</ows:Value>      </ows:Parameter>    </ows:Operation>    <ows:Operation name="Transaction">      <ows:DCP>        <ows:HTTP>          <ows:Post xlink:href="http://localhost/SFS/streamer.ashx"/>        </ows:HTTP>      </ows:DCP>      <ows:Parameter name="inputFormat">        <ows:Value>text/xml; subtype=gml/2.1.2</ows:Value>      </ows:Parameter>      <ows:Parameter name="idgen">        <ows:Value>GenerateNew</ows:Value>      </ows:Parameter>      <ows:Parameter name="releaseAction">        <ows:Value>ALL</ows:Value>      </ows:Parameter>      <ows:Constraint name="DefaultLockExpiry">        <ows:Value>5</ows:Value>      </ows:Constraint>    </ows:Operation>  </ows:OperationsMetadata>  <!-- ================================================================== -->  <!--    FEATURE TYPE LIST SECTION                                       -->  <!-- ================================================================== -->  <wfs:FeatureTypeList>    <wfs:FeatureType><wfs:Name>testp</wfs:Name><wfs:Title><![CDATA[testp]]></wfs:Title><wfs:DefaultSRS>EPSG:4326</wfs:DefaultSRS><wfs:OutputFormats><wfs:Format>text/xml; subtype=gml/3.1.1</wfs:Format></wfs:OutputFormats><ows:WGS84BoundingBox>                    <ows:LowerCorner>127.835806444955 46.5607077664042</ows:LowerCorner>                    <ows:UpperCorner>127.836123450849 46.560890999105</ows:UpperCorner>              </ows:WGS84BoundingBox><wfs:MetadataURL type=‘TC211‘ format=‘text/xml‘>http://localhost/SFS/streamer.ashx?request=GetLayerExBaseInfo&amp;typename=testp</wfs:MetadataURL></wfs:FeatureType><wfs:FeatureType><wfs:Name>pipes</wfs:Name><wfs:Title><![CDATA[pipes]]></wfs:Title><wfs:DefaultSRS>EPSG:4326</wfs:DefaultSRS><wfs:OutputFormats><wfs:Format>text/xml; subtype=gml/3.1.1</wfs:Format></wfs:OutputFormats><ows:WGS84BoundingBox>                    <ows:LowerCorner>-77.0488688198338 38.8959962454671</ows:LowerCorner>                    <ows:UpperCorner>-77.0434793455191 38.8995683389082</ows:UpperCorner>              </ows:WGS84BoundingBox><wfs:MetadataURL type=‘TC211‘ format=‘text/xml‘>http://localhost/SFS/streamer.ashx?request=GetLayerExBaseInfo&amp;typename=pipes</wfs:MetadataURL></wfs:FeatureType>  </wfs:FeatureTypeList>  <!-- ================================================================== -->  <!--    FILTER CAPABILITIES SECTION                                     -->  <!-- ================================================================== -->  <ogc:Filter_Capabilities>    <ogc:Spatial_Capabilities>      <!-- Provide some GeometryOperands just for the XML to validate against the schema even if we don‘t support any. -->      <ogc:GeometryOperands>        <ogc:GeometryOperand>gml:Point</ogc:GeometryOperand>      </ogc:GeometryOperands>      <ogc:SpatialOperators>        <ogc:SpatialOperator name="BBOX"/>      </ogc:SpatialOperators>    </ogc:Spatial_Capabilities>    <ogc:Scalar_Capabilities>      <ogc:LogicalOperators/>      <ogc:ComparisonOperators>        <ogc:ComparisonOperator>LessThan</ogc:ComparisonOperator>        <ogc:ComparisonOperator>GreaterThan</ogc:ComparisonOperator>        <ogc:ComparisonOperator>LessThanEqualTo</ogc:ComparisonOperator>        <ogc:ComparisonOperator>GreaterThanEqualTo</ogc:ComparisonOperator>        <ogc:ComparisonOperator>EqualTo</ogc:ComparisonOperator>        <ogc:ComparisonOperator>NotEqualTo</ogc:ComparisonOperator>        <ogc:ComparisonOperator>Like</ogc:ComparisonOperator>        <ogc:ComparisonOperator>Between</ogc:ComparisonOperator>        <ogc:ComparisonOperator>NullCheck</ogc:ComparisonOperator>      </ogc:ComparisonOperators>    </ogc:Scalar_Capabilities>    <!-- Provide some Id_Capabilities just for the XML to validate against the schema even if we don‘t support any. -->    <ogc:Id_Capabilities>      <ogc:FID/>    </ogc:Id_Capabilities>  </ogc:Filter_Capabilities></wfs:WFS_Capabilities>

SkylineGlobe SFS发布的WMS服务:http://localhost/SFS/streamer.ashx?request=GetCapabilities&version=1.3.0&Service=WMS

<?xml version=‘1.0‘ encoding="UTF-8"?><WMS_Capabilities version="1.3.0" xmlns="http://www.opengis.net/wms"xmlns:xlink="http://www.w3.org/1999/xlink"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:sfs="http://www.skylineglobe.com/sfs-schema"xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd">  <Service>    <Name>SFS</Name>    <Title>SFS</Title>    <Abstract>SFS</Abstract>    <KeywordList>      <Keyword>TerraGate</Keyword>      <Keyword>Skyline</Keyword>    </KeywordList>    <OnlineResource xlink:type="simple" xlink:href="http://localhost/SFS/streamer.ashx"></OnlineResource>    <Fees>none</Fees>    <AccessConstraints>none</AccessConstraints>    <LayerLimit>1</LayerLimit>  </Service>  <Capability>    <Request>      <GetCapabilities>        <Format>text/xml</Format>        <DCPType>          <HTTP>            <Get>              <OnlineResource xlink:type="simple" xlink:href="http://localhost/SFS/streamer.ashx?"></OnlineResource>            </Get>          </HTTP>        </DCPType>      </GetCapabilities>      <GetMap>        <Format>image/png</Format>        <Format>image/jpeg</Format>        <DCPType>          <HTTP>            <Get>              <OnlineResource xlink:type="simple" xlink:href="http://localhost/SFS/streamer.ashx?"></OnlineResource>            </Get>          </HTTP>        </DCPType>      </GetMap>    </Request>    <Exception>      <Format>XML</Format>      <Format>INIMAGE</Format>      <Format>BLANK</Format>    </Exception>    <Layer>      <Title>SFS</Title>      <Attribution>        <Title>SFS</Title>        <OnlineResource xlink:type="simple" xlink:href="http://localhost/SFS/streamer.ashx"/>        <LogoURL width="32" height="32">          <Format>image/png</Format>          <OnlineResource xlink:type="simple" xlink:href="http://localhost/SFS/image.ashx?id=Icon&amp;type=png"/>        </LogoURL>      </Attribution>      <Layer><Name>sample.I.mpt</Name><Title>sample mpt (Imagery)</Title><CRS>EPSG:4326</CRS><CRS>CRS:84</CRS><EX_GeographicBoundingBox>                <resx>0.087890625</resx>                <resy>0.087890625</resy>                <westBoundLongitude>-180</westBoundLongitude>                <eastBoundLongitude>180</eastBoundLongitude>                <southBoundLatitude>-90</southBoundLatitude>                <northBoundLatitude>90</northBoundLatitude>            </EX_GeographicBoundingBox><BoundingBox SRS=‘EPSG:4326‘ minx=‘-90‘ miny=‘-180‘ maxx=‘90‘ maxy=‘180‘ resx=‘0.087890625‘ resy=‘0.087890625‘/></Layer><Layer><Name>sample.E.mpt</Name><Title>sample mpt (Elevation)</Title><CRS>EPSG:4326</CRS><CRS>CRS:84</CRS><EX_GeographicBoundingBox>                <resx>0.087890625</resx>                <resy>0.087890625</resy>                <westBoundLongitude>-180</westBoundLongitude>                <eastBoundLongitude>180</eastBoundLongitude>                <southBoundLatitude>-90</southBoundLatitude>                <northBoundLatitude>90</northBoundLatitude>            </EX_GeographicBoundingBox><BoundingBox SRS=‘EPSG:4326‘ minx=‘-90‘ miny=‘-180‘ maxx=‘90‘ maxy=‘180‘ resx=‘0.087890625‘ resy=‘0.087890625‘/></Layer>    </Layer>  </Capability></WMS_Capabilities>

 

SkylineGlobe SFS发布的WFS和WMS服务测试