Publishing WMS in ArcGIS Pro 2.9 adds numbers to the filenames

269
1
Jump to solution
05-08-2023 03:24 PM
PaulDrummond
New Contributor II

Hi.
We are upgrading our Enterprise system from 10.7.1 to 10.9.1 and I am testing a WMS/WFS service for Dial before you dig.

  1. The old endpoints have just the file name published from ArcGIS Pro 2.5 to Enterprise 10.7.1.

Note line 3.

 

 

</Layer>
<Layer queryable="1">
<Name>VM Road</Name>
<Title>
<![CDATA[ VM Road ]]>
</Title>
<Abstract>
<![CDATA[ ]]>
</Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:28355</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>145.777710</westBoundLongitude>
<eastBoundLongitude>148.219478</eastBoundLongitude>
<southBoundLatitude>-37.171077</southBoundLatitude>
<northBoundLatitude>-35.895362</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="145.777710" miny="-37.171077" maxx="148.219478" maxy="-35.895362"/>
<BoundingBox CRS="EPSG:4326" minx="-37.171077" miny="145.777710" maxx="-35.895362" maxy="148.219478"/>
<BoundingBox CRS="EPSG:28355" minx="391478.294816" miny="5886149.234759" maxx="608271.985668" maxy="6026989.602759"/>
<Style>
<Name>default</Name>
<Title>VM Road</Title>
<LegendURL width="18" height="18">
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://[URL].au/server/services/DBYD/DBYD_WMS_WFS/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=VM Road" xlink:type="simple"/>
</LegendURL>
</Style>
<MaxScaleDenominator>4724.702381</MaxScaleDenominator>
</Layer>

2.   The new endpoint published using 2.9 has a number appended to the layer name...

 

</Layer>
<Layer queryable="1">
<Name>VM_Road38838</Name>
<Title>
<![CDATA[ VM Road ]]>
</Title>
<Abstract>
<![CDATA[ ]]>
</Abstract>
<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:7855</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>145.777716</westBoundLongitude>
<eastBoundLongitude>148.219484</eastBoundLongitude>
<southBoundLatitude>-37.171064</southBoundLatitude>
<northBoundLatitude>-35.895349</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="145.777716" miny="-37.171064" maxx="148.219484" maxy="-35.895349"/>
<BoundingBox CRS="EPSG:4326" minx="-37.171064" miny="145.777716" maxx="-35.895349" maxy="148.219484"/>
<BoundingBox CRS="EPSG:7855" minx="391478.818900" miny="5886150.695900" maxx="608272.488900" maxy="6026991.031000"/>
<Style>
<Name>default</Name>
<Title>
<![CDATA[ VM Road ]]>
</Title>
<LegendURL width="18" height="18">
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://[URL].au/server/services/DBYD/DBYD_WMS_WFS_2/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=VM_Road38838" xlink:type="simple"/>
</LegendURL>
</Style>
<MaxScaleDenominator>4724.702381</MaxScaleDenominator>
</Layer>

 

Why are the numbers getting appended to the <name> tag on line 3?

The service is identical in Server Manager and I have just saved the old workspace and published with a new version of ArcGIS Pro (2.9) to Enterprise 10.9.1.

Any help would be greatly appreciated.

 

 

 

 

0 Kudos
1 Solution

Accepted Solutions
PaulDrummond
New Contributor II

As way of an update...

The issue is that the layer names have spaces in them – ArcGIS Pro 2.9.6 automatically replaces the spaces with underscores, and when it does this it appends a number (not sure on what the correlation).

 

View solution in original post

0 Kudos
1 Reply
PaulDrummond
New Contributor II

As way of an update...

The issue is that the layer names have spaces in them – ArcGIS Pro 2.9.6 automatically replaces the spaces with underscores, and when it does this it appends a number (not sure on what the correlation).

 

0 Kudos