[Mapserver-users] My shapefiles do not display on Mapserver
J. Tomasz Giermakowski
tomas at unm.edu
Wed Nov 5 02:47:43 PST 2003
Akhone,
I am just getting started and spent a good chunk of time figuring the
basics. Here's what i learned so far:
-SHAPEPATH "data" (relative dir or supply whole: "/var/www/html/you..")
-for each layer: DATA yourshapfile.shp (make sure of .shp)
-EXTENT and PROJECTION *must* match! so, e.g.
MAP
...
set UNITS DD
set EXTENT lowerleftlong lowerleftlat upperrightlong upperrightlat
then set your map for decimal degrees using PROJECTION and then make sure
your shapefile (each LAYER) has its own PROJECTION specified.
what you specify at the beginning is the output projection for the MAP
(therefore EXTENT, UNITS, and PROJECTION must be all coordinated). each
LAYER can then have a different PROJECTION
cheers! tom
On Wed, 5 Nov 2003, Akhona Damane wrote:
> Hi
>
> I have been trying all that I can think of but I did not have my
> shapefiles displayed on Mapserver. I managed to run the Itasca demo on
> the Mapserver, and all the images were displayed very well. But coming
> to displaying my own shapefiles, there was nothing.
>
> Could someone help me?
>
> Akhona
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> Mailscanner thanks transtec Computers for their support.
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
_______________________________________________________________________________
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
J. Tom Giermakowski
Division of Amphibians and Reptiles
Museum of Southwestern Biology tel: 505.277.5130
MSC03 2020, Castetter Hall fax: 505.277.0304
University of New Mexico email: tomas at unm.edu
ALBUQUERQUE, NM 87131-0001, USA web: http://www.unm.edu/~msbherp
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-------------------------------------------------------------------------------
More information about the MapServer-users
mailing list