[mapguide-trac] #898: Warning message during creating buffer is wrong

MapGuide Open Source trac_mapguide at osgeo.org
Thu Mar 12 04:46:32 EDT 2009


#898: Warning message during creating buffer is wrong
----------------------------+-----------------------------------------------
   Reporter:  leodai        |       Owner:  leodai
       Type:  defect        |      Status:  new   
   Priority:  low           |   Milestone:        
  Component:  Tile Service  |     Version:  2.0.2 
   Severity:  trivial       |    Keywords:        
External_id:  1202945       |  
----------------------------+-----------------------------------------------
 when select one feature and do buffer, we sometimes get the following
 waring message because of the CS problem:

 1 layers were excluded from buffer computation because their coordinate
 systems are incompatible with the coordinate system of the map, or because
 they have no coordinate system at all.

 Apparently, there is an syntax error here.
 Looked into the codes, and found actually it has already considered such
 kind problem and prepare two strings for the warning message. One is the
 above and another is:
 %s layer was excluded from buffer computation because its coordinate
 system is incompatible with the coordinate system of the map, or because
 it has no coordinate system at all

 The true reason of this problem is the logic of codes where choose above
 strings is wrong. And this is a common problem in the jsp,asp and php
 view.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/898>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list