Follow the steps,

   set environment varabel for shp2pgsql.ex(i think it is in programme files
->postgresql->bin).so please set enviranment varable for bin folder of above
given path.

and once that done

 open command prompt -> write command as 
 
 and goes to the set the shapefile path and write below command

  shp2pgsql -s  3000 test.shp test > test.sql


3000 will be your SRID
test is your table name which supposed to be insert into your postgresql
database..

then test.sql will be stored  in your setted path(shapefile path).

then run the same sql file from querybuilder in postgresql..

Let me know if you have problems 

Regards,

Venkat Tammineni



CroNicoRn wrote:
> 
> Hai all
> Now I wanna try convert shp to pgsql.. SO anyone can teach me step by step
> .. how i wanna do it.. because i want try intergrate mapguide open source
> witg pgrouting.. Thanx
> 

-- 
View this message in context: 
http://n2.nabble.com/shp2pgsql-tp1818379p3775007.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to