Re: [mapguide-users] Differences between PUBLISHED_API and INTERNAL_API

2024-04-22 Thread Jackie Ng via mapguide-users
You're mostly on the money. The purpose behind these various *_API markers is documented here and they're mainly for controlling what gets exposed to SWIG https://trac.osgeo.org/mapguide/browser/trunk/MgDev/Common/Foundation/FoundationDefs.h#L49 PUBLISHED_API and EXTERNAL_API members will be

Re: [mapguide-users] MapGuide 4.0 Beta 2

2024-03-19 Thread Jackie Ng via mapguide-users
Hi David, I must apologize for these repeated delays and failed promises. The reality of the situation is that my day job has absolutely drained any energy I have remaining to tackle MapGuide and FDO dev, which is why these time frames keep slipping. Rather than throw out another date that I'll

Re: [mapguide-users] Memory leak with MGOS 4 Beta 1

2024-02-03 Thread Jackie Ng via mapguide-users
log but nothing stands out in the > preceding activity. There's nothing specific during the memory ramp up > period that we don't see at other times. > > David > > On Wed, Jan 31, 2024 at 12:01 AM Jackie Ng via mapguide-users < > mapguide-users@lists.osgeo.org> wrote: >

Re: [mapguide-users] Memory leak with MGOS 4 Beta 1

2024-01-30 Thread Jackie Ng via mapguide-users
Could you correlate the time period of 11.15am - 11.45am (where the memory usage ramps up) with entries in your access.log and see which operations are involved? - Jackie You wrote: Hello Pierre, The server is running Windows 2022 Standard, we're using Apache Server and Oracle database. There

Re: [mapguide-users] Maestro 6.0m12 with Mono under Ubuntu 22.04

2024-01-16 Thread Jackie Ng via mapguide-users
Hi Pierre, I have long since de-emphasised any mention of "Mono Compatibility" with regards to Maestro, simply because I don't have the resources to test if it works there, so you are venturing into unknown territory. I will say however, that 6.0m12 is now a .net 6.0 application and not a legacy

[mapguide-users] Small change of plans for MapGuide Open Source 4.0 release timeline

2023-12-18 Thread Jackie Ng via mapguide-users
Hi All, Just to reiterate what I posted on my blog: https://themapguyde.blogspot.com/2023/12/minor-change-of-plans.html We won't be going to RC1 just yet. There will be a 2nd beta release of MGOS 4.0, whose release I am aiming for late January next year. This is primarily to accommodate the

Re: [mapguide-users] Point mapping using font symbols is not displayed

2023-12-18 Thread Jackie Ng via mapguide-users
MapGuide looks for fonts in Windows' designated fonts directory (the code in question calls the Win32 SHGetFolderPath API for this directory I can't tell you what the exact directory path is). I assume that if you can see the font in Windows font settings, it should also be a font that MapGuide

Re: [mapguide-users] Unable to install MGOS 4 Beta 1

2023-12-18 Thread Jackie Ng via mapguide-users
Hi David, As others have said, the general way to get around SmartScreen for freshly downloaded files is to right-click for file properties and unblock the file. But if this option is not available to you, you could try for a command-line based unlock solution:

[mapguide-users] mapguide-rest 1.0 RC6 released

2023-12-04 Thread Jackie Ng via mapguide-users
Hi All, After 6 years since the last release (!!!), I've put out the 6th release candidate of mapguide-rest 1.0. https://github.com/jumpinjackie/mapguide-rest/releases/tag/1.0rc6 The main feature of this release is: - Compatibility with MapGuide Open Source 3.1.2 (PHP 5.6) and MapGuide

Re: [mapguide-users] mapguide-users Digest, Vol 201, Issue 5

2023-11-02 Thread Jackie Ng via mapguide-users
That is correct, I am referring to MapGuide's ability to generate MVT tiles out of the box. I am not satisfied with this implementation that I introduced and wish to remove this feature before RC1 (unless you can strongly convince me otherwise). This does not affect you generating MVT tiles from

Re: [mapguide-users] MGOS 4.0 and PostgreSQL

2023-10-27 Thread Jackie Ng via mapguide-users
We say PostgreSQL 12 is supported because that was the most recent version of PostgreSQL that the FDO provider was tested with. Our matrix of PostgreSQL versions to test is small and having to add more versions to test against is more developer overhead. Having said that, the libpq library the

[mapguide-users] MapGuide Open Source 4.0 RC1 plans and some remarks on MVT tiles

