[mapserver-users] lcc projection doesnt output map
Stephen Woodbridge
woodbri at swoodbridge.com
Sun Mar 17 17:39:50 PDT 2013
Mark,
You need to change
UNITS DD
to
UNITS METERS
and you need to change
EXTENT -143 39 -50 85
to
EXTENT ...
where ... is the longlat coordinates above converted to their equivalent
values in LCC
On linux you might from cs2cs command helpful, you might also find some
online projection conversion utilities.
-Steve
On 3/17/2013 8:26 PM, Mark Mirrlees wrote:
> 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
>
More information about the MapServer-users
mailing list