<div dir="ltr">Hi Xian,<br><br>there is some bindings to ogr (phpogr, pyrhon etc). Maybe you should see something. <br>Why you want to upload shp files direct to PostGIS via web? Is there really need? Are you trying to make some type of WFS with this data?<br>
Maybe is there some other solution for your problem.<br>[]'s <br><br><br><div class="gmail_quote">2008/8/14 Guido Lemoine <span dir="ltr"><<a href="mailto:guido.lemoine@jrc.it">guido.lemoine@jrc.it</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Luigi et al,<br>
<br>
If you use a Java environment, you would want to look at Geotools (can parse shapefiles to Postgis)<br>
and a servlet or JSP set-up for multi-part request processing on the server. If you are familiar with<br>
Groovy and Grails, I can recommend that to make the coding a lot easier.<br>
<br>
GL<br>
<br>
<br>
<br>
Xiaoyu Guan wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
Hi Luigi:<br>
<br>
yes, I also see the problem, there are at least two steps, step1: zip all shapefile and upload. step 2: extract zip file, and import to certain database. Maybe there is one way or some people are already working on it. I am think whether possible translate OGR2OGR or Shp2pgsql into python or other languages, which user can runing the conversion part at server side. That s what I am thinking about the solution.<br>

Thanks for your reply.<br>
<br>
All the best<br>
<br>
Xiaoyu<br>
<br>
<br>
-- <br>
Xiaoyu Guan (Sam)<br>
Geo-information Science<br>
Wageningen UR<br>
<br></div></div>
------------------------------------------------------------------------<div class="Ih2E3d"><br>
<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
  <br>
</div></blockquote>
<br>
-- <br>
----------------------------------------------------------------<br>
Guido Lemoine<br>
Joint Research Centre, European Commission<br>
Institute for the Protection and Security of the Citizen (IPSC)<br>
Support to External Security<br>
Via E. Fermi, 2749 TP 267 Ispra 21027 (VA), Italy<br>
Tel. +39 0332 786239 (direct line) Fax. +39 0332 785154<br>
WWW: <a href="http://ses.jrc.it" target="_blank">http://ses.jrc.it</a><br>
----------------------------------------------------------------<br>
Disclaimer:<br>
Views expressed are those of the individual and do not represent the views of the European Commission<br>
<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Luigi Castro Cardeles<br>
</div>