SV: [mapserver-users] Mapserver crashing

Steve Lime steve.lime at dnr.state.mn.us
Wed Jul 31 08:59:02 PDT 2002


If layers match the output projection then you don't have to define
those layers' projection since they are assumed to be the same.

Steve

>>> "Anders Knudstrup Hansen LE34" <akh at le34.dk> 07/31/02 10:33AM >>>
Thanks for the quick reply.... Actually I have the EPSG line commented
out in my mapfile....
I do however have EPSG codes in my layers....

For example:
layer
 NAME "Zoner"
 TYPE polygon
 STATUS default
 connectiontype ogr
 connection "data/tab/Positive_30-07-2002_21_50.TAB"
 class
  symbol "skrav"
  color 255 0 0
  size 3
  outlinecolor 255 0 0
  name "3 km. zoner"
 end
 projection 
  "init=EPSG:32632"
 END
end

As far as I have understood I'm supposed to tell mapserver what
projection each layer is????

/ Anders

> -----Oprindelig meddelelse-----
> Fra: Steve Lime [mailto:steve.lime at dnr.state.mn.us] 
> Sendt: 31. juli 2002 17:29
> Til: Anders Knudstrup Hansen LE34; mapserver-users at lists.gis.umn.edu

> Emne: Re: [mapserver-users] Mapserver crashing
> 
> 
> I'm wondering if the fact that your defining 2 projections: 1 with
the
> EPSG code and another below that could have anything to do with it.
> 
> Steve
> 
> Stephen Lime
> Data & Applications Manager
> 
> Minnesota DNR
> 500 Lafayette Road
> St. Paul, MN 55155
> 651-297-2937
> 
> >>> "Anders Knudstrup Hansen LE34" <akh at le34.dk> 07/31/02 10:06AM
>>>
> Hello again...
> 
> I'm having trouble with the projection object....
> Below is what I have in my map file, but mapserver crashes everytime
i
> try to access the map???
> 
> projection 
> "init=EPSG:23032"
> "proj=utm"
> "ellps=intl"
> "zone=32"
> "north"
> "no_defs"
> END
> 
> As I understand this version of mapserver should support proj etc.
> 
> X:\Programmer\Apache Group\Apache\cgi-bin>mapserv -v
> MapServer version 3.6.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
OUTPUT=WBMP
> SUPPORTS=P
> ROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT INPUT=EPPL7
> INPUT=POSTG
> IS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
> 
> Anybody got any ideas?????
> 
> / Anders
> 



More information about the MapServer-users mailing list