Bookmark this page: Add Mapserver and Tiger Difficulty Generating Images to Yahoo MyWeb Add Mapserver and Tiger Difficulty Generating Images to Google Bookmarks Add Mapserver and Tiger Difficulty Generating Images to Windows Live Add Mapserver and Tiger Difficulty Generating Images to Del.icio.us Digg Mapserver and Tiger Difficulty Generating Images! Add Mapserver and Tiger Difficulty Generating Images to Netscape
  •  
  • Subject
  • Author
  • Date
If you were  Registered and logged in, you could reply and use other advanced thread options
Posted by roguewraith on July 11, 2006, 5:29 pm
I starting to learn how to use GIS for a school project and I am having
difficulty getting mapserver to generate images from Tiger data files.
All I get in the end is a blank image of nothing.

Any pointers to websites that have more details or examples than the
mapserver site would be appreciated.

Here is my map file for reference

MAP
STATUS ON
SIZE 800 500
IMAGETYPE GIF
IMAGECOLOR 240 240 240
        EXTENT -1000 -1000 1000 1000
        WEB
                IMAGEPATH "C:/ms4w/Apache/htdocs/test/tmp/"
                IMAGEURL "/test/tmp/"
        END


        LAYER
                DEBUG ON
                NAME Complete_Chain
                TYPE LINE
                STATUS ON
                CONNECTIONTYPE OGR
                CONNECTION "C:\ms4w\Apache\htdocs\test\data\TGR220701,0"
                CLASS
                        STYLE
                         COLOR 153 102 0
                        END
                END
        END # Layer 1
EN


Posted by gadde.hareesh on July 14, 2006, 11:00 am
I figured out my mistake. I had incorrect values for my extent, but
everything else was correct. See the following mailing list link for
how to grab the extent data.

http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0405/msg00522.html