Kommunikation mit einem WMS-Service in einem Webbrowser—ArcGIS Server (2024)

Sie können URL-Parameter verwenden, um mit einem WMS-Service in einem Webbrowser zu kommunizieren.

WMS-Anforderung und Antwort

Die Online-Ressource jeder Operation, die von einem konformen WMS-Server unterstützt wird, ist eine HTTP Uniform Resource Locator (URL), deshalb kann ein WMS-Service als REST-Service (Representational State Transfer) betrachtet werden. Im Gegensatz zu einem Standard-Web-Service ist kein SOAP-Client für das Verwenden eines WMS-Service notwendig, und ein Webbrowser ist der einfachste Client. Sie können die Servicelevel-Metadaten eines WMS-Service, ein Kartenbild oder Attributwerte eines Features abrufen, indem Sie eine URL-Anforderung an den Server senden und die entsprechenden Antworten im Browser entweder als XML-Dokument oder als Bild anzeigen.

Unten finden Sie einige Beispielanforderungen und Antworten für jede von einem WMS-Service unterstützte Operation.

GetCapabilities

Anforderung

http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?version=1.3.0&request=GetCapabilities&service=WMS

XML-Antwort

<WMS_Capabilities version="1.3.0" xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd http://www.esri.com/wms http://sampleserver1a.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?version=1.3.0&service=WMS&request=GetSchemaExtension"> <Service> <Name>WMS</Name> <Title>Specialty/ESRI_StatesCitiesRivers_USA</Title> <Abstract>WMS</Abstract> <KeywordList> <Keyword></Keyword> </KeywordList> <OnlineResource xlink:type="simple" xlink:href="http://sampleserver1a.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer"/> <ContactInformation> <ContactPersonPrimary> <ContactPerson></ContactPerson> <ContactOrganization></ContactOrganization> </ContactPersonPrimary> <ContactPosition></ContactPosition> <ContactAddress> <AddressType></AddressType> <Address></Address> <City></City> <StateOrProvince></StateOrProvince> <PostCode></PostCode> <Country></Country> </ContactAddress> <ContactVoiceTelephone></ContactVoiceTelephone> <ContactFacsimileTelephone></ContactFacsimileTelephone> <ContactElectronicMailAddress></ContactElectronicMailAddress> </ContactInformation> <Fees></Fees> <AccessConstraints></AccessConstraints> <MaxWidth>2048</MaxWidth> <MaxHeight>2048</MaxHeight> </Service> <Capability> <Request> <GetCapabilities> <Format>application/vnd.ogc.wms_xml</Format> <Format>text/xml</Format> <DCPType> <HTTP> <Get> <OnlineResource xlink:type="simple" xlink:href="http://sampleserver1a.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer"/> </Get> </HTTP> </DCPType> </GetCapabilities> <GetMap> <Format>image/bmp</Format> <Format>image/jpeg</Format> <Format>image/tiff</Format> <Format>image/png</Format> <Format>image/png8</Format> <Format>image/png24</Format> <Format>image/png32</Format> <Format>image/gif</Format> <Format>image/svg+xml</Format> <DCPType> <HTTP> <Get> <OnlineResource xlink:type="simple" xlink:href="http://sampleserver1a.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer"/> </Get> </HTTP> </DCPType> </GetMap> <GetFeatureInfo> <Format>application/vnd.esri.wms_raw_xml</Format> <Format>application/vnd.esri.wms_featureinfo_xml</Format> <Format>application/vnd.ogc.wms_xml</Format> <Format>text/xml</Format> <Format>text/html</Format> <Format>text/plain</Format> <DCPType> <HTTP> <Get> <OnlineResource xlink:type="simple" xlink:href="http://sampleserver1a.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer"/> </Get> </HTTP> </DCPType> </GetFeatureInfo> <esri_wms:GetStyles> <Format>application/vnd.ogc.sld+xml</Format> <DCPType> <HTTP> <Get> <OnlineResource xlink:type="simple" xlink:href="http://sampleserver1a.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer"/> </Get> </HTTP> </DCPType> </esri_wms:GetStyles> </Request> <Exception> <Format>application/vnd.ogc.se_xml</Format> <Format>application/vnd.ogc.se_inimage</Format> <Format>application/vnd.ogc.se_blank</Format> <Format>text/xml</Format> <Format>XML</Format> </Exception> <Layer> <Title>Layers</Title> <CRS>CRS:84</CRS> <CRS>EPSG:4326</CRS> <EX_GeographicBoundingBox> <westBoundLongitude>-125.192865</westBoundLongitude> <eastBoundLongitude>-66.105824</eastBoundLongitude> <southBoundLatitude>19.416377</southBoundLatitude> <northBoundLatitude>54.318281</northBoundLatitude> </EX_GeographicBoundingBox> <BoundingBox CRS="CRS:84" minx="-125.192865" miny="19.416377" maxx="-66.105824" maxy="54.318281"/> <BoundingBox CRS="EPSG:4326" minx="19.416377" miny="-125.192865" maxx="54.318281" maxy="-66.105824"/> <Layer queryable="1"> <Name>0</Name> <Title>States</Title> <Abstract>States</Abstract> <CRS>CRS:84</CRS> <CRS>EPSG:4326</CRS> <EX_GeographicBoundingBox> <westBoundLongitude>-178.217598</westBoundLongitude> <eastBoundLongitude>-66.969271</eastBoundLongitude> <southBoundLatitude>18.924782</southBoundLatitude> <northBoundLatitude>71.406235</northBoundLatitude> </EX_GeographicBoundingBox> <BoundingBox CRS="CRS:84" minx="-178.217598" miny="18.924782" maxx="-66.969271" maxy="71.406235"/> <BoundingBox CRS="EPSG:4326" minx="18.924782" miny="-178.217598" maxx="71.406235" maxy="-66.969271"/> <Style> <Name>default</Name> <Title>0</Title> <LegendURL width="76" height="16"> <Format>image/png</Format> <OnlineResource xlink:href="http://sampleserver1a.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=0" xlink:type="simple"/> </LegendURL> </Style> </Layer> <Layer queryable="1"> <Name>1</Name> <Title>Rivers</Title> <Abstract>Rivers</Abstract> <CRS>CRS:84</CRS> <CRS>EPSG:4326</CRS> <EX_GeographicBoundingBox> <westBoundLongitude>-164.765831</westBoundLongitude> <eastBoundLongitude>-67.790980</eastBoundLongitude> <southBoundLatitude>25.845557</southBoundLatitude> <northBoundLatitude>70.409756</northBoundLatitude> </EX_GeographicBoundingBox> <BoundingBox CRS="CRS:84" minx="-164.765831" miny="25.845557" maxx="-67.790980" maxy="70.409756"/> <BoundingBox CRS="EPSG:4326" minx="25.845557" miny="-164.765831" maxx="70.409756" maxy="-67.790980"/> <Style> <Name>default</Name> <Title>1</Title> <LegendURL width="76" height="16"> <Format>image/png</Format> <OnlineResource xlink:href="http://sampleserver1a.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=1" xlink:type="simple"/> </LegendURL> </Style> </Layer> <Layer queryable="1"> <Name>2</Name> <Title>Cities</Title> <Abstract>Cities</Abstract> <CRS>CRS:84</CRS> <CRS>EPSG:4326</CRS> <EX_GeographicBoundingBox> <westBoundLongitude>-158.064606</westBoundLongitude> <eastBoundLongitude>-67.986769</eastBoundLongitude> <southBoundLatitude>19.696150</southBoundLatitude> <northBoundLatitude>64.869104</northBoundLatitude> </EX_GeographicBoundingBox> <BoundingBox CRS="CRS:84" minx="-158.064606" miny="19.696150" maxx="-67.986769" maxy="64.869104"/> <BoundingBox CRS="EPSG:4326" minx="19.696150" miny="-158.064606" maxx="64.869104" maxy="-67.986769"/> <Style> <Name>default</Name> <Title>2</Title> <LegendURL width="72" height="16"> <Format>image/png</Format> <OnlineResource xlink:href="http://sampleserver1a.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=2" xlink:type="simple"/> </LegendURL> </Style> </Layer> </Layer> </Capability></WMS_Capabilities>

