projection offset

Steven M. Ottens steven.ottens at GEODAN.NL
Tue Jan 9 07:22:23 PST 2007


Hi Bart,

This solved the offset in RD, thanks a lot
(the horizontal offset was due to a wrong epsg code)

Steven


But in

On Jan 9, 2007, at 2:15 PM, Bart van den Eijnden (OSGIS) wrote:

> Steven,
>
> have you updated your PROJ.4 parameters? PROJ 4.5 should contain  
> the right
> ones.
>
> This should be it, check your epsg file:
>
> <28992> +proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889
> +k=0.999908 +x_0=155000 +y_0=463000 +ellps=bessel +units=m
> +towgs84=565.2369,50.0087,465.658,-0.406857330322398,0.350732676542563 
> ,-1.8703473836068,4.0812
> +no_defs <>
>
> Best regards,
> Bart
>
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> http://www.osgis.nl
>
>
> --------- Oorspronkelijk bericht --------
> Van: Steven M. Ottens <steven.ottens at GEODAN.NL>
> Naar: MAPSERVER-USERS at LISTS.UMN.EDU <MAPSERVER-USERS at LISTS.UMN.EDU>
> Onderwerp: [UMN_MAPSERVER-USERS] projection offset
> Datum: 09/01/07 11:05
>
>> Hi all,
>>
>> I've got a problem with reprojecting data (shapefiles) with  
>> mapserver:
>> I've got data in shapefiles as wgs84 (epsg:4326) I need to be able to
>> reproject them in various coordinatesystems. However if I request the
>> data as dutch RD (epsg:28992) and overlay it with a shapefile with
>> the same data in epsg:28992 I get a vertical offset. (see attached
>> image; the red and black line should overlap.)
>> If I reproject the data as UTM 30 I get a horizontal offset. Is there
>> a magic trick to get mapserver reprojecting data on the fly? I've
>> attached my mapfile if that helps.
>>
>> regards,
>> Steven
>>
>>
>>
>>
>>
>>



More information about the MapServer-users mailing list