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

2024-04-16 Thread svlad via mapguide-users
Hi,
solved this problem using the PostgreSQLProvider.dll (4.2.1370.0) from Autodesk.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] MGOS 4.0 and PostgreSQL

2024-01-17 Thread svlad via mapguide-users
hi,
I have tested the PostgreSQL/PostGIS Provider 4.2 with PostgreSql 15, Postgis 
3.4.
After some zoom or pan actions the following error occurs:
Objects disappear and appear randomly.
The MapGuide server reports the following error:
Error: Failed to stylize layer: LAYER1
An exception occurred in FDO component.
Error occurred in Feature Source 
(Library://Data/POSTGRESQL.FeatureSource): Class 'public:qry_table' not found 
(Cause: , Root Cause: Class 'public:qry_table' not found )
 StackTrace:
  - MgMappingUtil.StylizeLayers() line 918 file 
C:\working\build_area\mapguide\4.0.0\x64\MgDev\Server\src\Services\Mapping\MappingUtil.cpp

Once this error has occurred, an error also occurs in Maestro when trying to 
select the data source:
Failed to enumerate data stores...
If you reenter the password, it works again.

The error was also already requested in May 2021 by woody2 with MG 3.1.

I have tested with different MG versions (3.1.2, 4.0 Beta 1), different 
libpq.dll (11, 12, 15), Fusion Viewer and React Layout.
The error is always the same.


___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


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

2023-11-13 Thread svlad via mapguide-users

Hi,
I have logged PostgreSQl and possibly found a correlation.
Whenever the statement "SELECT oid FROM pg_type WHERE typname = 'geometry'" is 
executed more than 2 times in direct sequence, the FDO error occurs.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] React Layout get layer visibility

2023-10-18 Thread svlad via mapguide-users
Hi,
how to can I check the current visibility of a MapGuide layer?
Layer.ActuallyVisible returns always true.
var bVisible = (mapState.hideLayers.indexOf(parcels.ObjectId) < 0);
from the example dont work (also (mapState.mapguide.hideLayers)

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users