2023-10-27 Thread Jackie Ng via mapguide-users
Hi All, I am currently putting the finishing touches on a new mapguide-rest release that will be compatible with both 3.1.2 and current 4.0 Beta, thus fully validating the new PHP binding work (if mapguide-rest can work with these new PHP bindings, then there is no real reason your PHP MapGuide

Re: [mapguide-users] Loading Shapefile on fly using add layer manager

2023-09-21 Thread Jackie Ng via mapguide-users
Most of what mapguide-react-layout can/cannot do is driven by the underlying OpenLayers library we're using. OpenLayers cannot create client-side vector layers from SHP files, so there will not be such support in mapguide-react-layout either. - Jackie You wrote: Hi I’d like my webpage’s user

Re: [mapguide-users] Mapguide-Rest with Beta 4.0

2023-09-21 Thread Jackie Ng
Making mapguide-rest compatible with MGOS 4.0 / PHP 8.1 is my current active priority. - Jackie You wrote: I saw that Jackie had work with Mapguide-Rest on his todo list. Has any one tried Mapguide-Rest with Beta 4.0? Does it work? I have a customer has has flagged the old PHP versions as a

Re: [mapguide-users] MG 4.0 Beta 1 Postgis FDO Provider

2023-09-19 Thread Jackie Ng
Please note the ticket in question concerns usage of postgis via the OSGeo.OGR FDO provider and not the OSGeo.PostgreSQL provider. I cannot determine from your post as to which provider you are actually referring to. I hope you are referring to the OGR provider so that I have only one problem to

Re: [mapguide-users] MGOS 4 release timeline

2023-09-19 Thread Jackie Ng
My current version of "current schedule that may slip again" is: - Now - Mid October: Make mapguide-rest compatible with MGOS 4.0 (as a validation of the new PHP 8.1 binding in 4.0) - Mid October - Mid November: Development towards MGOS 4.0 RC1 So the final release of MGOS 4.0 may be

Re: [mapguide-users] Google Satellite

2023-07-25 Thread Jackie Ng
We do not support the use or integration of Google Maps layers and services in any of our viewer offerings (official or unofficial viewer offerings like my react viewer) It is too much of a technical and legal minefield for us to deal with. The current release of MapGuide Maestro may give you

Re: [mapguide-users] Resample or Clip expression for WMS connection

2023-07-25 Thread Jackie Ng
That exception message is coming from the WMS server your layer is connected to. It's because the CLIP() expression does not produce a valid WMS GetMap request because the inferred width and height is 0 (that's where the "can not be empty" part is coming from) Having looked at the WMS provider

Re: [mapguide-users] Session Creation Issue

2023-07-18 Thread Jackie Ng
WOW! Excellent observation! I've identified the issue of where the dpi = 0 is coming from and have made this fix allowing the viewer to work with sub-100% browser zoom: https://github.com/jumpinjackie/mapguide-react-layout/commit/f896eb7a68f52d3f71b3ab5e2beadee41eb4fed0 I will put out a new

Re: [mapguide-users] MapGuide Package Validation

2023-06-23 Thread Jackie Ng
A MapGuide package file is ultimately just a zip file with a root XML manifest that instructs the package loading code what to do with the rest of the files in the package. If this package file loads fine in one environment but not the other, I would rule out the package file as the culprit and

Re: [mapguide-users] Session Creation Issue

2023-06-23 Thread Jackie Ng
Further to this. I actually got this exact error to appear, but only noticed said error after several testing sessions so I completely lost all context for the chain of events that led to that error. Dang it! And it was from a Chrome browser! Anyways my theory around why this error would occur is

Re: [mapguide-users] MGOS 4 release timeline

2023-06-23 Thread Jackie Ng
Week of June 26: New MapGuide Maestro release and another new mapguide-react-layout release Week of July 3: New release of mapguide-rest that can work with MGOS 4.0 Mid-July: Road to MGOS 4.0 RC1 Once at RC1, we'll let it bake for a few weeks for everyone to get their last-minute showstoppers

Re: [mapguide-users] Session Creation Issue

2023-06-22 Thread Jackie Ng
The error about map display width cannot be <= 0 suggests to me that the viewer at some point made a GETDYNAMICOVERLAY request and passed in a SETDISPLAYWIDTH of 0. This sets the map display width in the session runtime map state to be 0, causing the subsequent QUERYMAPFEATURES request to log

Re: [mapguide-users] Resample or Clip expression for WMS connection

2023-06-17 Thread Jackie Ng
Plan B then is to get at this class definition through the FDO IConnnection, Make a IDescribeSchema command (using the correct CommandType enum as previously stated), execute it loop through its results until you find the matching feature class which lyr.GetFeatureClassName() should tell you the

