Thanks Jackie,
I installed mapguide-rest from source and it works great with MapGuide 4.0
R2
On Mon, May 24, 2021 at 10:00 AM Jackie Ng wrote:
> 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 AP
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
I am getting the following error for the GeoJSON Adaptor in mapguide-rest
PHP Fatal error: Cannot redeclare class MgGeoJsonWriter in C:\Program
Files\OSGeo\MapGuide\Web\www\rest\app\util\geojsonwriter.php on line
21
The registration.php is using require_once, so I don't know why the error
is c