GetMap

Anforderung

http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?version=1.3.0&request=GetMap&CRS=CRS:84&bbox=-178.217598,18.924782,-66.969271,71.406235&width=760&height=360&layers=0&styles=default&format=image/png

Antwortkarte

Kommunikation mit einem WMS-Service in einem Webbrowser—ArcGISServer (1)

Anforderung

http://gisserver.domain.com:6080/arcgis/services/folder/service/MapServer/WMSServer?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=0&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&BBOX=17.9995833333334,-161.000416666667,23.0004166666666,-153.999583333333&WIDTH=981&HEIGHT=826&DIM_DEPTH=2000

Zu WMS-Services, die Layer enthalten, die Zeit- oder Höhendaten unterstützen, können die Parameter TIME bzw. ELEVATION hinzugefügt werden.

Zeit

TIME – Unterstützt Zeitabfragen durch Angabe einer Zeitinstanz oder einer Zeitspanne.

TIME=1999 (Zeit im Jahr 1999)

Anforderung

http://gisserver.domain.com:6080/arcgis/services/folder/service/ImageServer/WMSServer?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=0&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&BBOX=17.9995833333334,-161.000416666667,23.0004166666666,-153.999583333333&WIDTH=981&HEIGHT=826&TIME=1999

TIME=1980/2010 (Zeit von 1980 bis 2010)

