[fusion-trac] #64: Mapguide error:The value cannot be less than or equal to zero.

Fusion trac_fusion at osgeo.org
Tue Oct 7 15:10:42 EDT 2008


#64: Mapguide error:The value cannot be less than or equal to zero.
-----------------------+----------------------------------------------------
 Reporter:  zspitzer   |         Owner:  madair  
     Type:  defect     |        Status:  assigned
 Priority:  P2         |     Milestone:  1.1     
Component:  MapGuide   |       Version:  1.0.6   
 Severity:  Major      |    Resolution:          
 Keywords:             |   External_id:          
    State:  Analysing  |       Browser:  All     
       Os:  All        |  
-----------------------+----------------------------------------------------
Comment (by madair):

 I'm pretty sure this is a MGOS bug with tiled maps.  The equivalent
 function with untiled maps works fine.

 Tracing the error into the source file (line 1041 of
 ServerRenderingService.cpp) reveals that MGOS is making a call to
 map->GetViewCenter() which seems to be failing probably because the map
 extents have not been set.

 To test this theory, I did a QUERYMAPFEATURES call first (which failed as
 above), then I made a call to GETVISIBLEMAPEXTENTS using the web tier test
 page, and then re-issued the same QUERYMAPFEATURES request and it worked
 properly.

 I will file a bug in the MGOS trac system.

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/64#comment:4>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.


More information about the fusion-trac mailing list