[Mapserver-users] Unable to display map
Eduardo Patto Kanegae
eduardo at consultoria.eti.br
Thu Mar 18 03:49:45 PST 2004
Did you check if your shapefile has this extent value? EXTENT -180 -90
180 90
A good way to check is to use "shpdump" tool from ShapeLib (
http://shapelib.maptools.org )
$ shpdump myshapefile.shp > mydumpfile.txt
open the TXT file and look for line 3 and 4.
that's all u need.
best.
Eduardo Patto Kanegae
http://www.consultoria.eti.br
## Projeto MapServer Brasil - http://mapserver.cttmar.univali.br ##
***************************************
***Fim da Mensagem / End of Message ***
***************************************
Pramila R Gawas escreveu:
> Dear MapServer experts,
>
> could you please help me with following problem?
>
> I'm trying to display data strored in shape file, but I allways get a
> blank map (image icon).
> The map file is as follows :
> NAME WORLD
> SIZE 500 650
> EXTENT -180 -90 180 90
> #UNITS METERS
> SHAPEPATH "/localhostname/user/abc/public_html/worldmap/data"
> STATUS ON
> #IMAGETYPE png
>
> LAYER
> NAME world
> TYPE POLYGON
> DATA world
> CLASS
> COLOR 181 181 181
> OUTLINECOLOR 50 10 100
> END
> STATUS DEFAULT
> END
>
> PROJECTION
> "proj=latlong"
> END
>
> WEB
> TEMPLATE demo.html
> IMAGEPATH "set in init.html"
> IMAGEURL "set in init.html"
> METADATA
> WMS_ONLINERESOURCE "http://localhost/~abc/init.html"
> END
> END
> END
>
>
>
> Could anybody get throught this problem.
>
>
> thanks
> pramila
>
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
>
--
More information about the MapServer-users
mailing list