<div dir="ltr"><div><div>Command options :<br><a href="http://www.bostongis.com/pgsql2shp_shp2pgsql_quickguide_20.bqg">http://www.bostongis.com/pgsql2shp_shp2pgsql_quickguide_20.bqg</a><br><br></div>The schema is specified in the same time as table name.<br>
Regarding the database, you have to specify it when using psql with the "-d" option<br></div>You can also do this in one step using the shp2pgsql-gui .<br><br>Cheers,<br>Rémi-C<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-04-16 14:23 GMT+02:00 Rogério <span dir="ltr"><<a href="mailto:rtaguat@gmail.com" target="_blank">rtaguat@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi, <div><br></div><div>How I convert a shp file to sql pointing to a particular schema and database?</div><div><br></div><div>As the trivial operation of converting shp to sql is ok!</div><div><br></div><div>

Is possible?</div><div><br></div><div>Thanks!<span class="HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br>Rogério A. B. da Silva<br>Geóg. B. Sc.
</font></span></div></div>
<br>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br></blockquote></div><br></div>