Anforderung

http://gisserver.domain.com:6080/arcgis/services/folder/service/ImageServer/WMSServer?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=0&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&BBOX=17.9995833333334,-161.000416666667,23.0004166666666,-153.999583333333&WIDTH=981&HEIGHT=826&TIME=1980/2010

TIME=1999-12-31T14:30:30/2000-01-01T14:30:30

Anforderung

http://gisserver.domain.com:6080/arcgis/services/folder/service/ImageServer/WMSServer?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=0&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&BBOX=17.9995833333334,-161.000416666667,23.0004166666666,-153.999583333333&WIDTH=981&HEIGHT=826&TIME=1999-12-31T14:30:30/2000-01-01T14:30:30

Höhenangaben

Außerdem können Sie getMap (ein in der WMS-Spezifikation definiertes Schlüsselwort) in der Abfrage ELEVATION verwenden, wenn das Feld für die vertikale Bemaßung vor dem Veröffentlichen von Diensten ausdrücklich im Mosaik-Dataset oder NetCDF-Layer definiert wurde. Das Feld mit der vertikalen Bemaßung kann in der Eigenschaft Vertikal in der Eigenschaftenseite von Mosaik-Dataset – Standardeinstellungen für Mosaik-Datasets oder auf der Registerkarte NetCDF auf der Seite Layer-Eigenschaft für NetCDF-Layer angegeben werden.

http://gisserver.domain.com:6080/arcgis/services/folder/service/ImageServer/WMSServer?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=0&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&BBOX=17.9995833333334,-161.000416666667,23.0004166666666,-153.999583333333&WIDTH=981&HEIGHT=826&TIME=2000-01-01T14:30:30&ELEVATION=-30

GetFeatureInfo

Anforderung

http://sampleserver1.arcgisonline.com/arcgis/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?version=1.1.1&request=GetFeatureInfo&layers=0&styles=default&SRS=EPSG:4326&bbox=-125.192865,11.2289864971264,-66.105824,62.5056715028736&width=1044&height=906&format=text/html&X=500&Y=400&query_layers=0

XML-Antwort

