[Mapserver-users] projection problem

Stepan Kafka stepan.kafka at centrum.cz
Mon Mar 10 01:26:52 PST 2003


You have specified targed projection the same (lat/lon WGS 84) as the source
data, so data aren't projected. Try UTM or Gauss-Kruger projection instead.

Stepan Kafka
Help Service Remote Sensing
tel: +420-327514118
mailto:kafka at email.cz
http://www.bnhelp.cz

> -----Pùvodní zpráva-----
> Od: mapserver-users-admin at lists.gis.umn.edu
> [mailto:mapserver-users-admin at lists.gis.umn.edu]za uživatele
> frauke.trurnit at gmx.de
> Odesláno: 10. bøezna 2003 9:24
> Komu: mapserver-users at lists.gis.umn.edu
> Pøedmìt: [Mapserver-users] projection problem
>
>
> Hi list,
> I have some problems with the projection. It seems as it doesn't work. My
> map looks like not projected.
> Does anyone have an idea what's wrong? I attached an example map
> of Germany.
> Thanks for help
> Frauke
>
> Mapfile:
> MAP
>   NAME "Bundestagswahlkreise 2002"
>   STATUS ON
>   EXTENT 5.24 47.29 15.33 55.33
>   SIZE 700 700
>   FONTSET "/www/fonts/fonts.list"
>    IMAGECOLOR 230 230 230
>   UNITS DD
>   IMAGETYPE GIF
>   WEB
>     IMAGEPATH "/usr/local/httpd/htdocs/ms_temp/"
>     IMAGEURL "http://172.23.71.157/ms_temp/"
>  END
>   PROJECTION
>     "init=epsg:4326"
>     #proj=longlat
>     #ellps=WGS84
>     #datum=WGS84
>     #no_defs
>   END
>   ...
>   # LAYER
> DEFINITIONEN------------------------------------------------------
> -----------------------
>   LAYER
>     NAME "Bundestagswahlkreise 2002"
>     STATUS DEFAULT
>     TYPE POLYGON
>     CONNECTIONTYPE OGR
>     CONNECTION
> "../../../www/projects/bundestagswahlkreise/data/vektor/wahlkreise
> 2002.tab"
>     CLASSITEM "Name"
>     TEMPLATE "ttt.html"
>   PROJECTION
>       "init=epsg:4326"
>       #proj=longlat
>       #ellps=WGS84
>       #datum=WGS84
>       #no_defs
>     END
>    CLASS
>       NAME "Wahlkreise"
>       EXPRESSION /./
>       COLOR 255 255 0
>       OUTLINECOLOR 128 128 128
>       TEMPLATE "wahlkreise.html"
>     END
>   END
> END
>
> --
> +++ GMX - Mail, Messaging & more  http://www.gmx.net +++
> Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!




More information about the MapServer-users mailing list