[MS4W-Users] How to mention multiple projections in MapServer MAPFILE?

Siki Zoltan siki at agt.bme.hu
Fri Jan 3 06:56:53 EST 2014


Hello Shiva,

you had better to add the correct SRID to Oracle, it would make a 
clearer situation.
You can add PROJECTION for each layer in your map file. The easyest way is 
to use the EPSG code.

LAYER
   ...
   PROJECTION
     'init=epsg:4326'
   END
   ....
END # LAYER

You must give a projection in the map section. If the layer and the map 
projection is different, then Mapserver will reproject layer on the fly.

Regards,
Zoltan

On Fri, 3 Jan 2014, shiva.sk4 wrote:

> Is there a way to mention multiple projection systems / spatial reference
> systems in MapServer's (ms4w 3.0.3) MAPFILE? For example for Malaysia - GIS
> data could lie across three spatial references *WGS 84 / UTM zone 47N*, *WGS
> 84 / UTM zone 48N* and *WGS 84 / UTM zone 49N*. The GIS data stored in
> Oracle DB has no *SRID* mentioned and each layer may consist of data that
> may lie in any of the above mentioned 3 spatial references. Is there a way
> we can dynamically project GIS data through mapfile?
>
> Regards, Shiva
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/How-to-mention-multiple-projections-in-MapServer-MAPFILE-tp5096215.html
> Sent from the ms4w-users mailing list archive at Nabble.com.
> _______________________________________________
> MS4W-Users mailing list
> MS4W-Users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ms4w-users
>


More information about the MS4W-Users mailing list