[Mapserver-users] projection problem

Stepan Kafka stepan.kafka@centrum.cz
Tue, 11 Mar 2003 21:25:29 +0100


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@gmx.de [mailto:frauke.trurnit@gmx.de]
> Odesláno: 11. března 2003 8:48
> Komu: mapserver-users@lists.gis.umn.edu
> Kopie: arnulf.christl@ccgis.de; stepan.kafka@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!
>
>

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users