[mapserver-users] lcc projection doesnt output map

Lime, Steve D (MNIT) Steve.Lime at state.mn.us
Mon Mar 18 10:28:36 PDT 2013


Your extents need to be given in the projection you set.

Steve

________________________________
From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of Mark Mirrlees [mmirrlees at hotmail.com]
Sent: Monday, March 18, 2013 12:15 PM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] lcc projection doesnt output map

Ok so i managed to get the numbers somewhat converted...but when I click my start mapserver button it doesnt output my map...any suggestions.

MAP
  NAME "QGIS-MAP"
  # Map image size
  SIZE 500 500
  UNITS meters
  EXTENT -143.210462 39.001401 -50.461045 85.911094
  FONTSET "/wwwroot/fonts/fontset.txt"
  SYMBOLSET "/wwwroot/symbols/symbols.sty"
  PROJECTION
  "proj=lcc"
 "ellps=GRS80"
 "lat_0=49"
 "lon_0=-95"
 "lat_1=49"
 "lat_2=77"
 "datum=NAD83"
 "units=m"
 "no_defs"
  END
If anyone needs the rest of the code let me know...thanks.




________________________________
From: mmirrlees at hotmail.com
To: mapserver-users at lists.osgeo.org
Date: Sun, 17 Mar 2013 20:26:55 -0400
Subject: [mapserver-users] lcc projection doesnt output map

Hi all,

when I try to edit my projection to a LCC from a UTM in my mapfile my map fails to show up when I launch my mapserver link.

Here is the first part of the mapfile...

BEFORE:

MAP
  NAME "QGIS-MAP"
  # Map image size
  SIZE 500 500
  UNITS meters
  EXTENT -143 39 -50 85
  FONTSET "/wwwroot/fonts/fontset.txt"
  SYMBOLSET "/wwwroot/symbols/symbols.sty"
    PROJECTION
    'proj=longlat'
    'datum=WGS84'
    'no_defs'
  END

AFTER:

MAP
  NAME "QGIS-MAP"
  # Map image size
  SIZE 500 500
  UNITS dd
  EXTENT -143 39 -50 85
  FONTSET "/wwwroot/fonts/fontset.txt"
  SYMBOLSET "/wwwroot/symbols/symbols.sty"
  PROJECTION
 "proj=lcc"
 "ellps=GRS80"
 "lat_0=49"
 "lon_0=-95"
 "lat_1=49"
 "lat_2=77"
 "datum=NAD83"
 "units=m"
 "no_defs"
  END

I'm not sure how to fix this...any suggestions? As i'm still fairly new at this.
Mark

_______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130318/5862c8c3/attachment.html>


More information about the mapserver-users mailing list