On the fly RASTER warping
Marc Monnerat
marc.monnerat at BLUEWIN.CH
Wed Apr 12 02:56:17 PDT 2006
Hello,
If your EXTENT are degrees (-180 -90 180 90), so your UNITS should be DD
and not METERS and this should match your map projection setting.
And if your wms server is Danmark only, try focusing on Danmark, not the
world!
Didn't found any epsg:54004, is it standard ?
Marc Monnerat
OK, later
This is working for me (some lines removed):
MAP
...
# Extent for Danmark in degree
# EXTENT 7.8 54 13 58
# extent in epsg:54004 units
EXTENT 868292.03 7135562.57 1447153.38 7931049.58
UNITS METERS
WEB
IMAGEPATH "/srv/www/htdocs/tmp/"
...
END
PROJECTION
"init=epsg:54004"
END
OUTPUTFORMAT
NAME png
DRIVER "GD/PNG"
...
END
...
LAYER
NAME "prov_bound"
TYPE RASTER
STATUS DEFAULT
CONNECTION "http://kort.plandk.dk/scripts/mapserv.pl"
CONNECTIONTYPE WMS
METADATA
"wms_srs" "EPSG:32632"
"wms_name" "plandk"
"wms_server_version" "1.1.1"
"wms_format" "image/png"
END
END
END # Map File
Michael S. Birkmose wrote:
> Hi Ed,
>
>
>
> I have attached the map file here. I hope this helps J
>
> Best regards,
>
>
>
> Michael
>
>
>
> ------------------------------------------------------------------------
>
> *From:* Ed McNierney [mailto:ed at topozone.com]
> *Sent:* 11. april 2006 16:23
> *To:* Michael S. Birkmose; MAPSERVER-USERS at LISTS.UMN.EDU
> *Subject:* RE: [UMN_MAPSERVER-USERS] On the fly RASTER warping
>
>
>
> Michael -
>
>
>
> This works just fine. If you're working with data in multiple
> projections, you need to be sure to accurately describe the INPUT
> projection for each source layer and the OUTPUT projection for your map
> image. MapServer will indeed take care of the reprojection. It would
> be helpful if you could post your map file to see how you've done this.
>
>
>
> - Ed
>
> Ed McNierney
> President and Chief Mapmaker
> TopoZone.com / Maps a la carte, Inc.
> 73 Princeton Street, Suite 305
> North Chelmsford, MA 01863
> ed at topozone.com
> (978) 251-4242
>
>
>
> ------------------------------------------------------------------------
>
> *From:* UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]
> *On Behalf Of *Michael S. Birkmose
> *Sent:* Tuesday, April 11, 2006 9:37 AM
> *To:* MAPSERVER-USERS at LISTS.UMN.EDU
> *Subject:* [UMN_MAPSERVER-USERS] On the fly RASTER warping
>
> Hi,
>
>
>
> Reading the manual it seems that it should be possible to perform on the
> fly warping of a raster layer from one projection to another.
>
>
>
> I’m trying to access a WMS service, which only supports the EPSG:32632
> projection.
>
>
>
>
>
> However I need to combine the layers from the WMS service with some
> other layers, and output it all in the Mercator projection (EPSG:54004).
>
>
>
> I have tried setting this up In mapserver, but with no success L
>
>
>
> The way I read it the GDAL extenstion should take care of this? However
> this does not seem to be the case.
>
>
>
> Is there anyone that have experienced the same problems?
>
>
>
> Best regards,
>
> Michael
>
More information about the MapServer-users
mailing list