[mapserver-users] Re: Shape File not appearing

forums forums at craniumjuice.com
Tue Dec 20 07:34:34 EST 2011


What units are in your shapefile?  The thing that jumps out at me, is your
units is in Meters.  So the extent gives about at 15x8m view.  That's
pretty small.
Maybe comment out the  UNITS METERS part just to see how it goes.

Jerl

On Tue, Dec 20, 2011 at 12:25 AM, knasia <knasia at poczta.fm> wrote:

> My mapfile generates tile which is empty (white).
>
> My mapfile contains a code which is beneath:
>
> MAP
>  NAME name
>  STATUS ON
>  OUTPUTFORMAT
>  NAME png
>  DRIVER "GD/PNG"
>  MIMETYPE "image/png"
>  TRANSPARENT ON
>  IMAGEMODE RGB
>  EXTENSION "png"
>  END
>  SIZE 256 256
>  EXTENT         -97.238976 41.619778 -82.122902 49.385620
> UNITS METERS
> SHAPEPATH "/pathToShapes/shapes/"
>
>  WEB
>  TEMPLATE "myPage.php"
>        IMAGEPATH "/path/"
>        IMAGEURL "validURL"
>  END
>
>  QUERYMAP
>  SIZE 256 256
>  STATUS ON
>  STYLE HILITE
>  COLOR 255 0 0
>  END
>
>        LAYER
>                NAME map1
>                        PROJECTION
>                                "init=epsg:4326"
>                        END
>                        TYPE LINE
>                        STATUS ON
>                        DATA "waterways"
>                        CLASS
>                                NAME "test"
>                                OUTLINECOLOR 0 0 0
>                        END
>
>        END #end of layer
>  END
> END
>
>
> My shapefiles are in folder shapes and there are 3 files:
> waterways.shp
> waterways.shx
> waterways.dbf
>
> Could you help?
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Shape-File-not-appearing-tp6896942p7110856.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



-- 
A computer without Windows is like chocolate cake without mustard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111220/1a81dd3e/attachment.html


More information about the mapserver-users mailing list