<FeatureInfoResponse> <FIELDS FID="14" Shape="Null" AREA="77330.258" STATE_NAME="Nebraska" STATE_FIPS="31" SUB_REGION="W N Cen" STATE_ABBR="NE" POP1990="1578385" POP1999="1671251" POP90_SQMI="20" HOUSEHOLDS="602363" MALES="769439" FEMALES="808946" WHITE="1480558" BLACK="57404" AMERI_ES="12410" ASIAN_PI="12422" OTHER="15591" HISPANIC="36969" AGE_UNDER5="119606" AGE_5_17="309406" AGE_18_29="281105" AGE_30_49="441470" AGE_50_64="203730" AGE_65_UP="223068" NEVERMARRY="295873" MARRIED="719288" SEPARATED="13552" WIDOWED="96052" DIVORCED="90230" HSEHLD_1_M="63686" HSEHLD_1_F="95985" MARHH_CHD="171428" MARHH_NO_C="179086" MHH_CHILD="7603" FHH_CHILD="34583" HSE_UNITS="660621" VACANT="58258" OWNER_OCC="400394" RENTER_OCC="201969" MEDIAN_VAL="50400" MEDIANRENT="282" UNITS_1DET="479124" UNITS_1ATT="15767" UNITS2="18369" UNITS3_9="46246" UNITS10_49="49402" UNITS50_UP="9656" MOBILEHOME="37046" NO_FARMS87="60502" AVG_SIZE87="749" CROP_ACR87="23320162" AVG_SALE87="110197"/></FeatureInfoResponse>

GetStyles

Anforderung

http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StateCityHighway_USA/MapServer/WMSServer?version=1.3.0&request=GetStyles&layers=0,1,2

XML-Antwort

<sld:StyledLayerDescriptor version="1.0.0" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd"> <!-- layer "0" --> <sld:NamedLayer> <sld:Name>0</sld:Name> <!-- NamedStyle --> <sld:NamedStyle> <sld:Name>default</sld:Name> </sld:NamedStyle> <!-- UserStyle --> </sld:NamedLayer> <!-- layer "1" --> <sld:NamedLayer> <sld:Name>1</sld:Name> <!-- NamedStyle --> <sld:NamedStyle> <sld:Name>default</sld:Name> </sld:NamedStyle> <!-- UserStyle --> </sld:NamedLayer> <!-- layer "2" --> <sld:NamedLayer> <sld:Name>2</sld:Name> <!-- NamedStyle --> <sld:NamedStyle> <sld:Name>default</sld:Name> </sld:NamedStyle> <!-- UserStyle --> </sld:NamedLayer></sld:StyledLayerDescriptor>

GetLegendGraphic

Anforderung

http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?version=1.1.1&request=GetLegendGraphic&layer=0&style=default&format=image/png&width=95&height=65

Antwort-Legendengrafik

Kommunikation mit einem WMS-Service in einem Webbrowser—ArcGISServer (2)
Hinweis:

In vielen Fällen ist ein Webbrowser vielleicht kein bevorzugter WMS-Client, aber er ist immer ein gutes Werkzeug, um die Kommunikation zwischen einem WMS-Server und einem Client zu verfolgen und zu debuggen.

WMS-Anforderungsparameter

Die OGC WMS-Spezifikationen definieren eine vollständige Liste von Anforderungsparametern, die in jeder WMS-Operation verwendet werden können. Verschiedene Versionen der OGC WMS-Implementierungsspezifikation sind unten in den Links angegeben:

Version 1.3.0

Version 1.1.1

Version 1.1.0

Version 1.0.0

In den Tabellen unten sind alle Anforderungsparameter, die auf die WMS-Implementierung anwendbar sind, aufgeführt; dies ist nur eine Teilmenge von denen, die in der Spezifikation definiert sind.

Parameter einer WMS GetCapabilities-Anforderungs-URL

ParameterObligatorisch / OptionalStandardwertBeschreibung

VERSION/WMTVER

Optional

1.3.0 (9.3 und höher)

1.1.1 (9.2)

Anforderungsversion. Verwenden Sie WMTVER nur in WMS 1.0.0; verwenden Sie andernfalls VERSION.

SERVICE

Obligatorisch

N/A

Service-Typ. Muss auf WMS festgelegt werden. Der Parameter ist in WMS 1.0.0 nicht verfügbar.

REQUEST

Obligatorisch

N/A

Anforderungsname. Muss auf GetCapabilities festgelegt werden. Muss für WMS 1.0.0 auf capabilities eingestellt werden.

FORMAT

Optional

text/xml (9.3 und höher)

Ausgabeformat für Service-Metadaten. Nur in WMS 1.3.0 verfügbar (Beispiel: application/vnd.ogc.wms_xml, text/plain oder text/html).

Parameter einer WMS GetMap-Anforderungs-URL

ParameterObligatorisch / OptionalStandardwertBeschreibung

