[fusion-trac] #520: Commercial layers do not display if MapGuide Map Definition has no tiled layers

Fusion trac_fusion at osgeo.org
Tue Mar 13 22:17:22 EDT 2012


#520: Commercial layers do not display if MapGuide Map Definition has no tiled
layers
------------------------+---------------------------------------------------
   Reporter:  jng       |       Owner:  madair
       Type:  defect    |      Status:  new   
   Priority:  P1        |   Milestone:        
  Component:  Widgets   |     Version:        
   Severity:  Critical  |    Keywords:        
External_id:            |       State:  New   
    Browser:  All       |          Os:  All   
------------------------+---------------------------------------------------
 It seems the recent support for mixing Google/Bing/OSM layers with a
 partial/fully tiled Map Definition has broken the existing support for
 untiled Map Definitions.

 Reproduction steps:

  - Load Sheboygan Dataset
  - Edit Sheboygan Map Definition's coordinate system to
 WGS84.PseudoMercator
  - Create a new Fusion Application Definition
  - Enable any commerical layer
  - Preview the Application Definition

 Results:
  - [Any or all Bing Layers]: Bing map centered on USA, get error
 {{{
 Fusion Error:
 WARNING: Exception occurred in AJAX callback.
 Message: Invalid argument; input argument 'zoomLevel' must be a non-
 negative int value.
 Location: undefined (undefined)
 Response:
 {"sessionId":"e6a53734-6d76-11e1-8000-08002700dc35_en_MTI3LjAuMC4x0B060B050B04","mapId":"Library:\/\/Samples\/Sheboygan\/Maps\/Commercial.MapDefinition","metadata":null,"metersPerUnit":1,"wkt":"PROJCS[\"WGS84.PseudoMercator\",GEOGCS[\"LL84\",DATUM[\"WGS84\",SPHEROID[\"WGS84\",6378137.000,298.25722293]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.017453292519943295]],PROJECTION[\"Popular
 Visualisation Pseudo
 Mercator\"],PARAMETER[\"false_easting\",0.000],PARAMETER[\"false_northing\",0.000],PARAMETER[\"central_meridian\",0.00000000000000],UNIT[\"Meter\",1.00000000000000]]","epsg":900913,"siteVersion":"2.4.0.0","mapTitle":"Commercial","mapName":"Commercial4f5fff07906a0","backgroundColor":"#cdbd9c","extent":[-9769953.6613123,5417808.8801718,-9762220.7994439,5434161.2241864],"layers":[{"uniqueId":"6f703560
 -6d7b-
 11e1-8000-08002700dc35","layerName":"Roads","layerTypes":[1],"resourceId":"Library:\/\/Samples\/Sheboygan\/Layers\/Roads.LayerDefinition","parentGroup":"6f65fc08
 -6d7b-
 11e1-8001-08002700dc35","selectable":false,"visible":true,"actuallyVisible":true,"editable":true,"isBaseMapLayer":false,"legendLabel":"Roads","displayInLegend":true,"expandInLegend":true,"minScale":"0","maxScale":"24000"},{"uniqueId":"6f703560
 -6d7b-11e1-8001-08002700dc35","layerName":"Rail
 Lines","layerTypes":[1],"resourceId":"Library:\/\/Samples\/Sheboygan\/Layers\/Tracks.LayerDefinition","parentGroup":"6f65fc08
 -6d7b-
 11e1-8001-08002700dc35","selectable":false,"visible":false,"actuallyVisible":false,"editable":true,"isBaseMapLayer":false,"legendLabel":"Rail
 Lines","displayInLegend":true,"expandInLegend":true,"minScale":"0","maxScale":"24000"},{"uniqueId":"6f703560
 -6d7b-
 11e1-8002-08002700dc35","layerName":"Districts","layerTypes":[2],"resourceId":"Library:\/\/Samples\/Sheboygan\/Layers\/Districts.LayerDefinition","parentGroup":"6f65fc08
 -6d7b-
 11e1-8000-08002700dc35","selectable":false,"visible":true,"actuallyVisible":false,"editable":true,"isBaseMapLayer":false,"legendLabel":"Districts","displayInLegend":true,"expandInLegend":true,"minScale":"10000","maxScale":"infinity"},{"uniqueId":"6f705c70
 -6d7b-
 11e1-8000-08002700dc35","layerName":"Buildings","layerTypes":[2],"resourceId":"Library:\/\/Samples\/Sheboygan\/Layers\/Buildings.LayerDefinition","parentGroup":"6f65fc08
 -6d7b-
 11e1-8000-08002700dc35","selectable":false,"visible":true,"actuallyVisible":true,"editable":true,"isBaseMapLayer":false,"legendLabel":"Buildings","displayInLegend":true,"expandInLegend":true,"minScale":"0","maxScale":"1500"},{"uniqueId":"6f705c70
 -6d7b-
 11e1-8001-08002700dc35","layerName":"Parcels","layerTypes":[2],"resourceId":"Library:\/\/Samples\/Sheboygan\/Layers\/Parcels.LayerDefinition","parentGroup":"6f65fc08
 -6d7b-
 11e1-8000-08002700dc35","selectable":true,"visible":true,"actuallyVisible":true,"editable":true,"isBaseMapLayer":false,"legendLabel":"Parcels","displayInLegend":true,"expandInLegend":true,"minScale":"0","maxScale":"10000"}],"hasDynamicLayers":true,"groups":[{"groupName":"Municipal","legendLabel":"Municipal","uniqueId":"6f65fc08
 -6d7b-
 11e1-8000-08002700dc35","displayInLegend":true,"expandInLegend":true,"parentUniqueId":"","visible":true,"actuallyVisible":true,"isBaseMapGroup":false},{"groupName":"Transportation","legendLabel":"Transportation","uniqueId":"6f65fc08
 -6d7b-
 11e1-8001-08002700dc35","displayInLegend":true,"expandInLegend":true,"parentUniqueId":"","visible":true,"actuallyVisible":true,"isBaseMapGroup":false}],"FiniteDisplayScales":[]}
 }}}
  - [Any or all Google Layers]: Sheboygan map shows, no google imagery
 available
  - [Any or all OSM Layers]: Sheboygan map shows, no OSM tiles display.
 Firebug shows lots of 404 requests to tile.openstreetmap.org

 As soon as you introduce a tiled layer into the Map Definition with a
 Google-compatible finite scale list. The commercial layers line up with
 the Sheboygan map.

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/520>
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