[MapProxy] Export GeoRef Image from Mapproxy Services

Marco Duiker - MD-kwadraat md at md-kwadraat.nl
Sun Oct 2 05:02:11 PDT 2016


Hi,

gdal can do this for you.

You can create a virtual datasource by createing an xml file with 
contents like:

<GDAL_WMS><Service 
name="TMS"><Version>1.0.0</Version><SRS>EPSG:28992</SRS><Format>png</Format><Layer>my_layer_name</Layer><ServerUrl>http://my_mammproxy_service.org/mp/tms/${version}/${layer}/EPSG28992/${z}/${x}/${y}.${format}</ServerUrl><ImageFormat>image/png</ImageFormat></Service><DataWindow><UpperLeftX>-285401.92</UpperLeftX><UpperLeftY>903401.92</UpperLeftY><LowerRightX>595401.92</LowerRightX><LowerRightY>22598.08</LowerRightY><TileLevel>14</TileLevel><SizeX>4194304</SizeX><SizeY>4194304</SizeY><YOrigin>bottom</YOrigin></DataWindow><Projection>EPSG:28992</Projection><BlockSizeX>256</BlockSizeX><BlockSizeY>256</BlockSizeY><BandsCount>3</BandsCount><Timeout>30000</Timeout><!--<ZeroBlockHttpCodes>204,404,500</ZeroBlockHttpCodes>
<ZeroBlockOnServerException>true</ZeroBlockOnServerException>
--><Cache/></GDAL_WMS>

Then you can do something like this
gdal_translate -of GTiff -co COMPRESS=LZW -co BIGTIFF=YES -co TILED=YES 
my_virtual_datasource.xml my_georefrenced_output.tif"

to create your georeferenced output.

MArco

On 01-10-16 09:21, omid omidan wrote:
> Hi List
>
> We use mapproxy 1.9 for wms and wmts service. I looking for a way to 
> export a geo reference image from mapproxy services.
> Do anyone know how can I do this. Is there any program that can export 
> Geo ref Image from wms or wmts services?
>
> Regards
> Omid


-------------- next part --------------
A non-text attachment was scrubbed...
Name: md.vcf
Type: text/x-vcard
Size: 259 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20161002/3e95b397/attachment.vcf>


More information about the MapProxy mailing list