[Mapserver-users] no image(s)

ronny mamwake at yahoo.com
Fri Oct 10 02:55:16 PDT 2003


yes, thanks,i have even tried reducing/increasing the
extent but still the problems pursists..no errors or
something to indicate what is wrong,,just cann't
display no image
--- Till Adams <adams at terrestris.de> wrote:
> Dear Ronny,
> 
> does your extent fit to the extent (BoundignBox) of
> your data?
> 
> Cheers,
> Till
> 
> ronny schrieb:
> > am a newbie, when i try to load map am getting
> blank
> > image! everything else is ok ..i sincerely don't
> know
> > what am doing wrong and am stuck and very
> > desperate..my mapfile is as follows:
> > 
> > #
> > # Start of map file
> > #
> > NAME TEST
> > STATUS ON
> > SIZE 600 600
> > EXTENT 388107.634400379 5203120.88405952
> > 500896.339019834 5310243.30613897
> > UNITS METERS
> > SHAPEPATH "data"
> > IMAGECOLOR 255 255 255
> > 
> > 
> > WEB
> >   HEADER test_header.html
> >   TEMPLATE test.html
> >   FOOTER test_footer.html
> >   MINSCALE 1000
> >   MAXSCALE 1550000
> >   IMAGEPATH "set in test.html"
> >   IMAGEURL "set in test.html"
> >   METADATA
> >     WMS_TITLE "scomMapserver"
> >     WMS_ACCESSCONSTRAINTS none
> >     WMS_ONLINERESOURCE
> > "http://var/www/html/mapsite/test.html"
> > 
> >     WMS_SRS "EPSG:26915"
> >   END
> > END
> > 
> > QUERYMAP
> >   SIZE 200 200
> >   STATUS ON
> >   STYLE HILITE
> >   COLOR 255 0 0
> > END
> > 
> > #
> > # Start of reference map
> > #
> > #REFERENCE
> > #  IMAGE graphics/ref.png
> > #  EXTENT 393234.393701263 5205405.16440722
> > 495769.579718949 5307959.02579127
> > #  SIZE 50 50
> > #  STATUS ON
> > #  COLOR -1 -1 -1
> > #  OUTLINECOLOR 255 0 0
> > #END
> > 
> > #
> > # Start of legend
> > #
> > LEGEND
> >   KEYSIZE 18 12
> >   LABEL
> >     TYPE BITMAP
> >     SIZE MEDIUM
> >     COLOR 0 0 89
> >   END
> >   STATUS ON
> > END
> > 
> > #
> > # Start of scalebar
> > #
> > SCALEBAR
> >   IMAGECOLOR 255 255 255
> >   LABEL
> >     COLOR 255 255 255
> >     SIZE tiny    
> >   END
> >   STYLE 1
> >   SIZE 80 2
> >   COLOR 255 255 255
> >   UNITS MILES
> >   INTERVALS 1
> >   TRANSPARENT TRUE
> >   STATUS TRUE
> > END
> > 
> > #
> > # Start of symbol definitions (we're only using a
> few)
> > #
> > SYMBOL
> >   NAME 'circle'
> >   TYPE ELLIPSE
> >   POINTS 1 1 END
> >   FILLED TRUE
> > END
> > 
> > #
> > # Start of layer definitions
> > #
> > 
> > LAYER
> >  NAME test_region
> >   TYPE RASTER
> >   STATUS DEFAULT
> >   DATA "test_region"
> >   
> >   CLASSITEM 'cty_name'
> >   CLASS
> >     EXPRESSION 'Test'
> >      OUTLINECOLOR 128 128 128
> >     COLOR 225 225 185
> >   END
> >   CLASS # 
> >     EXPRESSION /./ 
> >     OUTLINECOLOR 128 128 128
> >     COLOR 255 255 255
> >   END
> >   END
> > 
> > LAYER
> >   NAME Towns_point
> >   GROUP cities
> >   TYPE RASTER
> >   DATA "Towns_point"
> >   STATUS OFF
> >   CLASSITEM 'city_name'
> >   CLASS
> >     NAME "Cities & Towns"
> >     EXPRESSION NONE
> >     COLOR 255 225 90
> >     TEMPLATE "population.html"
> >   END
> > 
> >   HEADER "population_header.html"
> >   FOOTER "population_footer.html"
> > 
> >   DUMP TRUE # allow GML export
> > 
> >   END
> > END
> > 
> > LAYER
> >   NAME Places_point
> >   TYPE POINT
> >   DATA "Places_point"
> >   STATUS OFF
> >   CLASS
> >     SYMBOL 'circle'
> >     SIZE 2
> >     NAME 'Townships'
> >     OUTLINECOLOR 181 181 145
> >   END
> >    END
> > 
> > 
> > LAYER
> >   NAME Lakes_region
> >   TYPE RASTER
> >   STATUS OFF
> >   DATA "Lakes_region"
> > 
> >   CLASS
> >     NAME 'Lakes & Rivers'
> >     TEMPLATE "lakes.html"
> >     COLOR 49 117 185  
> >   END
> > 
> >   HEADER "lakes_header.html"
> >   FOOTER "lakes_footer.html"
> >   
> >   TOLERANCE 3
> > 
> >   DUMP TRUE # allow GML export
> > 
> >   END
> > END
> > 
> > LAYER
> >   NAME Rivers_polyline
> >   TYPE LINE
> >   STATUS OFF
> >   DATA "Rivers_polyline"
> > 
> >   CLASS
> >     NAME "Streams"
> >     TEMPLATE "description.html"    
> >     COLOR 49 117 185
> >   END
> 
=== message truncated ===


=====
ronny

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com



More information about the MapServer-users mailing list