[mapserver-users] EPSG: 3844 problem
Petr Suk
petrxsuk at gmail.com
Fri May 16 10:53:04 PDT 2014
Hi Jukka,
perfect, both solutions work.
Thanks a lot.
Petr
2014-05-16 17:47 GMT+02:00 Rahkonen Jukka (Tike) <jukka.rahkonen at mmmtike.fi>
:
> Hi,
>
>
>
> EPSG:3844 seems to be a system with Northing-Easting coordinate axis order:
>
>
>
>
> http://epsg-registry.org/report.htm?type=selection&entity=urn:ogc:def:crs:EPSG::3844&reportDetail=short&style=urn:uuid:report-style:default-with-code&style_name=OGP%20Default%20With%20Code&title=EPSG:3844
>
>
>
> Two solutions:
> - Use WMS 1.1.1
>
> - Flip the coordinates in the BBOX of WMS 1.3.0
>
>
>
> -Jukka Rahkonen-
>
>
>
> Petr Suk wrote:
>
>
>
> hi there,
> I am trying to set up WMS with EPSG:3844. The source data are GTiffs
> (EPSG:3844). The problem is, that GetMap request sends only blank images
> when 3844 is used. If the request is with EPSG:4326 everything is fine and
> the transformation is OK too.
> The mapfile looks like:
>
> MAP
> NAME Romania_Orthophoto
> SIZE 400 300
> EXTENT 419332.586421 240848.815804 459780.109320 259741.205149
> UNITS METERS
> SHAPEPATH "//data/romania/Olt/"
> IMAGECOLOR 255 255 255
> IMAGETYPE PNG
> WEB
> METADATA
> "wms_title" "Romania OrthoPhoto"
> "wms_onlineresource" "http://localhost/cgi-bin/wms/romania"
> "wms_srs" "EPSG:4326 EPSG:3844"
> "wms_enable_request" "*"
> "wms_extent" "419332.586421 240848.815804 459780.109320 259741.205149"
> END
> END
> PROJECTION
> "init=epsg:3844"
> END
> LAYER
> NAME "orthophoto"
> STATUS ON
> TILEINDEX olt.shp
> OFFSITE 255 255 255
> OPACITY 85
> TYPE RASTER
> METADATA
> "wms_title" "orthophoto"
> END
> END
> END
> #
>
> GetMap looks like:
>
> SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=419102.35417775972746313,240475.32843947352375835,459895.23908429278526455,260119.92758433445123956&CRS=EPSG:3844&WIDTH=1521&HEIGHT=731&LAYERS=orthophoto&STYLES=&FORMAT=image/png&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96&TRANSPARENT=TRUE
>
> I am running mapserver 6.2.1 on Ubuntu 12.04 with proj 4.8.0 and gdal
> 1.10
>
> Thanks a lot for any hints.
>
> Petr
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140516/aed3064e/attachment.htm>
More information about the MapServer-users
mailing list