[Mapserver-users] projection problem

frauke.trurnit at gmx.de frauke.trurnit at gmx.de
Tue Mar 11 02:47:38 EST 2003


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