VERSION/WMTVER

Obligatorisch

N/A

Anforderungsversion. Verwenden Sie WMTVER nur in WMS 1.0.0; verwenden Sie andernfalls VERSION.

REQUEST

Obligatorisch

N/A

Anforderungsname. Muss auf GetMap festgelegt werden. Muss für WMS 1.0.0 auf map eingestellt werden.

LAYER

Obligatorisch

N/A

Durch Kommas getrennte Liste von einem oder mehreren Karten-Layern (z.B. 0,1,2 oder layer1,layer2).

STYLES

Obligatorisch

N/A

Durch Kommas getrennte Liste von einem oder mehreren Styles, ein Style pro angefordertem Layer (z.B. 0,1,2 oder style1,style2).

CRS/SRS

Obligatorisch

N/A

Koordinatenbezugssystem. CRS wird nur in WMS 1.3.0 verwendet, in anderen Fällen wird SRS (z.B. EPSG:4326 oder EPSG:4269) verwendet.

BBOX

Obligatorisch

N/A

Eckpunkte des Rahmens (links unten und rechts oben) in CRS/SRS-Einheiten (z.B. -180,-90,180,90).

WIDTH

Obligatorisch

N/A

Breite des Kartenbilds in Pixeln (z.B. 1024).

HEIGHT

Obligatorisch

N/A

Höhe des Kartenbilds in Pixeln (z.B. 768).

FORMAT

Obligatorisch

N/A

Ausgabeformat der Karte (z.B. image/png, image/jpeg, image/svg+xml oder image/bil).

Wenn Sie das Ausgabeformat als image/bil festlegen, muss der WMS-Client auch einen entsprechenden Header (.hdr) erstellen, um die Bilder ordnungsgemäß lesen zu können.

TRANSPARENT

Optional

False

Bestimmt, ob Hintergrund transparent ist oder nicht (True bzw. False).

BGCOLOR

Optional

0xFFFFFF

Hexadezimale RGB-Farbe für den Kartenhintergrund (z.B. 0xFFFFFF oder FFFFFF).

SLD

Optional

""

URL der Styled Layer Descriptor-XML-Datei.

SLD_BODY

Optional

""

XML-Text der Styled Layer Descriptor-Datei.

TIME

Optional

""

Zeitwert des angeforderten Layers.

ArcGIS-Client-Anwendungen unterstützen die Dimension "TIME" nur dann, wenn die Zeiteigenschaften des Layers aktiviert sind. Sind die Zeiteigenschaften des Layers nicht aktiviert, müssen Sie über einen Webbrowser oder einen benutzerdefinierten Client eine GetMap-Anforderung unter Verwendung des Parameters "DIM_" (nachfolgend aufgeführt) einreichen.

ELEVATION

Optional

""

Höhenwert des angeforderten Layers.

ArcGIS-Client-Anwendungen unterstützen die Dimension "ELEVATION" nur dann, wenn der Layer Höhendaten aufnehmen kann. Die Höhe lässt sich nur in NetCDF- und Mosaik-Datasets festlegen.

EXCEPTIONS

Optional

text/xml (WMS 1.3.0)

application/vnd.ogc.se_xml (WMS 1.1.1 und WMS 1.1.0)

application/vnd.ogc.inimage (WMS 1.0.0)

Das Format, in dem Ausnahmen gemeldet werden sollten (z.B. text/xml oder text/html).

DIM_<name>

Optional

""

Dimensionswert der angeforderten Karten-Layer; <Name> ist mit dem Namen einer Dimension zu ersetzen, z. B. DEPTH.

DIM_ wird in WMS 1.1.0 und späteren Versionen unterstützt.

Dimensionen werden derzeit von ArcGIS-Client-Anwendungen nicht unterstützt. Für die Verwendung von Dimensionen benötigen Sie einen Webbrowser, oder Sie erstellen in ArcObjects oder einer anderen Sprache Ihre eigene OGC-Client-Anwendung.

Parameter einer WMS GetFeatureInfo-Anforderungs-URL

ParameterObligatorisch / OptionalStandardwertBeschreibung

VERSION/WMTVER

Obligatorisch

N/A

