[Mapserver-users] --with-gdal --without-tiff

Frank Warmerdam warmerdam at pobox.com
Wed Feb 26 11:07:50 EST 2003


Agneta Schick wrote:
> And the projection I'm trying is Gauss-Krueger to latlong:
> Map:
>  PROJECTION
>   "proj=latlong"
>  END
> Layer: (jpg or png)
>  PROJECTION
>    "proj=tmerc"
>    "ellps=bessel"
>    "lat_0=0n"
>    "lon_0=9e"
>    "x_0=3500000."
>    "y_0=0."
>  END
> 
> I could skip the projection if I had a function (subroutine) for converting
> Gauss-Krueger to geographic coordinates. If someone has such a program would
> he/she share it with me? I searched the internet but found only interactive or
> Windows-suitable applications.

Agneta,

I would suggest including the "ellps=bessel" in your map projection block as
well.  I am not sure that is the problem, but it could be.

Note that the "proj" PROJ.4 program can be used to batch convert coordinates
and that "gdalwarp" in GDAL 1.1.8 can be used to reproject rasters (with some
limitations).

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent





More information about the mapserver-users mailing list