[postgis-users] About Invalid OGC WKT Error
Kralidis,Tom [Burlington]
Tom.Kralidis at ec.gc.ca
Wed Feb 2 10:18:15 PST 2005
> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net
> [mailto:postgis-users-bounces at postgis.refractions.net] On
> Behalf Of Markus Schaber
> Sent: Wednesday, 02 February, 2005 12:51
> To: PostGIS Users Discussion
> Subject: Re: [postgis-users] About Invalid OGC WKT Error
>
>
> Hi, Tom,
>
> Kralidis,Tom [Burlington] schrieb:
> > How does affect the MapServer connections to PostGIS?
>
> To be honest, I don't know. That depends on which method
> MapServer uses to access PostGIS. As I never used MapServer,
> I have no idea.
>
> When using the JDBC classes, replacing the postgis.jar in the
> classpath should be enough. Equally, any other toolkit should
> provide its update, with noch changes to mapserver itsself.
>
> When using OpenGIS methods (asText() or asBinary() etc.), no
> changes should be necessary.
>
> When using PostGIS specific, like "SELECT geom FROM table;"
> then MapServer will need a new HexWKB parser or be changed to
> use OpenGIS methods or the new asEWKT() PostGIS specific methods.
>
MapServer connects via (user config):
DATA "the_geom from table_name"
Does one need to pass a function (like asEWKT(the_geom from table) on this? I'm not sure how this is evaluated in the MapServer / PostGIS connector code itself, though.
..Tom
> Markus
> --
> markus schaber | dipl. informatiker
> logi-track ag | rennweg 14-16 | ch 8001 zürich
> phone +41-43-888 62 52 | fax +41-43-888 62 53
> mailto:schabios at logi-track.com | www.logi-track.com
> _______________________________________________
> postgis-users mailing list postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
More information about the postgis-users
mailing list