new with problems...

Hendrik Meij hmeij at mail.wesleyan.edu
Tue Nov 7 13:00:37 PST 2000


Well I'm kinda stuck on example1...
ran some tiger data through TGR2SHP and subsequently am trying to show some 
output.  Based on previous discussions on this list I've moved my tmp dir 
to htdocs/tmp but i'm still getting no output.  I can change the color of 
the image fine, and ms_demo is running and generating output.  Is my 
problem in the EXTENT setup?  I'm using a shapefile in geographic 
projection but when i leave the extent setting out of my map file, mapserv 
complains...any help to get me started appreciated so i can get some 
feedback on what i'm doing.

-Henk

HTMLFILE

<html>
<body>
<img border="1" 
src="http://portfolio.wesleyan.edu:9999/cgi-bin/mapserver/mapserv?map=
/usr/local/apache/port80/htdocs/mapserver/tgr09007.map&mode=map">
</body>
</html>

MAPFILE

NAME Middlesex
STATUS ON
SIZE 300 300
EXTENT 50 50 100 100
UNITS KILOMETERS
SHAPEPATH "/usr/local/apache/port80/htdocs/mapserver/Tiger92/Tgr09007"
IMAGECOLOR 252 252 252

WEB
   MINSCALE 10000
   MAXSCALE 1000000
   IMAGEPATH "/usr/local/apache/port80/htdocs/tmp/"
   IMAGEURL "/tmp/"
   # LOG "demo.log"
END

LAYER
   NAME "blocks"
   DATA Tgr09007blk
   STATUS DEFAULT
   TYPE POLYGON
     CLASS
       COLOR 152 152 152
     END # end class
END # end layer

END # end map
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20001107/73bc9b02/attachment.htm>


More information about the MapServer-users mailing list