[postgis-users] pgsql2shp on php

Chris Hodgson chodgson at refractions.net
Tue Jul 23 09:10:54 PDT 2002


I'm not sure if pgsql2shp supports views, but you could either select your
data into a new table or create a view of it, then exec the pgsql2shp and
tar/gzip commands, then set your headers and readfile() it back to the
client.

Chris Hodgson

----- Original Message -----
From: "Hisaji ONO" <hi-ono at mn.xdsl.ne.jp>
To: <postgis-users at postgis.refractions.net>
Sent: Sunday, July 21, 2002 12:11 PM
Subject: [postgis-users] pgsql2shp on php


> Hi.
>
>  I'd like to convert PostGIS's query results in WKT into gziped archives
> shape files(shp, shx, dbf) and send them back to client users dynamically.
>
>  Could you teach me whether call pgsql2shp's function from php scripts?
>
>  Best Regards.
>
>
>
> _______________________________________________
> 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