[Mapserver-users] projection problem

Stepan Kafka stepan.kafka at centrum.cz
Tue Mar 11 15:25:29 EST 2003


You have set the map extent still in WGS 84 lat/lon coordinates. You must
change them to Gauss Kruger ones. Also units meters...

Stepan Kafka

> -----Pùvodní zpráva-----
> Od: frauke.trurnit at gmx.de [mailto:frauke.trurnit at gmx.de]
> Odesláno: 11. bøezna 2003 8:48
> Komu: mapserver-users at lists.gis.umn.edu
> Kopie: arnulf.christl at ccgis.de; stepan.kafka at centrum.cz
> Pøedmìt: Re: [Mapserver-users] projection problem
>
>
> Hi Anrulf, hi Stepan,
>
> If I use Gauß-Krüger (init=EPSG:31493), no more map appears.
>
> Frauke
>
> NAME 'Bundestagswahlkreise 2002'
> STATUS ON
> EXTENT 5.24 47.29 15.33 55.33
> UNITS dd
>
> PROJECTION
>     'init=epsg:31493'
> END
> ...
> LAYER
>   NAME 'Bundestagswahlkreise 2002'
>   TYPE POLYGON
>   STATUS ON
>   DATA 'wahlkreise2002'
>   PROJECTION
>     'init=epsg:4326'
>   END
>   CLASSITEM 'Name'
>   CLASS
>     NAME 'Wahlkreise'
>     EXPRESSION /./
>     OUTLINECOLOR 128 128 128
>     COLOR 255 255 0
>     TEMPLATE 'wahlkreise.html'
>   END
> END
>
> > Hi,
> > the map looks correct - just like specified with 4326 which ist
> "ETRS89".
> > If
> > you want to have it look like we are used to in Germany you have to
> > project
> > it in Gauß-Krüger or similar.
> >
> > Regards, Arnulf.
> >
> > MAP
> >   NAME "Germany"
> >   STATUS ON
> >   #EXTENT 5.88 46.6213 15 55.7187
> >         EXTENT 2886610 5230448 4285190 6130010 #5.88 46.6213 15 55.7187
> >         PROJECTION
> >                         "init=EPSG:31493"     # projection of the whole
> > project
> >   END
> > ....
> >
> >   LAYER
> >     NAME "Topographie"
> >     STATUS ON
> >     DATA "d:/umn/data/hynet_polygon.shp"
> >     TYPE POLYGON
> >                 TEMPLATE "templates/query.html"
> >                 HEADER "templates/query_header.html"
> >                 FOOTER "templates/query_footer.html"
> >     TOLERANCE 20
> >     TOLERANCEUNITS PIXELS
> >                 PROJECTION
> >       "init=EPSG:4326"     # projection of the data
> >     END
> >     CLASSITEM "HYPYTYPE"
> >     UNITS METERS
> >     SIZEUNITS PIXELS
> >
> >
>
> --
> +++ 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