Coverage to postgres

Aaron Racicot aaronr at Z-PULLEY.COM
Wed Nov 30 23:57:14 PST 2005


Dave,
Check out OGR... it can read and write many formats including PostGIS.  

General OGR web site:
http://ogr.maptools.org/

To view info on your coverage use ogrinfo:
http://ogr.maptools.org/ogrinfo.html
ogrinfo -al coverage_name | more

Converting from one format to another use ogr2ogr:
http://ogr.maptools.org/ogr2ogr.html
ogr2ogr -f PostgreSQL PG:dbname=name table_name coverage_name layer_name

PostGIS Support:
http://ogr.maptools.org/drv_pg.html

Coverage Support:
http://ogr.maptools.org/drv_avc.html

Hope this gets you started

Aaron

+----------------------------------------+
| Aaron Racicot  | aaronr at ecotrust.org   |
| GIS Programmer | 503.467.0759          |
+----------------------------------------+
| e c o t r u s t                        |
| Jean Vollum Natural Capital Center     |
| 721 NW Ninth Avenue                    |
| Suite 200                              |
| Portland, OR 97209                     |
| www.ecotrust.org                       |
+----------------------------------------+
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of David Hunt
Sent: Wednesday, November 30, 2005 11:27 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] Coverage to postgres

Hello, all

I hava a shapefile that I have converted back to a coverage.  I also make
the
.e00 file for the coverage also.  Is there any application that works that
will
take either the coverage or the .e00 and create tables in postgres?
Basically I
needed more that just the polygons for mapserver so I wanted the coverage
features so that I can render the points and edges from a coverage.  The
polygons I have are all connected together by one or more edges so having
the
coverage gives me an easier way to get that connection data but I'm not sure
how to then read the data from the coverage into a database.

Thanks for the help
Dave



More information about the MapServer-users mailing list