Re: [mapguide-users] Resample or Clip expression for WMS connection

2023-06-16 Thread Jackie Ng
That's strange. Then again perhaps Map3D's implementation of this API behaves differently from its MapGuide counterpart. Either way, what you want is the name of the raster property definition in the feature class. From your current MgLayerBase (lyr) you can get its class definition

Re: [mapguide-users] MGOS 4 Beta 1 and Packages not Loading

2023-06-14 Thread Jackie Ng
The mgserver.exe executable in MGOS 4.0 beta 1 supports package loading from the command-line: mgserver.exe loadpackage Does this new method for loading packages work for you? Also: If you are using transactional package loading in Maestro, it does not work in the current release:

Re: [mapguide-users] make package mapadmin

2023-06-14 Thread Jackie Ng
Root folder here means the folder in your site repository where you want to package all resources within it. So for example, if your site repository is laid out like this: - MyMap1 - Data - Layers - Maps - Layouts - MyMap2 - Data - Layers - Maps

Re: [mapguide-users] mapserver2017 + mgReact-0.14.8 Error - Unexpected token '<', "

2023-06-14 Thread Jackie Ng
Always look at your browser dev tools and see if a network request failed or there is a javascript error on the console. The init error message almost always isn't useful (it's only marginally more user-friendly than a blank screen, but that's the best we can do), the real error can generally be

Re: [mapguide-users] Resample or Clip expression for WMS connection

2023-06-14 Thread Jackie Ng
Actually you're not too far off. You use the expression capabilities as a programmatic way to answer the question of "What functions I can use for expressions against this particular FDO provider?" by checking if your function of interest (CLIP) is in the collection of supported functions. If

Re: [mapguide-users] MgConnection Error

2023-05-22 Thread Jackie Ng
You mention the words "code behind" so I assume you are using either ASP.net webforms or (pre-core) MVC? In either case, do you have any init/startup code that calls the following? MapGuideApi.MgInitializeWebTier("path/to/your/webconfig.ini"); If you don't, most of the MapGuide API will fail on

Re: [mapguide-users] MapGuide MVT Tiles with view as source

2023-05-05 Thread Jackie Ng
Hi Martin, I am pretty sure the PostgreSQL provider supports configuration as it is based on the same shared codebase used by ODBC, SQL Server and MySQL providers, which all support configuration. By supporting configuration, we can specify a XML configuration document that provides a customised

Re: [mapguide-users] MapGuide 4.0 Beta 1

2023-04-10 Thread Jackie Ng
Thanks for the patches Patrik. I have applied both patches to fusion trunk. I have uploaded a new build of Fusion with these patches applied as a post-release fix: https://trac.osgeo.org/mapguide/wiki/Release/4.0.0/Beta1/Notes#Post-releasepatches I've also put a link to the updated fusion

Re: [mapguide-users] MapGuide 4.0 Beta 1

2023-04-06 Thread Jackie Ng
Hi Dan, Thanks for the heads up. A fixed version of serverdatafunctions.php is available in the post-release section of the 4.0 Beta 1 release notes. https://trac.osgeo.org/mapguide/wiki/Release/4.0.0/Beta1/Notes#Post-releasepatches - Jackie You wrote: Hi! I have just installed MapGuide

[mapguide-users] MapGuide Open Source 4.0 Beta 1 available

2023-04-05 Thread Jackie Ng
Hi All, I am pleased to announce the availability of MapGuide Open Source 4.0 Beta 1. https://trac.osgeo.org/mapguide/wiki/Release/4.0.0/Beta1/Notes Refer to the release notes above for a summary of changes since the Preview 4 release. I will be stepping away for the next few weeks to give

Re: [mapguide-users] White tiles at z = 0

2023-04-04 Thread Jackie Ng
Ok, this issue has been fixed. The fix will be in Beta 1, whose binaries I am building right now and will be uploaded before the end of the week, barring any further show-stoppers found in final testing. - Jackie You wrote: Hi Jackie, so, I have to correct myself. The tiles aren’t white but

Re: [mapguide-users] White tiles at z = 0

2023-04-03 Thread Jackie Ng
Hi Gunter, Thank you for providing an updated test mgp with vector data. I can see the problem locally for the vector layer which gives me more confidence that it is a Rendering/Stylization level regression that I can dig into and I am willing to hold off on the Beta 1 release in order to

Re: [mapguide-users] White tiles at z = 0

