[Maplab-dev] [Bug 872] [MapLab] GMapFactory projection problem with
ms 4.4-beta3
bugzilla-daemon at maptools.org
bugzilla-daemon at maptools.org
Mon Nov 29 15:29:33 EST 2004
http://www.maptools.org/bugzilla/show_bug.cgi?id=872
------- Additional Comments From dmorissette at dmsolutions.ca 2004-11-29 15:29 -------
Um... maybe we could patch MapServer to trim leading spaces but that implode(
"\n", ...) doesn't smell good anyway. I tested this code and it won't work with
projection definitions with more than one parameter unless you prefix your
projection parameters with "+", in which case you don't need the implode at all
since passing a "+"-delimited string directly works.
The right way to pass projection definitions to PROJ are using "+" prefixes, or
comma-separated parameters with no spaces:
"+init=epsg:42304"
or
"+proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 +lat_2=77 +datum=NAD83
+units=m"
or
"proj=lcc,ellps=GRS80,lat_0=49,lon_0=-95,lat_1=49,lat_2=77,datum=NAD83,units=m"
The reason why "init=epsg:42304" also works it's because it falls in the
comma-separated case.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Maplab-dev
mailing list