[postgis-users] postgis & php

Ries van Twisk postgis at rvt.dds.nl
Mon Apr 3 13:08:13 PDT 2006


Nelson Guda wrote:

> Hi all,
>
> I am relatively new to postgis.  I've got a database up and running,  
> and have used much of the language already.  I am looking for a php  
> protocol that can run shp2pgsql and pgsql2shp so that i can use these  
> functions via a web interface.

You would beable to access this function by executing a shellcript.
It would be nice to have a php classet ofcourse, but I think exsecuting 
these from a php shell would not be a problem.

Ries

>
> Unfortunately my understanding of programming languages is very  
> limited - mostly I have used postgis through pgadmin.
>
> I found a set of php classes on the web that include a function for  
> shp2pgsql, but I cannot seem to get it working.  I'll copy those  
> functions below.  I don't understand what I might need to change to  
> make this work.  Can anyone help me out with this?
>
> Thanks much,
> nelsong
>
>
>
> <snip...... />


-- 
Ries van Twisk
Freelance Typo3 Developer
email: ries at vantwisk.nl
web:   http://www.rvantwisk.nl/
skype: callto://r.vantwisk




More information about the postgis-users mailing list