[OpenLayers-Users] Openlayers displa.. size of the map very small.

Christopher Schmidt crschmidt at metacarta.com
Tue Apr 15 19:03:34 EDT 2008


On Tue, Apr 15, 2008 at 03:23:08PM -0700, ptang83 at yahoo.com wrote:
> I used the same Map file for the following scenario:
> 1. using mapserver utility "shp2img" and it generated a 800x500 image (Good size).
> 2. mapscript + mapserver and it generated a 800x500 image (Good size)
> 
> 3. openlayer + mapserver and no display.
> 
> 4. If I change "proj=lcc" to "proj=latlong". openlayer + mapserver generate a 256x256 small image.
> 
> Does this mean openlayers can't handle mapfile "proj=lcc"?

No, it means that you need to specify a different set of projection
parameters.
http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#Projections 

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list