[Mapserver-users] projection problem
Daniel Morissette
morissette at dmsolutions.ca
Tue Mar 11 06:58:44 PST 2003
... and don't forget to change the UNITS value from DD to meters or
whatever your projections units are so that your scalebar and
MINSCALE/MAXSCALE settings work properly.
Daniel
Ed McNierney wrote:
>
> Frauke -
>
> When you change the projection to Gauß-Krüger, you must change the EXTENT statement to represent coordinates in that projected coordinate system. The values in the EXTENT statement are always coordinates in the MAP file's PROJECTION.
>
> - Ed
>
> Ed McNierney
> President and Chief Mapmaker
> TopoZone.com / Maps a la carte, Inc.
> 73 Princeton Street, Suite 305
> North Chelmsford, MA 01863
> ed at topozone.com
> (978) 251-4242
>
> -----Original Message-----
> From: frauke.trurnit at gmx.de [mailto:frauke.trurnit at gmx.de]
> Sent: Tuesday, March 11, 2003 2:48 AM
> To: mapserver-users at lists.gis.umn.edu
> Cc: arnulf.christl at ccgis.de; stepan.kafka at centrum.cz
> Subject: 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 at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
--
------------------------------------------------------------
Daniel Morissette morissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list