[postgis-users] Can psql copy gml into postgis?

Simon (SPDBA) Greener simon at spatialdbadvisor.com
Sun Sep 1 00:13:56 PDT 2019


Yes.

One method is to copy the gml into a table (column declared as text or xml). Then use XML XQUERY  processing to shred the GML document into nodes that ST_GeomFromGML() can consume.

Simon

⁣39 Cliff View Drive, Allens Rivulet, Tas 7150
(H) 0362396397
(M) 0418396391
www.spatialdbadvisor.com / www.spdba.com.au

Sent from BlueMail ​

On 1 Sep. 2019, 16:57, at 16:57, Shaozhong SHI <shishaozhong at gmail.com> wrote:
>Hi, all,
>Can psql copy gml into postgis?
>Regards,
>Shao
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>postgis-users mailing list
>postgis-users at lists.osgeo.org
>https://lists.osgeo.org/mailman/listinfo/postgis-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20190901/d809a090/attachment.html>


More information about the postgis-users mailing list