[postgis] About PostGIS & MapServer

Obe, Regina DND\MIS robe.dnd at ci.boston.ma.us
Fri Mar 8 04:53:20 PST 2002


Also I think you need to URL encode the map file name for Netscape browser
users, it may not work (for IE probably will as is)



-----Original Message-----
From: Hisaji ONO [mailto:hi-ono at mn.xdsl.ne.jp]
Sent: Friday, March 08, 2002 7:39 AM
To: postgis at yahoogroups.com
Subject: [postgis] About PostGIS & MapServer


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




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

 

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


------------------------ 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 at yahoogroups.com

 

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





More information about the postgis-users mailing list