Having problem with FDO Postgis and OGR Provider

3 messages Options
Embed this post
Permalink
psergio

Having problem with FDO Postgis and OGR Provider

Reply Threaded More More options
Print post
Permalink
Hi all.

I’m having problems with MapGuide Open source displaying data from PostGis Database using OGR Provider or PostGis Provider.

In my database I use EPSG: 27492, and MapGuide is configured with coordinate system Datum73.ModPortgGrd (Datum73.ModPortgGrd), but the points are not displayed correctly.

Example: in my database I have a point with coordinates -63949,495217; 15467,134032; 0 but on MapGuide it’s displayed in -64008,282557; 15291.623095; 0

Any clue about what it’s happening in MapGuide, could that be from the OGR or PostGis provider, because if i use sdf files and the SDF provider the map displays the coordinates in the wright place?

Best regards,
Paulo Azevedo
Bruno Scott

Re: Having problem with FDO Postgis and OGR Provider

Reply Threaded More More options
Print post
Permalink
have you tryied to set Mapguide with an arbitrary coordinate systems?

Is there other Mapguide Coordinate systems that could match your postgis?

Are you using Mapguide 2.0 or 2.1 because mapgudie changed his CS engine from proj4 to CSMap

Bruno
psergio

Re: Having problem with FDO Postgis and OGR Provider

Reply Threaded More More options
Print post
Permalink
Hello Bruno

I already found the solution.
The problem is that i was using Autodesk MapGuide Studio to set the coordinate system to MapGuide OpenSource, and it seems that the Datum 73 Modified Portuguese grid is different from the one that PostGis is using, The solution is setting this coordinate system with Mapguide Maestro Typing the ESPG 27492 and it works perfectly.

Open source has saved me again :)...

Many thanks for your reply.
Best regards.
Paulo