[Chameleon-dev] [Bug 363] New: problem adding layers from WMS servers which have a layer name starting with a digit

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Fri Apr 23 09:03:04 EDT 2004


http://www.maptools.org/bugzilla/show_bug.cgi?id=363

           Summary: problem adding layers from WMS servers which have a
                    layer name starting with a digit
           Product: Chameleon
           Version: 1.1
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: bartvde at xs4all.nl


There is a problem with adding a layer from a WMS server in Chameleon (through
the Manage Severs widget) when this layer has a layer name of e.g. 0. No layer
name is then written in the dbf "structs".

So in the current situation Chameleon cannot work with WMS servers which
advertize layer names starting with digits.

Example capabilities:

<Layer queryable="1" opaque="0" noSubsets="0">
<Name>0</Name>
<Title>NLPR_R98</Title>
<LatLonBoundingBox minx="-180" miny="-90" maxx="180" maxy="90" />
<BoundingBox SRS="EPSG:28992" minx="13558.3999" miny="306866.7999"
maxx="278090.2001" maxy="618985.6001" resx="1" resy="1" />
</Layer> 

The corresponding row from the capab.dbf has the field NAME empty.

I just changed my layer name on the WMS to layer_0 and then there is no problem.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Chameleon-dev mailing list