jumpinjackie / mapguide-maestro Goto Github PK
View Code? Open in Web Editor NEWMapGuide Maestro
Home Page: https://jumpinjackie.github.io/mapguide-maestro/
MapGuide Maestro
Home Page: https://jumpinjackie.github.io/mapguide-maestro/
Reported here: http://osgeo-org.1560.x6.nabble.com/Maestro-Feature-Upgrade-problem-td5305534.html
We're using Maestro (5.1 and 6.0b4) to upgrade some feature schema from 2.3.0 to 2.4.0.
After schema upgrade the HYPERLINK info are completely lost.
The block <Url> <Url>if('"ID" = ''707'' OR "ID" = ''648''', Concat('gdt_redirectNpages.php?&npages=2'))</Url>
is not migrated to
<UrlData>
<Content>................... </Content>
</UrlData>
so hyperlinks have to be restored manually.
Here is an example of the schema before and after upgrade :
<?xml version="1.0"?>
<LayerDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.3.0" xsi:noNamespaceSchemaLocation="LayerDefinition-2.3.0.xsd">
<VectorLayerDefinition>
<ResourceId>Library://MYDATA/MyFolder/Data/shp.FeatureSource</ResourceId>
<Watermarks />
<FeatureName>Default:piezometri</FeatureName>
<FeatureNameType>FeatureClass</FeatureNameType>
<Filter />
<PropertyMapping>
<Name>TXT_CODE</Name>
<Value>Codice</Value>
</PropertyMapping>
<PropertyMapping>
<Name>ID</Name>
<Value>ID</Value>
</PropertyMapping>
<Geometry>Geometry</Geometry>
<Url>if('"ID" = ''707'' OR "ID" = ''648''', Concat('gdt_redirectNpages.php?&npages=2'))</Url>
<ToolTip>Concat('<img src="/logo.jpg" />','<br />',TXT_DESCR )</ToolTip>
<VectorScaleRange>
``
After :
Bing v7 controls (VirtualEarth) will shutdown on Jun 30th 2017
https://blogs.bing.com/maps/June-2016/Bing-Maps-V8-Web-Control-Released
Work is already being done to make sure Fusion switches over to the apikey-based service.
http://trac.osgeo.org/fusion/changeset/2971/sandbox/adsk/3.2o
To make sure Maestro can create/edit Fusion layouts with this change in place, we need to:
VirtualEarth
Aerial
Road
BingMapKey
extension element of the Application Definition. When loading, load the API key into the field from this location if it exists.As our user guide is built with Sphinx and restructured text, we can easily have an online version hosted on readthedocs
Original Link: https://trac.osgeo.org/mapguide/ticket/2560
A nice feature in QGIS with thematic rules is that you can obtain feature counts of each theme rule to determine what is actually being used.
This would be a nice feature to have in Maestro
Reported by Reno on the 6.0m6 announcement
Non-modal map previews is not working if the map has transparent background colors.
Control does not support transparent background colors.
System.ArgumentException: Control does not support transparent background colors.
at System.Windows.Forms.Control.set_BackColor(Color value)
at Maestro.MapViewer.MapViewer.InitViewerFromMap(Nullable`1 initialScale) in C:\projects\mapguide-maestro\Maestro.MapViewer\MapViewer.cs:line 1155
at Maestro.MapViewer.MapViewer.LoadMap(RuntimeMap map) in C:\projects\mapguide-maestro\Maestro.MapViewer\MapViewer.cs:line 1138
at Maestro.Editors.Preview.MapPreviewViewContent.OnLoad(EventArgs e) in C:\projects\mapguide-maestro\Maestro.Editors\Preview\MapPreviewViewContent.cs:line 73
at System.Windows.Forms.UserControl.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at WeifenLuo.WinFormsUI.Docking.DockContentHandler.SetVisible()
at WeifenLuo.WinFormsUI.Docking.DockPane.set_ActiveContent(IDockContent value)
at WeifenLuo.WinFormsUI.Docking.DockContentHandler.Activate()
at WeifenLuo.WinFormsUI.Docking.DockContentHandler.Show(DockPanel dockPanel, DockState dockState)
at WeifenLuo.WinFormsUI.Docking.DockContentHandler.Show(DockPanel dockPanel)
at WeifenLuo.WinFormsUI.Docking.DockContent.Show(DockPanel dockPanel)
at Maestro.Shared.UI.WorkbenchBase.ShowContent(IViewContent vc) in C:\projects\mapguide-maestro\Maestro.Shared.UI\WorkbenchBase.cs:line 410
at Maestro.Shared.UI.ViewContentManagerBase.OpenContent[T](String title, String description, ViewRegion region, CreateFunc`1 method) in C:\projects\mapguide-maestro\Maestro.Shared.UI\ViewContentManagerBase.cs:line 229
at Maestro.Shared.UI.ViewContentManagerBase.OpenContent[T](ViewRegion region, CreateFunc`1 method) in C:\projects\mapguide-maestro\Maestro.Shared.UI\ViewContentManagerBase.cs:line 164
at Maestro.Editors.Preview.LocalMapPreviewer.<>c__DisplayClass10_0.<Preview>b__1(Object obj, Exception ex) in C:\projects\mapguide-maestro\Maestro.Editors\Preview\LocalMapPreviewer.cs:line 172
at Maestro.Shared.UI.BusyWaitDialog.Run(String message, BusyWaitDelegate action, Action`2 onComplete, Boolean bPreserveThreadCulture) in C:\projects\mapguide-maestro\Maestro.Shared.UI\BusyWaitDialog.cs:line 103
at Maestro.Editors.Preview.LocalMapPreviewer.Preview(IResource res, IEditorService edSvc, String locale) in C:\projects\mapguide-maestro\Maestro.Editors\Preview\LocalMapPreviewer.cs:line 162
at Maestro.Base.Editor.EditorContentBase.Preview() in C:\projects\mapguide-maestro\Maestro.Base\Editor\EditorContentBase.cs:line 376
at Maestro.Base.Commands.PreviewResourceCommand.Run() in C:\projects\mapguide-maestro\Maestro.Base\Commands\PreviewResourceCommand.cs:line 42
at ICSharpCode.Core.WinForms.ToolBarCommand.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Now that we've netstandard-ized the MaestroAPI, we should have a TravisCI config to test this under Linux
Originally reported by: gBecker
Original Link: https://trac.osgeo.org/mapguide/ticket/2541
When editing the configuration document of a WMS FeatureSource? in MGOS 3.0 via the editor, the connection to the WMS server fails. Hitting the "Test Connection"-Button results in an unclassified error.
<2015-02-26T11:44:53> 15904 MapGuide Maestro v6.0.0.8244 ::1 Administrator
Error: Resource data was not found: MG_USER_CREDENTIALS
StackTrace:
- MgResourceServiceHandler.ProcessOperation() line 80 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\resource\ResourceServiceHandler.cpp
- MgOpDeleteResourceData.Execute() line 101 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\resource\OpDeleteResourceData.cpp
- MgServerResourceService.DeleteResourceData() line 1917 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\resource\ServerResourceService.cpp
- MgApplicationRepositoryManager.DeleteResourceData() line 1065 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\resource\ApplicationRepositoryManager.cpp
- MgTagManager.GetTag() line 372 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\resource\TagManager.cpp
<2015-02-26T11:44:53> 18132 MapGuide Maestro v6.0.0.8244 ::1 Administrator
Error: Problem:\nThe application encountered a problem and could not finish the operation you just requested properly.\n\nSolution:\nIf it\'s the first time you met this problem, try again or restart the application / session; otherwise, describe the steps to reproduce this problem to the server administrator for suggestions.
StackTrace:
- MgFeatureServiceHandler.ProcessOperation() line 83 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\feature\FeatureServiceHandler.cpp
- MgOpTestFeatureSourceConnection.Execute() line 100 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\feature\OpTestFeatureSourceConnection.cpp
- MgServerFeatureService.TestConnection() line 244 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\feature\ServerFeatureService.cpp
- MgFdoConnectionManager.Open() line 333 file c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\common\manager\FdoConnectionManager.cpp
I've also recognized that all entries in the "Select FDO Provider" box exists twice when you have another connection to an older MGOS version aside a MGOS 3.0 server connection in Maestro. For example:
"OSGeo FDO Provider for WMS" and "WMS Provider"
Original Link: https://trac.osgeo.org/mapguide/ticket/2747
Per this thread: โhttp://osgeo-org.1560.x6.nabble.com/Out-of-Order-SelectionPanel-js-td5288902.html
I tried reproducing the problem with data provided by Gordon. It turns out that the layer properties I'm selecting to show does not match the generated XML in terms of display order.
Original Link: https://trac.osgeo.org/mapguide/ticket/768
Before layers can be served as WMS they must have the bounds info applied. Since the bounds info should be in EPSG:4326, it is non-trivial for the user to calculate these.
Since MapGuide exposes coordinate transformation functions, Maestro should be able to convert the boundsing coordinates from the layer/featuresource and create the corresponding EPSG:4326 coordinates.
Original Link: https://trac.osgeo.org/mapguide/ticket/2581
Hi folks,
when integrating all 4 different google maps types, only G_SATELLITE_MAP will be displayed in the browser, after site is loaded... all other 3 map types are not shown, when they are the first childmap behind MapGuide. But we want G_NORMAL_MAP shown at start!
In the <ApplicationDefinition?><GoogleScript?> the parameters "key" and "client" for โhttp://maps.google.com/maps/api/js are correct, no "callback" defined... All parameters are tested in a small html5/OpenLayers-website...
Original Link: https://trac.osgeo.org/mapguide/ticket/2583
There is only an input box in the application definition form for a Yahoo Maps API key, in Maestro 5.1, but not one for a Google API key in either version.
There is a box indicated in the help documentation for 5.1 for both API keys.
Original Link: https://trac.osgeo.org/mapguide/ticket/2757
The Default Path field and the Edit/Delete? buttons beside it does nothing. Nothing references them, and no event handlers are wired up to the buttons
Original Link: https://trac.osgeo.org/mapguide/ticket/1319
Building Maestro reveals thousands of warnings, relating to missing XML comments for public APIs. These APIs, except for auto-generated classes should be documented.
Original Link: https://trac.osgeo.org/mapguide/ticket/1924
Hi,
A couple of minor edits to scale ranges to catch unexpected behaviour:
1. When using the "Generate" button and the 'Exponential' method the scale ranges start at the 'Min Scale' but do not end at the 'Max Scale' - if I set a max I expect that to be preserved. I think the "Number of Scales" is generating but missing the top end max scale which is not added in again as it would make numscales +1
2. When manually editing a 'Display Scale' list and saving the list the Map is not invalidated (*) so it is easy to close and loose changes
3. It maybe just me but unless I run full-screen I cannot see the 'Generate' button, the scaling/position of the controls seems not to update if you shrink a window
Original Link: https://trac.osgeo.org/mapguide/ticket/2335
Implement a new addin for browsing the WFS/WMS services exposed by the MapGuide Server.
Current idea is simply for a tree-style explorer interface based on the respective WFS/WMS GetCapabilities? responses to see what layers have been published for WFS/WMS.
This feature doubles as a nice way to verify if publishing a resource for WFS/WMS consumption has succeeded.
Original Link: https://trac.osgeo.org/mapguide/ticket/2740
Resource previews currently are hard-coded to always launch the AJAX viewer.
There may be other ways to preview these resources and Maestro should provide extension points to allow alternative preview URLs to be launched when previewing
The source code headers still point to the old MapGuide Trac instance. They need to be updated to this GitHub URL.
I am running mapguide maestro on a Windows 2008 Server and whenever I try to preview a map or a layer, is does not show and returns a error message 'Specified method is not supported'.... Please help me solve this issue.
It references files from the AppVeyor build working area and not files from the GitHub repo
Currently, we are leaking out GeoAPI from MaestroAPI to downstream consumers because we are leaking out IGeometry
and ICoordinateSystem
in our various public APIs.
To simplify usage of Maestro API (and to make the netstandard porting effort simpler), we should provide wrapper classes around these 2 interfaces
We should look at making at least the MaestroAPI portions netstandard-compatible so it can be used in .net Core, Xamarin, etc.
netstandard2.0
netstandard2.0
System.Drawing
primitives (Point/Font/etc)arious UIs, use new BindingList<T>(originalList)
netstandard2.0
netstandard1.6
Move all Maestro tickets currently on MapGuide's trac instance to here.
Original Link: https://trac.osgeo.org/mapguide/ticket/2271
Add a filter to the New Resource Dialog that only shows the latest schema versions of each resource type.
Hi Jackie,
My Server Configuration is as below:
I have successfully performed the following steps:
Issue: I am getting the following error when connecting to data source with OSGeo.KingOracle 4.1.0 provider in Maestro
The remote server returned an error: (559) MgFdoException.:
An exception occurred in FDO component.
Error occurred in Feature Source (Session:45a446e8-6665-11e7-8000-00016c5a03b2_en_MTI3LjAuMC4x0AFC0AFB0AFA//b4ccab67-4b8f-4e64-bc2b-55bc4a3d8485.FeatureSource): An exception occurred in FDO component.
Failed to retrieve the third party exception mesage. This message may not be unicode compliant.
MgFdoConnectionManager.Open() line 333 file FdoConnectionManager.cpp
MgFdoConnectionManager.CacheFdoConnection() line 1097 file FdoConnectionManager.cpp
MgFdoConnectionManager.Open() line 1089 file FdoConnectionManager.cpp
(Cause: , Root Cause: )
MgFeatureServiceHandler.ProcessOperation() line 83 file FeatureServiceHandler.cpp
MgOpTestFeatureSourceConnection.Execute() line 100 file OpTestFeatureSourceConnection.cpp
MgServerFeatureService.TestConnection() line 244 file ServerFeatureService.cpp
MgFdoConnectionManager.Open() line 366 file FdoConnectionManager.cpp
The remote server returned an error: (559) MgFdoException.
Q1. Is sl-king fdo provider for oracle supported on Linux?
If yes, Please share documents, urls, help manual to create layers in Maestro using SL-King FDO Provider for Oracle and display the layers using Mapguide Server.
If No, please suggest alternative to create layers in Maestro any other FDO Provider for Oracle and display the layers using Mapguide Server.
Thanks
Satish Bonala
Original Link: https://trac.osgeo.org/mapguide/ticket/2566
It seems users are still confused by what MgConnectionFailedException? means when they try to login to a Web Tier connected to a MapGuide Server that is not running
A cloudflare-style error dialog would be a more user-friendly way to convey what this error is all about
Even though the HTTP connection provider is now built-in, the ConnectionProviderRegistry
still blows up if ConnectionProviders.xml
present.
This is due to code in the static constructor that will still implicitly look for a ConnectionProviders.xml
in the same directory as the MaestroAPI assembly and load all registered providers from it.
This code fragment show be offloaded to an explicit init action where applications that need to use these other providers can call as part of application startup.
Original Link: https://trac.osgeo.org/mapguide/ticket/2529
The map viewer doesn't check for zero width/height/dpi/etc when sending rendering requests, which will manifest as the "value cannot be less than or equal to zero" errors coming back from the mapagent.
Although I'd love nothing more than receiving pull requests, there should still be a minimum bar of acceptability that such pull requests should meet.
And such standards should be documented in a CONTRIBUTING.md document.
As we have lost svn externals in the migration process, we need a simple script to setup svn checkouts at the locations where they are expected or just bite the bullet and include those files as well
It's $CURRENT_YEAR, we should have a MaestroAPI in ASP.net MVC in our SDK, not WebForms!
Now that Maestro is on GitHub, let's set up AppVeyor for CI
Move all wiki content referenced from (https://trac.osgeo.org/mapguide/wiki/maestro) to here.
I've been encountering cases where when initially building the WMS configuration document that their spatial contexts are presented in the form EPSG:XXXX
In such cases, having an action that auto-infers the coordinate systems (because we can get coordinate systems by EPSG) and applies them would be very convenient.
We used to make a zip release of Maestro (along with installer and SDK) that was just Maestro without the local connection mode and IronPython scripting engine. This was for running on Linux via Mono (at your own risk).
Our current AppVeyor setup doesn't produce this particular artifact.
Original Link: https://trac.osgeo.org/mapguide/ticket/2403
After Map Previewing a layer with "Preview Resource", Maestro will freeze the next time we are opening a resource (map, layer, feature source,...)
The 6.0m6 SDK package is lighter because in the process of porting our test suites to NUnit 3, we lost the ability to run the integration test parts as we no longer have the ability to make a dedicated NUnit console runner executable.
We either need to find out how to make a dedicated console runner in the NUnit3 world or:
The recent 6.0m7 release initially worked well by allowing an API key to be added for Bing maps. However, the <VirtualEarthScript>
value of "http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2" is referencing a script that no longer exists. More information here.
This causes an error when a Fusion-based template starts up. Chrome developer tools display the following error:
Uncaught ReferenceError: VEMapStyle is not defined
It's a bug in tree node selection where it's not considering selected Tile Sets
Now that appveyor is creating prerelease nuget packages, they should be uploaded to nuget.org
Original Link: https://trac.osgeo.org/mapguide/ticket/2129
When validating a Map Definition, Maestro should collect the number of unique colors found in all referenced Layer Definitions. If the total is > 256 or a color FDO expression was detected (implying a variable number of different colors), report a warning that the Map Definition may not be suitable for rendering as PNG8 images.
Now that we have code coverage set up, let's get this percentage up from its current value of 11%
Original Link: https://trac.osgeo.org/mapguide/ticket/2110
Review the Maestro codebase for localization related issues:
{0}(*.{1})|*.{1}
, where {0}
is the locale-specific file type and {1}
is the extension.The mg-desktop wrapper provider (Maestro.Local) requires vcredist (2012) to be installed.
There should be an NSIS macro out there that can do this for us.
Original Link: https://trac.osgeo.org/mapguide/ticket/2404
This is a problem that's been in Maestro since the beginning. If you make a map and then make some groups, you'll find that you can't properly drag the groups. In fact, you can't even drag the layers to reorder them - despite the graphics which make it look like it will work. For layers you have to use the up/down buttons - which do nothing for groups.
So, if you drag a group folder and want to put it above another group, it will drop it inside the top-most group, and there's no way to get it outside of that group without dragging it to another one. Even if you get the dividers in the right spot, it won't drop a group between other groups - it always puts it inside.
Inspired by my blogged thought experiment:
http://themapguyde.blogspot.com/2017/10/a-simpler-mgcooker-tile-seeding-process.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.