Hi All<div><br class="webkit-block-placeholder"></div><div>It seems like my previous message (see below) was deleted because of the attachment. Sorry for this off topic question, but is it possible to send attachments to this list?
</div><div><br class="webkit-block-placeholder"></div><div>- Chetan&nbsp;<br><div><br><div><span class="gmail_quote">On 7/5/07, <b class="gmail_sendername">Chetan Tiwari</b> &lt;<a href="mailto:chetan.tiwari@gmail.com">chetan.tiwari@gmail.com
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi Pere</div>
<div>&nbsp;</div>
<div>I am attaching a zip file with the perl script, an example html form, a test dataset and setup instructions. I am assuming that your data has the following columns: id, longitude, latitude, species, genus, family. You can change this in the script if I got it wrong. It should work fine with large datasets (30,000 records should not be a problem at all). The script is configured to work on a windows machine, although with some minor changes to pathnames, it should work in linux/unix environments as well. Please let me know if you have any questions or have trouble getting it to work. I&#39;ve never sent attachments on this list, so if the zipfile does not come through please let me know and I&#39;ll send it to you directly. 
</div>
<div>&nbsp;</div>
<div>- Chetan</div>
<div>&nbsp;</div>
<div>PS This version simply uploads the file to a temp location and then loads it into postgresql/postgis. I still need to look into Stephen&#39;s suggestion.<br><br>&nbsp;</div><div><span class="e" id="q_113986fef7ff0172_1">

<div><span class="gmail_quote">On 7/5/07, <b class="gmail_sendername">pere roca</b> &lt;<a href="mailto:peroc79@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">peroc79@gmail.com</a>&gt; wrote:
</span>
<blockquote class="gmail_quote" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid"><br><br>Hi Chetan and Stephen ,<br>many thanks for your offer! I must definitely update about scripting (and
<br>never used perl) along with psql, so I think your perl script will help me<br>in learning too.<br>Shortly, what I want is to let users see his point data (species<br>occurences) in my web application (for that I must update a PostGIS table) ;
<br>when session finishes, data should disappear.<br>I was thinking to restrict the data to insert (X,Y and species, genus,<br>family for example) and to have a pre-constructed table in PostGIS with<br>these columns. I suppose it should minimize much more the work and time to
<br>insert data and should also make much easier the scripting. Chetan, does<br>your script work fine and quickly for huge data (about... 30.000 records) ?<br><br>Thanks also Stephen for your collaboration! I will inform you about my
<br>progress [ or problems ;.) ]<br><br></blockquote></div>
</span></div><br clear="all"></blockquote></div><br><br clear="all"><br>-- <br>Chetan Tiwari, Ph.D. (ABD)<br>Dept. of Geography, The Univ. of Iowa<br>316 Jessup Hall, Iowa City, IA 52242<br>Ph. (319) 335-0165 Fax (319) 335-2725
</div></div>