[postgis-users] bulk conversion from shapefiles

strk strk at keybit.net
Thu Sep 16 00:36:45 PDT 2004


On Thu, Sep 16, 2004 at 12:06:28AM -0700, Michael Mallete wrote:
> hello sir! would you it be ok if i ask you to share
> the script? or at list give some hints? it would be of
> great help. i'd do anything just to avoid manually
> importing 900 shapefiles. :)
> 
> thank you so much! have a nice day! :)

for shapefile in `find . -name '*.shp'`; do
	shp2pgsql $shapefile .....
done

--strk;

> 
> -Myk
> 
> >I use a simple shell script for that.
> >There is no packaged utility I know of.
> >--strk;
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list