[MapServer-users] Using of GCP file in Mapserver based on Layers Object's Extent and Projection

Marcin Niemyjski mniemyjski at cloudferro.com
Mon Feb 20 03:31:00 PST 2023


Hello,

I'm struggling with rasters with Ground Control Points (GCP). My previous workflow of dealing with them looks like:

Original GCP raster -> gdal warp -of VRT to vrt -> TileIndex created from multiple VRTs

I have found similiar problem on mapserver mailing list. I confirm that creating VRT files helps also in my use case - https://lists.osgeo.org/pipermail/mapserver-users/2020-September/081858.html

But the problem is - i really want to avoid the need of creating VRTs

What I have now:
https://paste.ofcode.org/JJWL2E4EEzs5TzJeLUpRYS

How WMS is projected:
https://pasteboard.co/wQwovivslGDa.png

How it should be:
https://pasteboard.co/xWiLv6LYVgG8.png

Adding more PROJ4 lib attributes (like "axis=neu") fails.

Any recommedation/sugestions?

Thanks,
Marcin







[cid:2ddd8133-13e4-4837-b5e8-a8521d17d5ca]<https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature>           Book time to meet with me<https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230220/e619341a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-vk12rjwf.png
Type: image/png
Size: 528 bytes
Desc: Outlook-vk12rjwf.png
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230220/e619341a/attachment.png>


More information about the MapServer-users mailing list