[mapserver-users] changing projection of a "polygon"

ahmet temiz ahmettemiz88 at gmail.com
Thu Jun 17 23:02:46 PDT 2010


thank you

How we can do that in mapscript (Java)  ?

regards

2010/6/17 Jörg Thomsen <jt at mapmedia.de>:
> hello,
>
> ahmet temiz wrote:
>>
>> hello
>>
>> I there any way to change projection of a "polygon" from  UTM to
>> geographic .
>>
>> something like from EPSG:32636 to EPSG:4326.
>
> yes.
>
> if you want to save the file with the new projection you might use
> http://www.gdal.org/ogr2ogr.html
>
> If you are asking for a reprojection on-the-fly, mapserver can do it:
>
>> LAYER
>>  ...
>>  PROJECTION
>>   "init=epsg:32636" # projection of your src-data
>>  END
>>  METADATA
>>    "wms_srs"             "EPSG:4326 EPSG:32636" # request am map in any of
>> these proejctions
>>    ...
>>  END
>> END
>
>
> Jörg
>
>
>>
>> regards
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Aufwind durch Wissen!
>
> Qualifizierte Open Source Schulungen bei der
> http://www.foss-akademie.de/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> _________________________________________________
>
> MapMedia
> Kartographie und raumbezogene Informationssysteme
>
> Gillweg 3, 14193 Berlin
> fon: +49 30 89 06 82-70
> fax: +49 30 89 09 53-21
> mail: jt at mapmedia.de
> net:  www.mapmedia.de
> _________________________________________________
>
>
>
> Geschäftsführer: G. v. Tschirnhaus, J. Thomsen, P. Stamm
> Registergericht, Berlin - Amtsgericht Charlottenburg,
> HRB 89625, Umsatzsteuer-Identnummer: DE 813794062
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



More information about the MapServer-users mailing list