Hi Andreas

shp2pgsql is a small program that comes with PostGIS (the gis extenstion for Postgres)
see http://postgis.refractions.net/docs/ch04.html#id2587880 for more infos
this program allow you to import shapefiles data into postgis database

you can have a look at Chris Tweedie tutorial which is ok for beginner:
http://chris.narx.net/2005/12/14/build-your-own-routing-solution/

regards
Oliver

Hi Lsts!

I have installed the all tables requered for routing functionilties.
My table are empty. I read the talking about this:
shape files have to be load ed to the databse.

How do I get the paricular files?
e.g files such as:
  Create tables used by the locate plugin to allow you to do a recenter on
features by searching their names.  To do so, you should export the free
downloadable layers airport, agglo, district and town in PostgreSQL/PostGIS
tables by typing the following command:
              NB:   extracked from
http://www.cartoweb.org/doc_head/docbook/xhtml/user.install.html



$ shp2pgsql -I aerofacp.shp airport > /tmp/airport.sql
$ psql -d demo_plugins -f /tmp/airport.sql

$ shp2pgsql -I builtupa.shp agglo > /tmp/agglo.sql
$ psql -d demo_plugins -f /tmp/agglo.sql

$ shp2pgsql -I polbnda.shp district > /tmp/district.sql
$ psql -d demo_plugins -f /tmp/district.sql

$ shp2pgsql -I mispopp.shp town > /tmp/town.sql
$ psql -d demo_plugins -f /tmp/town.sql

thank you very mcuh in advance

Best regards,
Andreas m

_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users


_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to