Hi,

Using the [GRID] object, I'm able to do a GetMap request using &SRS=EPSG:900913 to display a the grid correctly reprojected, but the coordinates displayed (labels) are in degrees. When switching the layer PROJECTION from 4326 to 900913, the request throws a 504 error.

  How can I display them in 900913 ?

  See the attached image and layer definition.  I'm using MapServer 6.0.1.

Thanks,

Alexandre


[GRID]  http://mapserver.org/mapfile/grid.html

--
Alexandre Dubé
Mapgears
www.mapgears.com

<<attachment: grid.png>>

LAYER
    NAME "grid"
    METADATA
        "DESCRIPTION" "Grid"
    END
    TYPE LINE
    STATUS ON
    CLASS
        NAME "Graticule"
        STYLE
            COLOR 0 0 0
            WIDTH 0.3
        END
        LABEL
            COLOR  0 0 0
            FONT "sans"
            TYPE truetype
            SIZE 6.5
            POSITION AUTO
            PARTIALS FALSE
            BUFFER 5
        END
    END
    PROJECTION
        "init=epsg:4326"
    END
    GRID
        LABELFORMAT '%.1f°'
        MAXARCS 10
        MININTERVAL 10
        MAXINTERVAL 10
        MAXSUBDIVIDE 2
    END
END
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to