Anforderungsversion. Verwenden Sie WMTVER nur in WMS 1.0.0; verwenden Sie andernfalls VERSION.

REQUEST

Obligatorisch

N/A

Anforderungsname. Muss auf GetFeatureInfo festgelegt werden. Muss für WMS 1.0.0 auf feature_info eingestellt werden.

Kartenanforderungsteil

Obligatorisch

N/A

Teilkopie der GetMap-Anforderungsparameter, die die Karte generiert haben, für die Informationen gewünscht wurden.

QUERY_LAYERS

Obligatorisch

N/A

Durch Kommas getrennte Liste von einem oder mehreren Karten-Layern, die abgefragt werden sollen (z.B. 0,1,2 oder layer1,layer2).

INFO_FORMAT

Obligatorisch (WMS 1.3.0)

Optional (WMS 1.1.1, 1.1.0, 1.0.0)

Nicht zutreffend (WMS 1.3.0)

text/xml (WMS 1.1.1, 1.1.0, 1.0.0)

Rückgabeformat der Feature-Informationen (z.B. text/xml oder text/html).

I/X

Obligatorisch

N/A

X-Koordinate in Pixeln von Feature im Kartenkoordinatensystem (z.B. 100). Verwenden Sie I für WMS 1.3.0; andernfalls X.

J/Y

Obligatorisch

N/A

Y-Koordinate in Pixeln von Feature im Kartenkoordinatensystem (z.B. 100). Verwenden Sie J für WMS 1.3.0; andernfalls Y.

TIME

Optional

""

Zeitwert des angeforderten Layers.

ArcGIS-Client-Anwendungen unterstützen die Dimension "TIME" nur dann, wenn die Zeiteigenschaften des Layers aktiviert sind. Sind die Zeiteigenschaften des Layers nicht aktiviert, müssen Sie über einen Webbrowser oder einen benutzerdefinierten Client eine GetMap-Anforderung unter Verwendung des Parameters "DIM_" (nachfolgend aufgeführt) einreichen.

ELEVATION

Optional

""

Höhenwert des angeforderten Layers.

ArcGIS-Client-Anwendungen unterstützen die Dimension "ELEVATION" nur dann, wenn der Layer Höhendaten aufnehmen kann. Die Höhe lässt sich nur in NetCDF- und Mosaik-Datasets festlegen.

EXCEPTIONS

Optional

text/xml (WMS 1.3.0)

application/vnd.ogc.se_xml (WMS 1.1.1 und WMS 1.1.0)

application/vnd.ogc.inimage (WMS 1.0.0)

Das Format, in dem Ausnahmen gemeldet werden sollten (z.B. text/xml oder text/html).

DIM_<name>

Optional

""

Dimensionswert der angeforderten Karten-Layer; <Name> ist mit dem Namen einer Dimension zu ersetzen, z. B. DEPTH.

DIM_ wird in WMS 1.1.0 und höheren Versionen unterstützt.

Dimensionen werden derzeit von ArcGIS-Client-Anwendungen nicht unterstützt. Für die Verwendung von Dimensionen benötigen Sie einen Webbrowser, oder Sie erstellen in ArcObjects oder einer anderen Sprache Ihre eigene OGC-Client-Anwendung.

Parameter einer WMS GetStyles-Anforderung

ParameterObligatorisch / OptionalStandardwertBeschreibung

VERSION

Obligatorisch

1.3.0 (9.3 und höher)

1.1.1 (9.2)

Version wie für OGC-Schnittstellen erforderlich.

REQUEST

Obligatorisch

N/A

Anforderungsname. Muss auf GetStyles festgelegt werden.

LAYER

Obligatorisch

N/A

Durch Kommas getrennte Liste benannter Layer zum Abrufen von Style-Beschreibungen.

SLDVER

Optional

1.0.0 (10.0)

Die für das SLD-Dokument angeforderte SLD-Version. Nur Version 1.0.0 wird unterstützt.

Parameter einer WMS GetLegendGraphic-Anforderung

ParameterObligatorisch / OptionalStandardwertBeschreibung

VERSION

Obligatorisch

1.3.0 (9.3 und höher)

1.1.1 (9.2)

