| 3 | |
| 4 | = Recuperation des fichiers mapinfo = |
| 5 | {{{ |
| 6 | -- conversion mapinfo to shapefile |
| 7 | C:\OSGeo4W\bin\ogr2ogr -f "ESRI Shapefile" Obstacles_Prioritaires-BZH_V2011.shp Obstacles_Prioritaires-BZH_V2011.TAB |
| 8 | -- conversion shapefile to postgis |
| 9 | C:\"Program Files"\PostgreSQL\8.4\bin\shp2pgsql -W LATIN1 Obstacles_Prioritaires-BZH_V2011 obstacle_prioritaire>Obstacles_Prioritaires-BZH_V2011.sql |
| 10 | -- lancement de la commande sql de crétation de la table |
| 11 | C:\"Program Files"\PostgreSQL\8.4\bin\psql -d essai -h localhost -U postgres -p 5433 -f Obstacles_Prioritaires-BZH_V2011.sql |
| 12 | }}} |