[postgis-users] insert interactively asc or text files
sfrost at snowman.net
Wed Jul 4 10:50:24 PDT 2007
* Chetan Tiwari (chetan.tiwari at gmail.com) wrote:
> I have a little perl script that reads CSV files uploaded via a browser and
> inserts the data into a table in postgres. I'll be happy to share that with
> you. It's setup to run with active perl and apache on windows, but it would
> be fairly easy to tweak it to your system setup.
If you want to do it on-the-fly you can use CGI.pm and its upload-hook
to avoid any disk i/o on the web server (and avoid any temp file
creation, or limits due to space on the disk, etc).
> On 7/4/07, pere roca <peroc79 at gmail.com> wrote:
>> Hi everybody,
>> I just was wondering if there is some tool to insert automatically data
>> from a .asc or .csv or text file (just X,Y and thematic data) to PostGIS
>> (something similar to shp2pgsql.exe).
>> What I want to do is that after a user inserts a file in our server,
>> automatically this file is inserted in someway to PostGIS. How would you
>> View this message in context: http://www.nabble.com/insert
>> Sent from the PostGIS - User mailing list archive at Nabble.com.
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
> Chetan Tiwari, Ph.D. (ABD)
> Dept. of Geography, The Univ. of Iowa
> 316 Jessup Hall, Iowa City, IA 52242
> Ph. (319) 335-0165 Fax (319) 335-2725
> postgis-users mailing list
> postgis-users at postgis.refractions.net
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: Digital signature
More information about the postgis-users