[Mapserver-users] Generate a shp

Thorsten Fischer thfischer@mapmedia.de
27 Jun 2003 16:10:11 +0200


On Fri, 2003-06-27 at 07:21, Chen Fu wrote:
> And my program produce a text
> file with infomation of latitude, longitude and city's
> name.
> 
> for example
> 50, 110, apple
> 40, 120, banana

Take a look at the tools that come with shapelib. They are small command
line programs called 'shpcreate', 'shpadd' etc. You can use them by
hand, but like most unix command line programs they are actually
designed to be used in scripts. It's very easy to write a shell script
that can parse your lists and create shapefiles from the data.


hth,

thorsten

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users