Version wie für OGC-Schnittstellen erforderlich.

REQUEST

Obligatorisch

N/A

Anforderungsname. Muss auf GetLegendGraphic festgelegt werden.

LAYER

Obligatorisch

N/A

Layer, für den die Legendengrafik erzeugt werden soll.

STYLE

Optional

Standard

Style des Layers, für den die Legendengrafik erzeugt werden soll. Falls nicht vorhanden, wird der Standard-Style ausgewählt. Der Style kann jeder für einen Layer verfügbare gültige Style sein, einschließlich intern definierte Nicht-SLD-Styles.

RULE

Optional

""

Style-Regel, für die die Legendengrafik erzeugt werden soll (falls zutreffend). Wenn ein Style mehrere Regeln hat, aber keine bestimmte Regel ausgewählt ist, erzeugt der Karten-Service eine Grafik, die für alle Regeln für den Style repräsentativ ist.

SLD

Optional

""

Gibt einen Verweis auf ein SLD-Dokument an. Funktioniert auf die gleiche Weise wie der Parameter "SLD =" der WMS GetMap-Operation.

SLD_BODY

Optional

""

Erlaubt, dass ein SLD-Dokument direkt in einer HTTP-GET-Anforderung enthalten sein kann. Funktioniert auf die gleiche Weise wie der Parameter "SLD_BODY" der WMS GetMap-Operation.

FORMAT

Optional

image/png (png24)

Der MIME-Typ des Dateiformats, in dem die Legendengrafik zurückgegeben werden soll. Zulässige Werte sind die Gleichen wie für den Parameter "FORMAT=" der WMS GetMap-Anforderung.

WIDTH

Optional

Hängt vom jeweiligen Legendenbild ab.

Gibt einen Hinweis für die Breite der zurückgegebenen Grafik in Pixeln.

HEIGHT

Optional

Hängt vom jeweiligen Legendenbild ab.

Gibt einen Hinweis für die Höhe der zurückgegebenen Grafik in Pixeln.

EXCEPTIONS

Optional

text/xml (WMS 1.3.0)

application/vnd.ogc.se_xml (WMS 1.1.1 und WMS 1.1.0)

application/vnd.ogc.inimage (WMS 1.0.0)

Der MIME-Typ des Formats, in dem Ausnahmen zurückgegeben werden soll. Zulässige Werte sind die Gleichen wie für den Parameter "EXCEPTIONS=" der WMS GetMap-Anforderung.

Feedback zu diesem Thema?

Kommunikation mit einem WMS-Service in einem Webbrowser—ArcGIS Server (2024)

FAQs

How to create a WMS service in ArcGIS? ›

To do so, follow these steps:
  1. Remaining in ArcMap, open the Catalog window and expand the GIS Servers node.
  2. Double-click Add WMS Server.
  3. In the Add WMS Server window, paste the URL of your WMS service in the URL text box.
  4. Click Get Layers and wait for the WMS service to be connected. ...
  5. Click OK.

What is the WMS URL for ArcGIS Server? ›

To connect to a WMS service, you need to know the URL. WMS services published to ArcGIS Server have this URL format: https://gisserver.domain.com:6443/arcgis/services/folder/service/service type(can be MapServer or ImageServer)/WMSServer?

How to use WMS service? ›

You can get a WMS service's service-level metadata, a map image, or attribute values of a feature by sending a URL request to the server and viewing the corresponding responses in the browser as either an XML document or an image.

What is an ArcGIS Server web service? ›

An ArcGIS Server web service represents a GIS resource—such as a map, image, or feature class—that is located on an ArcGIS Server site and is made available to client apps such as Map Viewer. You can add ArcGIS Server web services to your ArcGIS Enterprise organization to use them in apps throughout ArcGIS.

What is a WMS connection? ›

A Web Mapping Service (WMS) is a service hosted on a remote server. Similar to a website, you can access it as long as you have a connection to the server. Using QGIS, you can load a WMS directly into your existing map.

What is the difference between WMS and WFS in ArcGIS? ›

Unlike the OGC Web Map Service (WMS), which returns an image of a map, the WFS service returns features with geometry and attributes that clients can use in geospatial analysis. WFS services also support filters that allow you to perform spatial and attribute queries on the data.

