[postgis] About PostGIS & MapServer

Hisaji ONO hi-ono@mn.xdsl.ne.jp
Fri Mar 8 12:38:40 2002


Hello, Mr. Ribot.

 I've read you messages in PostGIS mailing list about using MapServer
with PostGIS on Win2000.

 I'd like to ask you about my problem using MapServer, which I couldn't
get any image instead of no errors in Mapserver Log.

 My current PC environment for MapServer with PostGIS.

 OS: Win NT 4.0 Server SP6a
 Web Server : Apache 
 PostgreSQL 7.1.2 on Cygwin
 PostGIS 6.0.2 on Cygwin
 Mapserver 3.5 Win32 binaries, not Cygwin's
 Apache 1.3.22(Win32)... I couldn't run MapServer on IIS 4.0.

 In html file's, a part calling mapserver is as follows.

<img border="1"
src="/cgi-bin/mapserv.exe?map=D:\Program Files\Apache
Group\Apache\htdocs\ms_demo\tokyo\postgis.map&amp;mode=map">

 My MapServer's map file is as follows.

NAME POSTGISSVR 
EXTENT -30000 -50000 13000 -19000 
SIZE 600 600 
UNITS meters 
IMAGETYPE GIF

WEB
  LOG "D:\Program Files\Apache Group\Apache\logs\mapserv.log"
END

LAYER 
    CONNECTIONTYPE postgis 
    NAME "aza"
    CONNECTION "user=Administrator dbname=tokyo host=ono-hi
password=xxxx" 
    DATA "the_geom from stream" 
    TYPE POLYGON 
    STATUS ON 
    CLASS 
      EXPRESSION ([gid] < 500) 
      OUTLINECOLOR 10 0 40 
      COLOR 255 22 220 
    END 
    METADATA 
     WMS_TITLE "aza" 
     WMS_ABSTRACT "aza" 
    END 
  END 
END 


 Could you any suggestion?

 Regards.



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Tiny Wireless Camera under $80!
Order Now! FREE VCR Commander!
Click Here - Only 1 Day Left!
http://us.click.yahoo.com/nuyOHD/7.PDAA/yigFAA/PhFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
postgis-unsubscribe@yahoogroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/