Hi Daniel, The GUI is only available for Windows, which I haven't used much for some years now. So I can't help with that aspect. I would assume the GUI has some way for you to enter the same parameters.
As often as not, I find a GUI is an intermediary between me & the application I want to run. If I know the application well, I often don't want an intermediary, I want to directly control the application myself :-) But there are applications where a GUI is facilitative & useful rather than just a limited menu. You can run the commands in the command prompt/DOS shell/Windows Terminal or whatever it is called these days. Cheers, Brent --- On Sun, 1/1/12, Daniel Montenegro <dmontenegr...@gmail.com> wrote: From: Daniel Montenegro <dmontenegr...@gmail.com> Subject: Re: [postgis-users] Geographic Coordinates To: pcr...@pcreso.com Date: Sunday, January 1, 2012, 2:54 AM Thanks again Brent! Could you explain it a little bit more detailed? I'm using the shp2pgsql-gui (exe) to import shapefiles and there's no need to wright any command... So I don't know where I should wright this specific comand line. Maybe in the PSQL console (pgadmin)? Daniel 2011/12/31 <pcr...@pcreso.com> pgsql2shp -s 4326 -I <shapefile> <mytable> | psql -d <mydb> where <shapefile> is the name of your shapefile, eg: myfile.shp <mytable> is the name of the POstgis table to create & populate <mydb> is the name of od the Postgis database (Postgres with Postgis installed) "-s 4326" tells pgsql to create a table for a shapefile with lat/long geometries, as in http://www.spatialreference.org/ref/epsg/4326/ HTH, Brent Wood --- On Sat, 12/31/11, Daniel Montenegro <dmontenegr...@gmail.com> wrote: From: Daniel Montenegro <dmontenegr...@gmail.com> Subject: [postgis-users] Geographic Coordinates To: "postgis-users" <postgis-users@postgis.refractions.net> Date: Saturday, December 31, 2011, 4:57 PM Hi there! How can I import a shape file with geographic coordinates to PostGIS via shp2pgsql? Thanks Daniel -----Inline Attachment Follows----- _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
_______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users