[Mapserver-users] Help Requested: Easy "gen2shp" applicationon RH Linux

Ken Waters Ken.Waters at noaa.gov
Fri Jul 30 18:54:48 EDT 2004


All,

Just to let you know, thanks to some hand-holding from Gerry, I was able to get the gen2shp package successfully installed.  Turns out I missed a few steps in properly compiling the shapelib package such that the gen2shp program could properly link it.

Thanks for all the help!

Aloha,

Ken

Gerry Creager n5jxs wrote:

> After you compiled shapelib and did a makelib, and did make install, did
> you add the appropriate lib location to /etc/ld.so.conf?  And then run
> /sbin/ldconfig?  Both should be done using 'sudo' or as root.
>
> I'll be back from the Dallas AMS meeting tomorrow night and available
> Thurs/Fri to help if you still need it.
>
> gerry
>
> Ken Waters wrote:
> > Hi All,
> >
> > I'm looking for a simple way to convert "gen" format text files into shapefiles on the RH Linux platform.  To date I have been running a public domain Windows program (gen2shp) that I found on the Web.  However, I need to move this application to a Linux box and this is where I have been having problems.  This Linux box will not be running Apache and
> > Mapserver, so I am not interested in trying to set up a full install on it.  I simply want to have the ability to easily create shapefiles from text files without all the other overhead.  Here's what I've tried so far, without success:
> >
> > - Tryed to compile gen2shp.c from http://www.intevation.de/~jan/gen2shp
> >
> >     RESULT: Found I had to download shapelib and compile that package and was successful with that.  However, was unable to successfully compile gen2shp.c as it didn't seem to be linking the required shapefil.h library.  Could not figure out what I was doing wrong.
> >
> > - Looked for Linux binaries of gen2shp
> >
> >     RESULT: Only found the Windows binaries which I already have and use.  Are there some available somewhere that I don't know about, or possibly a suitable alternative?
> >
> > - Downloaded mapserver-4.2.1
> >
> >     RESULT: A bit overwhelmed as it's much more than I need for this machine and will require lots of pre-building of libraries and such that will not be used in the long run.  My experience with mapserver has been only with Windows using the binaries.  I did not find binaries for Linux.
> >
> > So, are there any suggestions for how I can proceed?  Perhaps I need to pursue further one of the options above that I tried.
> >
> > Thanks much!
> >
> > Ken
> >
> >
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
> --
> Gerry Creager -- gerry.creager at tamu.edu
> Network Engineering -- AATLT, Texas A&M University
> Cell: 979.229.5301 Office: 979.458.4020
> FAX:  979.847.8578 Pager:  979.228.0173
> Office: 903A Eller Bldg, TAMU, College Station, TX 77843





More information about the mapserver-users mailing list