[Mapserver-users] Mapserver Postgis connection issues

Swaminathan, Gayathri gayathri at ou.edu
Fri Jul 16 16:44:30 EDT 2004


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.
> 
> 
> 




More information about the mapserver-users mailing list