[mapguide-users] Raster/GDAL SID/ECW Error
Hello, I’m using both the Autodesk FDO Provider for Raster and the GDAL provider within AIMS2015/MapGuide3.0 and running into an issue with the way a .SID or .ECW image is rendered. At a certain scale, I’m getting a glitch pattern as shown in the image here: https://www.dropbox.com/s/c20l2yj3s20jjrm/WUSD_SID_Error.JPG?dl=0 This has happened using both providers as well as .SID, .ECW, and .TIF. It only happens for a specific scale, and corrects when you zoom in or out. Any help would be appreciated, thank you for your time. Both systems are using Windows 2012, with one being AIMS2015 and the other MapGuide3.0. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Raster-GDAL-SID-ECW-Error-tp5238116.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] The roadblock for Ubuntu 14.04 support
Hi All, For the longest time, the official supported version of Ubuntu for MapGuide is Ubuntu 12.04 LTS. The reason for this is because on 14.04 there is a blocking issue with server stability. If you load the Sheboygan map and do several zooms and pans, MapGuide will quickly crash with a stack trace like this: *** Error in `/usr/local/mapguideopensource-3.1.0/server/bin/mgserver': corrupted double-linked list: 0x7fffa0d43e20 *** Program received signal SIGABRT, Aborted. [Switching to Thread 0x7fff9700 (LWP 3557)] 0x71a36cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x71a36cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x71a3a0d8 in __GI_abort () at abort.c:89 #2 0x71a73394 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x71b81b28 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175 #3 0x71a7e0f7 in malloc_printerr (action=, str=0x71b7dbfc "corrupted double-linked list", ptr=) at malloc.c:4996 #4 0x71a7f7a7 in _int_free (av=0x7fffa020, p=, have_lock=0) at malloc.c:3996 #5 0x725a9120 in agg::obj_allocator::deallocate (ptr=0x7fffa0d435f0) at ../../Oem/agg-2.4/include/agg_basics.h:53 #6 0x7259fbb5 in agg::font_cache_pool::~font_cache_pool (this=0x7fffa0a11500, __in_chrg=) at ../../Oem/agg-2.4/include/agg_font_cache_manager.h:142 #7 0x725a018e in agg::font_cache_manager::~font_cache_manager (this=0x7fffa0a11500, __in_chrg=) at ../../Oem/agg-2.4/include/agg_font_cache_manager.h:258 #8 0x725a07d6 in agg_context::~agg_context (this=0x7fffa0a103f0, __in_chrg=) at agg_context.h:160 #9 0x72591722 in AGGRenderer::~AGGRenderer (this=0x7fffa000c700, __in_chrg=) at AGGRenderer.cpp:206 #10 0x72591968 in AGGRenderer::~AGGRenderer (this=0x7fffa000c700, __in_chrg=) at AGGRenderer.cpp:212 #11 0x73b71abd in std::auto_ptr::~auto_ptr (this=0x7fff9fffdaa0, __in_chrg=) at /usr/include/c++/4.8/backward/auto_ptr.h:170 #12 0x73b3b0a1 in MgServerRenderingService::RenderDynamicOverlay (this=0x7fffa00094e0, map=0x7fffa000a260, selection=0x7fffa000b500, options=0x7fffa000c670, pPRMResult=0x0) at ServerRenderingService.cpp:592 #13 0x73b39e7c in MgServerRenderingService::RenderDynamicOverlay (this=0x7fffa00094e0, map=0x7fffa000a260, selection=0x7fffa000b500, options=0x7fffa000c670) at ServerRenderingService.cpp:530 #14 0x73b20d52 in MgOpRenderDynamicOverlay::Execute (this=0x7fffa0009230) at OpRenderDynamicOverlay.cpp:108 #15 0x73b33d47 in MgRenderingServiceHandler::ProcessOperation (this=0x7fffa00091f0) at RenderingServiceHandler.cpp:79 #16 0x0045908e in MgOperationThread::ProcessOperation (this=0x7fffc680, pData=0x882a10) at OperationThread.cpp:397 #17 0x004576b9 in MgOperationThread::ProcessMessage (this=0x7fffc680, pMB=0x882aa0) at OperationThread.cpp:226 #18 0x00455ff0 in MgOperationThread::svc (this=0x7fffc680) at OperationThread.cpp:90 #19 0x77b56d87 in ACE_Task_Base::svc_run (args=0x7fffc680) at Task.cpp:260 #20 0x77b57350 in ACE_Thread_Adapter::invoke_i (this=0x7ea6b0) at Thread_Adapter.cpp:161 #21 0x77b57214 in ACE_Thread_Adapter::invoke (this=0x7ea6b0) at Thread_Adapter.cpp:96 #22 0x77ad2593 in ace_thread_adapter (args=0x7ea6b0) at Base_Thread_Adapter.cpp:126 #23 0x712dc182 in start_thread (arg=0x7fff9700) at pthread_create.c:312 #24 0x71afa47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 (gdb) I don't really have an idea why this is happening, but this is the roadblock to MapGuide running on Ubuntu 14.04. Any help to solve this would be appreciated. - Jackie ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Using an external WMS in MapGuide Maestro
Hi Jackie, I followed your suggestions regarding the configuration document. However, if I try to show the preview the following error message appears: Message: minx > maxx Parametername: minx Details: System.ArgumentException: minx > maxx Parametername: minx bei Maestro.Editors.Preview.LocalMapPreviewer.<>c__DisplayClass4.b__1(Object obj, Exception ex) in c:\working\JenkinsCI\home\slave_win\jobs\Maestro trunk\workspace\Maestro.Editors\Preview\LocalMapPreviewer.cs:Zeile 163. bei Maestro.Shared.UI.BusyWaitDialog.Run(String message, BusyWaitDelegate action, Action`2 onComplete, Boolean bPreserveThreadCulture) in c:\working\JenkinsCI\home\slave_win\jobs\Maestro trunk\workspace\Maestro.Shared.UI\BusyWaitDialog.cs:Zeile 103. bei Maestro.Editors.Preview.LocalMapPreviewer.Preview(IResource res, IEditorService edSvc, String locale) in c:\working\JenkinsCI\home\slave_win\jobs\Maestro trunk\workspace\Maestro.Editors\Preview\LocalMapPreviewer.cs:Zeile 160. bei Maestro.Base.Editor.EditorContentBase.Preview() in c:\working\JenkinsCI\home\slave_win\jobs\Maestro trunk\workspace\Maestro.Base\Editor\EditorContentBase.cs:Zeile 376. bei Maestro.Base.Commands.PreviewResourceCommand.Run() in c:\working\JenkinsCI\home\slave_win\jobs\Maestro trunk\workspace\Maestro.Base\Commands\PreviewResourceCommand.cs:Zeile 42. bei ICSharpCode.Core.WinForms.ToolBarCommand.OnClick(EventArgs e) bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) bei System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) bei System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) bei System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) bei System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) bei System.Windows.Forms.Control.WndProc(Message& m) bei System.Windows.Forms.ScrollableControl.WndProc(Message& m) bei System.Windows.Forms.ToolStrip.WndProc(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Does that mean that there is an error in the extends of the bounding box? I checked the coordinates for the bounding boxes in the config.xml but couldn't find any minx greater than maxx Thanks, Herb -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Using-an-external-WMS-in-MapGuide-Maestro-tp5235696p5238045.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] blink a layer or a feature
My code does not have throw exceptions, but does not show the added layer. I am using AIMS 2014, Fusion viewer and google base map. The layer "LTR-off" is already created in my library, but is not added to my map in the library. So I am adding the layer in the code bellow. The addLayer function is called at the onload of my HomeTaskPanel page. The map variable is sucessfully pointed, also the oMapOL. var url = "http://localhost/mapserver2014/mapagent/mapagent.fcgi?USERNAME=Anonymous;; var metersPerUnit = 1; var mapWindow = window.top.FrameMapa; var Fusion = mapWindow.Fusion; var OpenLayers = mapWindow.OpenLayers; var inPerUnit = OpenLayers.INCHES_PER_UNIT.m * metersPerUnit; OpenLayers.INCHES_PER_UNIT["dd"] = inPerUnit; OpenLayers.INCHES_PER_UNIT["degrees"] = inPerUnit; OpenLayers.DOTS_PER_INCH = 96; function AddLayer() { var map = Fusion.getWidgetById("Map"); var options = { isBaseLayer: true, transitionEffect: "resize", buffer: 1, useOverlay: false, useAsyncOverlay: false, singleTile: true }; var params = {}; params.mapName = '<%=sessionId%>'; params.session = '<%=mapName%>'; var layer = new OpenLayers.Layer.MapGuide("LTR-off", url, params, options); map.oMapOL.addLayer(layer); } -- View this message in context: http://osgeo-org.1560.x6.nabble.com/blink-a-layer-or-a-feature-tp5236968p5238161.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users