2023-03-30 Thread Jackie Ng
Hi Gunter, Do you have an example GETTILE url that reproduces the white or colored tile? Secondly, if you "inlined" the TileSetDefinition scales and groups/layers back into the MapDefinition itself (ie. Setup this MapDef with tiled layers/scales exactly how you would before the introduction of

Re: [mapguide-users] MapGuide 4.0

2023-03-28 Thread Jackie Ng
I have produced the set of artifacts that will become the Beta 1 release. Once this build passes my final smoke/sanity tests and there's nothing show-stopping, it will be uploaded as the Beta 1 release. That should be sometime this week. - Jackie You wrote: Hello everyone, I found this

Re: [mapguide-users] SQL Server connection with windows authentication

2023-03-21 Thread Jackie Ng
If I recall correctly, windows authentication is assumed if you *do not provide a username and password* to the FDO provider connection settings. A good test would be to use FDO Toolbox to connect to your database without username/password and run some raw SQL queries against it to verify it is

Re: [mapguide-users] WFS 2

2023-02-23 Thread Jackie Ng
It may be feasible, but if WFS 2.0 introduces new operations or new parameters for existing operations, there will be no support for them. Also if any of these new additions are required implementations to be conforming, that means you'll have a non-standard/non-conforming implementation that may

Re: [mapguide-users] MapGuide Fusion Error for Google Maps API (David Bowen)

2023-02-17 Thread Jackie Ng
1. Yes 2. On Windows, we source Apache server binaries from www.apachelounge.com so I imagine a way to update binaries out-of-band would be to get the latest 2.4.x release, extract to your MG web tier install, overwriting everything except your httpd.conf and preserve your existing

Re: [mapguide-users] centering mult-line labels

2023-02-09 Thread Jackie Ng
Good news: I've just integrated Layer Definition XML schema support to support justification for feature labels for basic stylization. Full details in this RFC that was just adopted: https://trac.osgeo.org/mapguide/wiki/MapGuideRfc186 This support will appear in the upcoming MapGuide Open Source

Re: [mapguide-users] MapGuide Fusion Error for Google Maps API

2023-02-09 Thread Jackie Ng
If you want to use the mapguide-react-layout viewer over Fusion, I (as the primary maintainer of the react viewer) am going to warn you up-front: While we try to aim for maximum Fusion widget and Flexible Layout compatibility in this viewer, Google Maps will not be supported by this viewer, nor

Re: [mapguide-users] QuiqePlot Mapguide-react is Not working - mg.v.3.1.1.4601

2023-02-02 Thread Jackie Ng
I'll add to that previous thread with the following extra information: - QuickPlot in mapguide-react-layout is not doing anything special. It calls the same QuickPlot PHP backend that the regular Fusion widget does. So you should detach this problem as being a mapguide-react-layout

Re: [mapguide-users] centering mult-line labels

2023-02-02 Thread Jackie Ng
I think it's due to basic stylization having a hard-coded left justification for the text label content itself. https://trac.osgeo.org/mapguide/ticket/772 Have you tried switching your layer over to using advanced stylization? I know it has content justification settings for text/label symbology

Re: [mapguide-users] GetFeatureKML & GETLayerKML

2023-02-02 Thread Jackie Ng
Sorry, the GetFeaturesKml operation currently does not support outputting attributes of the layer's features, only the Tooltip and URL settings of the layer definition are taken into consideration. Also I'm pretty sure that data.mapguide.com is a domain owned by Autodesk and whatever's hosted

Re: [mapguide-users] MGOS 4 release candidate

2023-01-18 Thread Jackie Ng
Clearly the timeline I laid out last time I answered this question didn't come to fruition. MapGuide obviously was not on my mind over this Christmas / New Year period and the weeks before and after this time period. Having said that, I do intend to ramp back up MapGuide trunk development in the

Re: [mapguide-users] compilation issues

2023-01-18 Thread Jackie Ng
Hi Luca, Firstly, that github repository is not the official MapGuide repository. That repository is several years old and was a by-product of me playing around with git mirroring scripts. The official repo is still on OSGeo at https://svn.osgeo.org/mapguide/trunk/MgDev/ You will need a

[mapguide-users] MapGuide Open Source 4.0 Preview 4 available

2022-11-04 Thread Jackie Ng
Hi All, After a long and arduous development journey, the 4th preview release of MapGuide Open Source 4.0 is now finally available! https://trac.osgeo.org/mapguide/wiki/Release/4.0.0/Preview4/Notes This release is for *testing purposes* and use in a production environment is not encouraged.

Re: [mapguide-users] MapGuide 4.0

2022-11-03 Thread Jackie Ng
PHP 8.1 - Jackie You wrote: Hey Jackie, could you please confirm which version of PHP will be bundled with MGOS 4.0? Thanks, David -- *Please Note: I no longer create new posts or post replies to any OSGeo mailing list through nabble. As a result, you most likely won't see this message

Re: [mapguide-users] MapGuide 4.0

2022-10-26 Thread Jackie Ng
Hi David, The main 4.0 blocker of new SWIG bindings has been cleared, all of that work has been merged into trunk. I'm intending/wanting to put out a new Preview 4 release before the end of this week. Just testing and ironing out various kinks in the windows installer due to massive file layout

Re: [mapguide-users] Mapguide 3.1.0 and PostgreSQL v14

2022-09-16 Thread Jackie Ng
libpq should be highly source and binary compatible, so if the libpq.dll you're using is too old, you should be able to replace it with a newer version and things should still work. - Jackie You wrote: Hi List, We have been using Mapguide (3.1.0) for a very long time with great satisfaction

Re: [mapguide-users] Migrating Mapguide 2.4 from Server2012 to 2019

2022-09-09 Thread Jackie Ng
If upgrading MapGuide is really not an option, then the only diagnostic recourse is to stop the MapGuide Server service and to run the MapGuide Server in interactive mode from the command-line (mgserver.exe run) and before running "mgserver.exe run", to set any appropriate GDAL environment

Re: [mapguide-users] REACT Sample

2022-08-25 Thread Jackie Ng
Use "resource" instead of "ApplicationDefinition" as the query string parameter. - Jackie You wrote: With MGOS (build 9862) and IIS under Win10. I have no problem to display the REACT viewer when I am using the viewer directory (ziewer.zip or yarn install from the source) . But when I am

[mapguide-users] MapGuide Site Administrator XSS vulnerability fix

2022-08-23 Thread Jackie Ng
A security fix is available for MapGuide Open Source. This fix mitigates several XSS vulnerabilities reported in the MapGuide Site Administrator tool. Download: https://download.osgeo.org/mapguide/patches/mapadmin_xss_fix/mapadmin_xss_fix.zip To apply, simply extract the zip contents to the

Re: [mapguide-users] Broken link mapguide-react‐layout

2022-08-23 Thread Jackie Ng
Thanks for the heads up. Issue created: https://github.com/jumpinjackie/mapguide-react-layout/issues/1414 - Jackie You wrote: Hi Jackie, There is a broken link for the mount options at https://jumpinjackie.github.io/mapguide-react-layout/#/DEVELOPING?id=mount-options.Api doc for mount

Re: [mapguide-users] Showing (drawing) longitudes at some positions (like -70 deg, -73 deg...)

2022-08-19 Thread Jackie Ng
I don't see Fusion being updated to use OL6 or newer anytime soon. The work is too monumental and such limited dev resources are better spent elsewhere. mapguide-react-layout already uses OL6, so it would be my logical choice for doing what you want. The viewer already has a layer manager API to

Re: [mapguide-users] An error occurred during startup - "Failed to Fetch"

2022-08-05 Thread Jackie Ng
Assuming you are referring to the mapguide-react-layout viewer (that sounds a lot like an error message this viewer will throw), then the best course of action is to open your browser developer tools (general shortcut key is F12) and look for failed requests in the network tab. Given this is a

Re: [mapguide-users] MGOS 4.0 and REST

2022-08-04 Thread Jackie Ng
Many thanks for your very detailed PHP debugging instructions. It will be very useful for many others (myself included). To answer your question, the SVN osgeo repo is still the authoritative source. The preview 3 release was made from trunk rev 9862. The github repo was just me testing some

Re: [mapguide-users] MGOS 4.0 and REST

2022-08-03 Thread Jackie Ng
mapguide-rest has not been maintained for years now due to competing priorities in real life and on other projects. I am assuming by MGOS 4.0 you are using the current preview 3 release. If you are using my vanilla SWIG sandbox branch then I can say mapguide-rest will definitely not work right

[mapguide-users] MapGuide Maestro 6.0m11 available

2022-08-03 Thread Jackie Ng
Hi All, In anticipation of a new preview release of MapGuide Open Source 4.0 that I hope to put out later this month and setting up the authoring expectations/experience to match, I've finally put out a new release of MapGuide Maestro that admittedly could've come out a lot sooner (I can't

Re: [mapguide-users] MGOS 4.0 Dev Trunk - Maestro - Widget Info

2022-07-13 Thread Jackie Ng
Hi Pierre, The Widget info button is disabled if Maestro cannot resolve the matching widget info xml file from the fusion installation. Since it is disabled and you say you are using a freshly built MG, it's probably because Fusion is not installed into the expected web tier path for your freshly

Re: [mapguide-users] MapGuide 4.0

2022-07-08 Thread Jackie Ng
I expect to be bundling whatever is the latest in the PHP 8.1 series come final release of MGOS 4.0 - Jackie You wrote: Thanks Jackie. That's great news! Do you still expect PHP 8.1.4 to be bundled in the final release? -- *Please Note: I no longer create new posts or post replies to any

Re: [mapguide-users] MapGuide 4.0

2022-07-07 Thread Jackie Ng
Hi David, I have recently made a breakthrough in our API binding generation work that I am hoping to put out a new MGOS 4.0 Preview 4 release by [the end of this month / early-mid next month]. This API binding work is the last major technical hurdle for 4.0, so I am hoping for a relatively short

Re: [mapguide-users] Spatial

2022-06-14 Thread Jackie Ng
Hi Pierre, Geometry, and most of the projects in the MapGuide codebase in general are configured as unity builds. In this configuration, there is a single .cpp file that #includes all other .cpp files in the project. This is/was done to reduce build/compile times by maximizing disk I/O

Re: [mapguide-users] mgos

2022-06-02 Thread Jackie Ng
I have not looked into discourse, but if it replaces the mailing list itself as the *definitive source of truth* for all MapGuide discussions and is not just an alternative "frontend" to read/write posts to this mailing list (like nabble before it) then it's a hard -1 from me on adopting

[mapguide-users] HTTP with MGOS3.1

2022-05-31 Thread Jackie Ng
Rather than manually configuring your freshly built MapGuide installation, consider using the MgInstantSetup utility to do all the required configuration automatically for you. This tool is bundled with the instantsetup package of every MapGuide release that provides said packages. - Jackie You

Re: [mapguide-users] MgInitializeWebTier

2022-05-31 Thread Jackie Ng
Trunk MapGuide does not work with PHP7 or PHP8 ... yet - Jackie You wrote: Finally it is ok with PHP 5.6.40 -- *Please Note: I no longer create new posts or post replies to any OSGeo mailing list through nabble. As a result, you most likely won't see this message appear on nabble's view of

Re: [mapguide-users] mgos

2022-05-31 Thread Jackie Ng
Sorry, I have no knowledge of who to contact at osgeo regarding management of this mailing list. You wrote: No, but maybe Jackie? -- *Please Note: I no longer create new posts or post replies to any OSGeo mailing list through nabble. As a result, you most likely won't see this message appear

Re: [mapguide-users] Java MapGuideApi crash calling native code

2022-05-25 Thread Jackie Ng
Regarding the source for the "native API". I assume you are referring to MapGuideJavaApi.dll that the java code is calling through JNI. The source for that dll is generated at build time by our internal copy of swig under MgDev/Oem/SwigEx. That is why you can't find this file when browsing the

Re: [mapguide-users] WFS Select Within MGOS 3.1.2

2022-05-20 Thread Jackie Ng
I may have interpreted your original email wrong. Are you getting a 413 from a MapGuide-hosted WFS layer (ie. A feature source with WFS publishing metadata applied), or is the 413 coming from a feature query to a feature source that uses the WFS FDO provider (ie. MapGuide *is not* the WFS

Re: [mapguide-users] 'orderBy=' implemented in MapGuide-Rest?

2022-05-20 Thread Jackie Ng
Hi Gordon, A check of the base MgRestAdapter source that drives all the templates shows that it does check and apply ordering if you provide orderby in the query string, assumed to be a comma-separated list of feature property names: Ref:

Re: [mapguide-users] WFS Select Within MGOS 3.1.2

2022-05-11 Thread Jackie Ng
Hi Gordon, A 413 error is most likely being thrown at the IIS/Apache web server level. I know IIS has things like 30MB payload limits for POST requests. There's probably a similar restriction on URL length. Failing that, try using POST instead of GET for the WFS select within if it's possible as

Re: [mapguide-users] MapGuide ver 4

2022-04-06 Thread Jackie Ng
MapGuide Open Source 4.0 is still in development, just going at a much slower pace than hoped. As such I cannot give a solid timeframe. Regarding the PHP version. We are currently targeting and intending to bundle PHP 8.1.4. This version may change to a newer version upon the final release. -

Re: [mapguide-users] Install the latest version of apache and php without updating mapguide

2021-12-22 Thread Jackie Ng
On Windows, you may try your luck with getting updated httpd binaries for apachelounge.com. No guarantees this will work or not as I do not know what the binary compatibility policy is around httpd modules on Windows. On Linux, you may try your luck with building the relevant branch of MapGuide

Re: [mapguide-users] Log4J Unauthenticated RCE CVE-2021-44228 Vulnerability

2021-12-14 Thread Jackie Ng
The Tomcat that is bundled with MapGuide does not use log4j (there are no log4j jar files installed). You would only be potentially affected if your MapGuide Java application itself brings in the log4j dependency. - Jackie You wrote: Has anyone done any studies if Mapguide is affected by this

Re: [mapguide-users] R: MapGuide WFS uniqueID

2021-11-19 Thread Jackie Ng
I took a peek at how the nsXXX is being generated in the Web Tier code. The number is a hash of the feature source id (Library://FeatureSource) and should be the same hash on any server as long as the feature source id is the same. If the same feature source id produces different hashes

Re: [mapguide-users] mapguide-react-layout 0.14 released

2021-11-12 Thread Jackie Ng
I've put out a new 0.14.4 release which improves support for Map Definitions in arbitrary coordinate systems not based on meters and some other fixes. Download: https://github.com/jumpinjackie/mapguide-react-layout/releases/tag/v0.14.4 - Jackie ___

Re: [mapguide-users] Mapguide React

2021-11-04 Thread Jackie Ng
Hello Maria, An application definition (for the most part) works with both Fusion and mapguide-react-layout viewers. It's just that MapGuide Maestro by default will only preview with the Fusion viewer because it does not know about your mapguide-react-layout viewer. I've updated the getting

Re: [mapguide-users] mapguide-react-layout 0.14 released

2021-10-29 Thread Jackie Ng
I've put a new 0.14.3 release which adds support for static image layers and support for Map Definitions using arbitrary coordinate systems, and some fixes. Details in my blog post: https://themapguyde.blogspot.com/2021/10/announcing-mapguide-react-layout-0143.html - Jackie

[mapguide-users] mapguide-react-layout 0.14 released

2021-10-07 Thread Jackie Ng
Hi All, I've put out a new release of mapguide-react-layout This blog post does a good summary of what's new in this release: https://themapguyde.blogspot.com/2021/10/mapguide-react-layout-dev-diary-part-26.html Download:

Re: [mapguide-users] Mapguide and the Cloud

2021-10-04 Thread Jackie Ng
WARNING: Lots of theory and hypotheticals below. Definitely requires experimentation. You may or may know this, but MapGuide does have a built-in load balancer. Unfortunately, it is not very well documented nor has it been extensively battle-tested so it is understandable if you never knew such a

Re: [mapguide-users] Position EightSurrounding

2021-09-17 Thread Jackie Ng
Advanced Stylization options like EightSurrounding have no effect on selection rendering and tooltip placement, if that is the question you are trying to ask. - Jackie You wrote: Hi, Could it be that when positioning point objects with EightSurrounding, the selection and tooltip are only

Re: [mapguide-users] Get sessions ID created by user

2021-09-17 Thread Jackie Ng
I'm afraid there's no such API for tracking session ID creation by user, so you will have to wrap the access to session creation and track the created sessions yourself. - Jackie You wrote: Hi, How I can get the map sessions ID created by the user in my application ? Can I get from Mapguide

Re: [mapguide-users] sqlserver view is no limit row search STSrid ?

2021-09-09 Thread Jackie Ng
Please try the following patched SQL Server provider https://download.osgeo.org/mapguide/patches/SQLServerProvider_Ticket996_FDO4.1/SQLServerProvider_Ticket996.zip Extract and overwrite your copy in your MGOS 3.1.2 install - Jackie You wrote: thanks for open active ticket

Re: [mapguide-users] Kill Mapguide Server Map Sessions

2021-09-03 Thread Jackie Ng
Use the DestroySession() method of MgSite and pass in the session id to destroy - Jackie You wrote: Hi, There is a way to kill map sessions using mapguide API ? I can register user’s map sessions and then kill them immediately when he press logout. Regards, Liglio -- *Please Note: I no

Re: [mapguide-users] FDO Error

2021-08-16 Thread Jackie Ng
[This was originally posted to mapguide-internals by mistake. Re-posting to correct mailing list] Sadly, MapGuide will not be divulging any additional context to help you here. All we have to go with is this warning is logged most of the time when parsing a FDO expression during layer

Re: [mapguide-users] Does mapguide support rasters stored in Postgis

2021-08-16 Thread Jackie Ng
Okay, I took a look at why the GDAL provider returned true (because this was easier than trying to figure out how to load some rasters into postgis) Turns out the GDAL provider automatically sets connection state to open regardless of the data source string you specify in the connection

Re: [mapguide-users] Does mapguide support rasters stored in Postgis

2021-08-11 Thread Jackie Ng
[NOTE: Same reply but with proper email subject this time so it should display properly in mailing list archives] Postgis raster is a supported driver of the GDAL provider. It's not its own separate FDO provider. So not seeing Postgis raster on that list *is to be expected*. You should be

Re: [mapguide-users] (no subject)

2021-08-11 Thread Jackie Ng
Postgis raster is a supported driver of the GDAL provider. It's not its own separate FDO provider. So not seeing Postgis raster on that list *is to be expected*. You should be selecting the GDAL provider. Now here is where you are venturing into uncharted territory. This is because I have

Re: [mapguide-users] React Layout - set layer visibility

2021-07-14 Thread Jackie Ng
MapGuide.Actions.Legend.setLayerVisibility() should be the way to go, but it's not something you call and the layer will be toggled. The object returned by MapGuide.Actions.Legend.setLayerVisibility(sellayer.ObjectId, true) is something you have to dispatch() on your viewer instance for the

Re: [mapguide-users] React Layout - set layer visibility

2021-07-06 Thread Jackie Ng
Assuming you are using the latest 0.13.x release, please try the 0.13.3 release I just published today https://github.com/jumpinjackie/mapguide-react-layout/releases/tag/v0.13.3 This release has fixes for inconsistent layer/group visibility on refresh after doing layer/group changes server-side

Re: [mapguide-users] Does mapguide support rasters stored in Postgis

2021-06-26 Thread Jackie Ng
Refer to the updated GDAL provider notes for 4.0 in regards to swapping the GDAL dll for one from gisinternals which has postgis raster support. https://trac.osgeo.org/mapguide/wiki/MGOS40GdalProvider - Jackie You wrote: If I use MapGuide 4 Preview 3 Win10 x64, does it support the

Re: [mapguide-users] Does mapguide support rasters stored in Postgis

2021-06-24 Thread Jackie Ng
For Windows: MGOS 4.0 Preview 3 - GDAL 2.4.4 / MSVC 2015 MGOS 3.1.2 - GDAL 2.2.3 / MSVC 2015 Older MGOS versions you can refer to GDAL provider notes on the MapGuide trac wiki (https://trac.osgeo.org/mapguide/wiki) For Ubuntu 16.04, we build FDO against the distro-provided GDAL version

Re: [mapguide-users] Does mapguide support rasters stored in Postgis

2021-06-23 Thread Jackie Ng
Hi Diego, Your best bet is to use the PostGISRaster driver in GDAL ( https://gdal.org/drivers/raster/postgisraster.html). This implies that you'll have to replace the GDAL dll that comes with the MapGuide installation with one from gisinternals.com which is of the same GDAL version and is built

[mapguide-users] MapGuide Open Source 4.0 Preview 3 available

2021-06-19 Thread Jackie Ng
Hi All, I've finally put up the 3rd preview release of MapGuide Open Source 4.0 https://trac.osgeo.org/mapguide/wiki/Release/4.0.0/Preview3/Notes This release is for *testing purposes* and use in a production environment is not encouraged. Among other items that you can find out in the release

[mapguide-users] MapGuide Open Source 4.0 Preview 3 preparations

2021-06-17 Thread Jackie Ng
Hi All, This is to let you all know that I am putting the finishing touches on a 3rd preview release of MGOS 4.0. This is "roll up" of fixes and minor enhancements made to MapGuide/FDO since the preview 2 release, with the key improvement being that Java viewer support is finally functional

Re: [mapguide-users] MapGuide-Rest GeoJSON Adaptor in RC 5

2021-05-24 Thread Jackie Ng
This is due to the PHP MgGeoJsonWriter class in mapguide-rest now colliding with the C++ class of the same name introduced in the MapGuide 4.0 API (I am assuming you are using MGOS 4.0). There is already a fix for this, but it is not in the rc5 package, which pre-dates a lot of the 4.0 development

Re: [mapguide-users] Fdo Provider PostGreSql 12

2021-05-19 Thread Jackie Ng
The adsrc column was removed in PostgreSQL 12 and so queries that list tables and views broke. This issue (https://trac.osgeo.org/fdo/ticket/973) is actually fixed a long time ago in FDO 4.1 and a patched PostgreSQL provider dll is available for MGOS 3.1.2, but only for Windows. For Linux, you

Re: [mapguide-users] GDAL for MGOS 4?

2021-04-18 Thread Jackie Ng
For MGOS Preview 3, the GDAL version will be 2.4.4. - Jackie You wrote: Is the GDAL version for MGOS 4 still GDAL 2.2? ___ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users

  1   2   3   4   5   6   7   8   9   10   >