What is the WMS web mapping service? ›

A Web Map Service (WMS) defines an interface that allows a client to get maps of geospatial data and gain detailed information on specific features shown on the map.

What is the URL for ArcGIS Server manage? ›

The URL for ArcGIS Server Manager is https://gisserver.domain.com:6443/arcgis/manager/. Alternatively, you can open Manager from the operating system shortcut that is installed with ArcGIS Server.

How to configure ArcGIS Server? ›

Configure a single-machine deployment
  1. Install ArcGIS Server.
  2. Sign in to Manager and create a site.
  3. Install and configure the Web Adaptor.
  4. Integrate the server with ArcGIS Enterprise.
  5. Connect to the server in ArcGIS Pro.
  6. Grant permissions to data directories.

What do you mean by WMS service? ›

A warehouse management system (WMS) is a software solution that offers visibility into a business' entire inventory and manages supply chain fulfillment operations from the distribution center to the store shelf.

What is the difference between WMS and web coverage service? ›

A WCS service returns data in a format that can be used as input for analysis and modeling. This is in contrast with the OGC Web Map Service (WMS), which only returns a picture of the data. The raster datasets made available through WCS services are referred to as coverages.

How do I get data from WMS? ›

Download data extract files
  1. In the Remote pane, click / > xfer to open the xfer directory.
  2. From the xfer directory, double-click wms > reports.
  3. Select the file(s) to download and drag-and-drop them from the Remote pane to the Local pane. The files will be added to the transfer queue at the bottom of the window.
Jul 8, 2024

What is the difference between ArcGIS and ArcGIS Server? ›

ArcGIS Server is essentially ArcGIS Enterprise without ArcGIS Portal. ArcGIS Portal is all of the tools to create and manage the content (web maps, web scenes, map viewers, etc) that uses and displays the web services you publish with ArcGIS Enterprise.

What is the difference between Web map and web layer in ArcGIS? ›

Web maps and web scenes are composed of web layers. Web maps are used to visualize 2D data, while web scenes are used with 3D data. When existing web layers are shared as part of a new map or scene, any changes in the configuration of the layer are stored with the new web map—the original web layer is not modified.

What are the benefits of ArcGIS Server? ›

ArcGIS Server is software that makes your geographic information available to others in your organization and optionally anyone with an Internet connection. This is accomplished through web services, which allow a powerful server computer to receive and process requests for information sent by other devices.

How do I add a WFS service to ArcMap? ›

Adding a WFS connection
  1. Start ArcMap.
  2. Open the Catalog window.
  3. Under GIS Servers, double-click Add WFS Server. ...
  4. Type the service URL.
  5. Click the Version drop-down arrow and choose the version of the WFS specification being used.

How do you create a feature service in ArcGIS? ›

To create a feature service, create a map in an ArcGIS Desktop client, publish the map with feature access enabled (ArcMap) or as a feature layer (ArcGIS Pro), and use web, ArcGIS Desktop clients, and apps to access the service.

How to create a map service in ArcMap? ›

To publish your ArcMap document as a service, follow these steps:
  1. Open your map document in ArcMap and click File > Share As > Service from the main menu. ...
  2. Choose Publish a service and click Next.
  3. Choose the GIS Server connection you want to use from the Choose a connection drop-down list.

How do you create a service area in ArcMap? ›

You can create a service area analysis layer from the Network Analyst toolbar by clicking Network Analyst > New Service Area.

References

Top Articles
Latest Posts
Article information

Author: Edmund Hettinger DC

Last Updated:

Views: 5853

Rating: 4.8 / 5 (58 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Edmund Hettinger DC

Birthday: 1994-08-17

Address: 2033 Gerhold Pine, Port Jocelyn, VA 12101-5654

Phone: +8524399971620

Job: Central Manufacturing Supervisor

Hobby: Jogging, Metalworking, Tai chi, Shopping, Puzzles, Rock climbing, Crocheting

Introduction: My name is Edmund Hettinger DC, I am a adventurous, colorful, gifted, determined, precious, open, colorful person who loves writing and wants to share my knowledge and understanding with you.