UTF-8 + FDO OGR Provider + Mapguide

4 messages Options
Embed this post
Permalink
psergio

UTF-8 + FDO OGR Provider + Mapguide

Reply Threaded More More options
Print post
Permalink
Hi all,

I'm using the FDO OGR provider to connect Mapguide to my PostGreSQL 8.3 + Postgis database.
The database encoding is UTF-8,  but when i put the data in the map, the tooltips and the labels are displaying with incorrect characters.

Did FDO OGR provider DLL have any issue with the UTF-8 encoding or i forgot something!?

Thanks for your time.

Best regards,
Paulo
Traian Stanev

RE: UTF-8 + FDO OGR Provider + Mapguide

Reply Threaded More More options
Print post
Permalink

Hi Paulo,

The OGR provider uses locale-dependent string conversion, so that's why it's probably not working ok for pure UTF-8. I recompiled the DLL with a different string conversion call, and posted it at:

http://13-9.com/OGRProvider-3.3-utf8.zip

Give that one a try, it should handle UTF-8 correctly -- but I did not test it personally, because I don't have enough time today.

Traian


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of psergio
Sent: Monday, February 09, 2009 12:05 PM
To: [hidden email]
Subject: [fdo-users] UTF-8 + FDO OGR Provider + Mapguide


Hi all,

I'm using the FDO OGR provider to connect Mapguide to my PostGreSQL 8.3 +
Postgis database.
The database encoding is UTF-8,  but when i put the data in the map, the
tooltips and the labels are displaying with incorrect characters.

Did FDO OGR provider DLL have any issue with the UTF-8 encoding or i forgot
something!?

Thanks for your time.

Best regards,
Paulo
--
View this message in context: http://n2.nabble.com/UTF-8-%2B-FDO-OGR-Provider-%2B-Mapguide-tp2298306p2298306.html
Sent from the FDO Users mailing list archive at Nabble.com.

_______________________________________________
fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users
_______________________________________________
fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users
psergio

RE: UTF-8 + FDO OGR Provider + Mapguide

Reply Threaded More More options
Print post
Permalink
Thanks a lot Traian.

It works just fine.

Many thanks.
Paulo


Traian Stanev wrote:
Hi Paulo,

The OGR provider uses locale-dependent string conversion, so that's why it's probably not working ok for pure UTF-8. I recompiled the DLL with a different string conversion call, and posted it at:

http://13-9.com/OGRProvider-3.3-utf8.zip

Give that one a try, it should handle UTF-8 correctly -- but I did not test it personally, because I don't have enough time today.

Traian


-----Original Message-----
From: fdo-users-bounces@lists.osgeo.org [mailto:fdo-users-bounces@lists.osgeo.org] On Behalf Of psergio
Sent: Monday, February 09, 2009 12:05 PM
To: fdo-users@lists.osgeo.org
Subject: [fdo-users] UTF-8 + FDO OGR Provider + Mapguide


Hi all,

I'm using the FDO OGR provider to connect Mapguide to my PostGreSQL 8.3 +
Postgis database.
The database encoding is UTF-8,  but when i put the data in the map, the
tooltips and the labels are displaying with incorrect characters.

Did FDO OGR provider DLL have any issue with the UTF-8 encoding or i forgot
something!?

Thanks for your time.

Best regards,
Paulo
--
View this message in context: http://n2.nabble.com/UTF-8-%2B-FDO-OGR-Provider-%2B-Mapguide-tp2298306p2298306.html
Sent from the FDO Users mailing list archive at Nabble.com.

_______________________________________________
fdo-users mailing list
fdo-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-users
_______________________________________________
fdo-users mailing list
fdo-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-users
psergio

FDO OGR Provider + Mapguide

Reply Threaded More More options
Print post
Permalink
In reply to this post by Traian Stanev
Hello Traian

I'm having problems with the OGR provider.
It happens that the geometry that I have in my database (PostGis) are not beeing displayed in the right position in MapGuide.
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.

The System coordinate in Mapguide is Datum73.ModPortgGrd and in PostGis I use EPSG: 27492.

Have you noticed some issue like that?

Best regards,
Paulo

Traian Stanev wrote:
Hi Paulo,

The OGR provider uses locale-dependent string conversion, so that's why it's probably not working ok for pure UTF-8. I recompiled the DLL with a different string conversion call, and posted it at:

http://13-9.com/OGRProvider-3.3-utf8.zip

Give that one a try, it should handle UTF-8 correctly -- but I did not test it personally, because I don't have enough time today.

Traian


-----Original Message-----
From: fdo-users-bounces@lists.osgeo.org [mailto:fdo-users-bounces@lists.osgeo.org] On Behalf Of psergio
Sent: Monday, February 09, 2009 12:05 PM
To: fdo-users@lists.osgeo.org
Subject: [fdo-users] UTF-8 + FDO OGR Provider + Mapguide


Hi all,

I'm using the FDO OGR provider to connect Mapguide to my PostGreSQL 8.3 +
Postgis database.
The database encoding is UTF-8,  but when i put the data in the map, the
tooltips and the labels are displaying with incorrect characters.

Did FDO OGR provider DLL have any issue with the UTF-8 encoding or i forgot
something!?

Thanks for your time.

Best regards,
Paulo
--
View this message in context: http://n2.nabble.com/UTF-8-%2B-FDO-OGR-Provider-%2B-Mapguide-tp2298306p2298306.html
Sent from the FDO Users mailing list archive at Nabble.com.

_______________________________________________
fdo-users mailing list
fdo-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-users
_______________________________________________
fdo-users mailing list
fdo-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-users