[postgis-users] postgis & php

Nelson Guda nelsong at mail.utexas.edu
Mon Apr 3 13:59:38 PDT 2006


On Apr 3, 2006, at 3:08 PM, Ries van Twisk wrote:

> 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

Yes, I think that is what I need, but i don't know how to code that.   
Can anyone help or point me to a good tutorial?

thanks much,
nelsong





>
>>
>> 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
>
> _______________________________________________
> 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