[MAPSERVER-USERS] projection world

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Fri Apr 4 13:21:58 EDT 2008


Yiasou Nick,
> 
> hello there.. can any one tell me which is the ideal 
> projection of a shapefile that contains all the world ?
> what i wanna to give me is an example like this 
> 
> PROJECTION
> 		"proj=lcc" "lat_1=32" "lat_2=44" "lat_0=38" 
> "lon_0=-100" "x_0=0" "y_0=0"
> "ellps=GRS80" "datum=NAD83"
>     END
>

Something like:

"proj=longlat"
"+ellps=WGS84"
"+datum=WGS84"
"+no_defs"

...is applicable to data which is global in nature.  You can use the
EPSG code shorthand as well:

PROJECTION
 "init=epsg:4326"
END

 
> i wanna also to tell me how i can use the projection in the 
> mapfile.. the shapefile contains a file.. country.prj how i 
> can use it in the mapfile?

You would use this info to define the _native_ projection of the data.
See http://mapserver.gis.umn.edu/docs/reference/mapfile/projection for
more info on projections in MapServer.

Hope this helps.

..Tom




More information about the mapserver-users mailing list