[Mapserver-users] Generate a shp
Thorsten Fischer
thfischer at mapmedia.de
Fri Jun 27 07:10:11 PDT 2003
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
More information about the MapServer-users
mailing list