Projections again

Artur Skalski artur.skalski at ACXIOM.COM
Tue Feb 7 14:16:00 EST 2006


Hi All

I'm realy stuck...

I'm trying to project Layer which is in "longlitude/latitude WGS84"
projection (it's a mapinfo layer and i get projection info from MapInfo) in
"Pulkovo (1942) Gauss Kruger zone 34" i use for that epsg file like
"init=epsg:2551", and teh layer is not visible, just flyes away somewhere...

Can You help please

thats my map file:

MAP
NAME Sopot
#EXTENT 18.48520 54.41169 18.60783 54.46770
EXTENT 4338050 6035540 4343920 6040510
UNITS METERS

CONFIG "PROJ_LIB" "C:/proj4/nad/"

PROJECTION
 "init=epsg:2551" #GK Polkovo 1942 zone 34
END

STATUS ON
SIZE 750 550
SYMBOLSET etc/symbols.sym
FONTSET "C:/Inetpub/wwwroot/mapserver/framedefs/etc/fonts.txt"
SHAPEPATH "C:/Inetpub/wwwroot/mapserver/data/newsopot/"
IMAGECOLOR 255 255 255

#
# Definicja formatu mapy (.gif .jpg ect.)
#

#
# Start of web interface definition
#
WEB
  #MINSCALE 1000
  #MAXSCALE 150000
#
# On Windows systems, /tmp and /tmp/ms_tmp/ should be created at the root
# of the drive where the .MAP file resides.
#
   IMAGEPATH "C:/Inetpub/wwwroot/mapserver/framedefs/ms_tmp/"
   IMAGEURL "/ms_tmp/"
END

#
# Start of reference map
#
REFERENCE
   IMAGE "C:/Inetpub/wwwroot/mapserver/framedefs/images/reference.gif"
   EXTENT 4338050 6035540 4343920 6040510
   STATUS ON
   COLOR -1 -1 -1
   OUTLINECOLOR 255 0 0
   SIZE 150 150
   MARKERSIZE 8
   MARKER 'star'
   MAXBOXSIZE 150
END

#
# Scalebar
#
SCALEBAR
 TRANSPARENT ON
 BACKGROUNDCOLOR 255 255 255
 STATUS EMBED
 UNITS meters
 POSITION LR
 STYLE 1
END

#
# Query Map
#
QUERYMAP
  STYLE HILITE
  COLOR 255 0 0
END

#
# Symbols
#
SYMBOL
    NAME 'point'
    TYPE ELLIPSE
    FILLED TRUE
    POINTS
        1 1
    END
END


#
# Start of layer definitions
#
LAYER
     NAME granice
     DATA CityBoundaries
     TYPE POLYGON
     CONNECTIONTYPE OGR
     CONNECTION "CityBoundaries.TAB"
     STATUS ON
 PROJECTION
  "init=epsg:4326" #lon/latwgs84
 END
     CLASS
 NAME "granice"
 COLOR 255 255 218
 OUTLINECOLOR 0 0 0
     END
END

END # Map File

regards

Artur



More information about the mapserver-users mailing list