_______________________________________________ postgis-users mailing list postgi...@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
If you have done some dabbling with Python (or you are willing to
dabble), use xlrd to read Excel files
(http://pypi.python.org/pypi/xlrd) then either pyodbc (recommended for
Windows) or psycopg2 to connect to Postgres and transfer the data
over. Make it into a script, then repeat as necessary. If you want to
get user-friendly, then make a shortcut to a bat file that runs the
python script, then you can import the file by dragging-dropping an
Excel file over the shortcut.
-Mike
> _______________________________________________
> postgis-users mailing list
> postgi...@postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
--
Sent from Vancouver, British Columbia, Canada
or use Visual Basic as a macro in a master Excel
or use Java and http://poi.apache.org/ API for Microsoft documents.
-S.
2010/2/15 <Steve....@inspq.qc.ca>:
I use psycopg2 on windows. The only problem with it is finding the
right compiled version (function of PG and Python versions used).
Yves
http://www.postgresql.org/docs/8.4/static/sql-copy.html
But to avoid human intervention to create the CSV in the first place, a purchased solution might be to create an FME
script to read directly from Excel and write to PostGIS.
http://www.safe.com/products/desktop/formats/microsoft-excel/index.php
Kevin
2010/2/15 <Steve....@inspq.qc.ca>: