[MS4W-Users] Reprojection of WMS layer with mapsrcipt

Frank Warmerdam warmerdam at pobox.com
Tue Jul 19 10:48:44 EST 2011


On Tue, Jul 19, 2011 at 7:00 AM, Brent Fraser <bfraser at geoanalytic.com> wrote:
> Peter,
>
> Have a look at GDAL (http://www.gdal.org/).  It is the most popular open
> source project used for raster re-projection.  There are command line
> utilities and scripting support.  GDAL is delivered with MS4W, but I don't
> think PHP examples are included...

Brent,

I would note that the GDAL/OGR PHP SWIG bindings are
unsupported and likely badly broken. If I wanted to solve this
problem, I would use the GDAL WMS driver to read from the
remote WMS and use gdalwarp to reproject the image.

(Or just use MapServer aas the WMS server!)

Best regards,

> On 7/19/2011 2:51 AM, Peter.Jehle at tba.llv.li wrote:
>
> Hi all,
>
> I have a proprietary map (-server ) software, that offers an non
> WMS-compliant Web-Interface. To use this software as a WMS, i have written
> an wrapper/proxy script in php, that translates WMS-request to the
> proprietary URL, performs the request an returns the result as a
> WMS-compliant answer.
>
> So far, this works fine. But now i have the problem, that I should
> reproject  images according to the WMS "SRC" param (for example WGS84).
> Since my proprietary software does not support reprojection, I would like to
> do this task in the php wrapper script. Is there a way to do this with
> mapscript and/or proj4? Can I use mapsript without a UNM-Mapserver mapfile?
> If so, is there a php script example ?
>
> Thanks for any suggestion
>
> Regard's
> Peter
>
>
>
> _______________________________________________
> MS4W-Users mailing list
> MS4W-Users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ms4w-users
>
> _______________________________________________
> MS4W-Users mailing list
> MS4W-Users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ms4w-users
>
>



-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer


More information about the MS4W-Users mailing list