[Mapserver-users] Mapserver Postgis connection issues
Merlos
merlos at tsc.uvigo.es
Sat Jul 17 04:39:32 PDT 2004
Hi!
These days I was wondering if there was any postgresql with postgis for
windows already compiled, so when I saw your link I downloaded it.
After unpackaging and saving it in the c:\pgsql75win directory I tried to run
initdb.bat, but it throw an error. Some procedure call was not found on
pqsql.dll, I looked at the mapserver binaries dll and I noticed that it
included a pqsql with a 65 KB size (witch I already copied into
C:\windows\system32) and on C:\pgsql75win\lib there was another pgsql.dll,
this time with a size of 129KB, so what i did was the bigger one on system32,
now postgresql is running.
I haven't tested if mapserver querys work (have to create the DBs,etc..) but
maybe your problem is related to this.
I'm trying with WinDoS XP home/apache1.3/php4.3.7/mapserver4.2 binaries
package
Regards. Juan
On Friday 16 July 2004 22:44, Swaminathan, Gayathri wrote:
> Ok I tried shp2img... As follows:
>
> C:\Inetpub\cgi-bin>shp2img -m c:\Inetpub\wwwroot\athena\mapODOC.map -o
> c:\out.png -l sqlSewerline
>
> and it returns a blank image with my IMAGEBACKGROUND set in the mapfile.
>
> sqlSewerline is my postgis layer.
>
> The above command works fine for shape files though and renders out.png
> with parcels...
>
> > -----Original Message-----
> > From: Tyler Mitchell [mailto:tjmitchell at riverside.bc.ca]
> > Sent: Friday, July 16, 2004 3:29 PM
> > To: Swaminathan, Gayathri
> > Cc: Vladimir Guzmán; Kathi Koebke;
> > mapserver-users at lists.gis.umn.edu;
> > mapserver-users-admin at lists.gis.umn.edu
> > Subject: Re: [Mapserver-users] Mapserver Postgis connection issues
> >
> > > If I added a Postgis layer however..I am having the mapserver cgi
> > > run indefinetely and locking up.
> >
> > Are you using any sort of java interface in your web page?
> > I would try to debug by using the command line shp2img
> > command instead.
> > See if it throws any errors.
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
--
--
http://www.merlos.biz
More information about the MapServer-users
mailing list