Hi,

I found a sample mapfile and GDAL WMS driver configuration for OpenStreetMap 
tiles. Try what happens if you modify them for ArcGIS Rest.

Mapfile
=====

LAYER
    NAME "OSM"
    STATUS ON
    TYPE RASTER
    DATA "D:\Websites\OpenStreetMap\OSM.xml"
    PROJECTION
      "init=EPSG:900913"
    END

END

Gdal-WMS config (OSM.xml)
===================

<GDAL_WMS>
    <Service name="TMS">

<ServerUrl>http://tile.openstreetmap.org/${z}/${x}/${y}.png</ServerUrl>

    </Service>
    <DataWindow>
        <UpperLeftX>-20037508.34</UpperLeftX>
        <UpperLeftY>20037508.34</UpperLeftY>
        <LowerRightX>20037508.34</LowerRightX>
        <LowerRightY>-20037508.34</LowerRightY>
        <TileLevel>19</TileLevel>
    <TileCountX>1</TileCountX>
    <TileCountY>1</TileCountY>
        <YOrigin>top</YOrigin>
    </DataWindow>
    <Projection>EPSG:900913</Projection>
    <BlockSizeX>256</BlockSizeX>
    <BlockSizeY>256</BlockSizeY>
    <BandsCount>3</BandsCount>
</GDAL_WMS>


-Jukka Rahkonen-
________________________________________
Lähettäjä: Rahkonen Jukka
Lähetetty: 24. toukokuuta 2012 18:28
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: Re: [mapserver-users] Mapserver as cascading WMS for ArcGIS Rest?

Hi,

It might be possible to do through GDAL WMS driver. I do not know what ArcGIS 
MapServer Tiles are but they sound somehow promising.

http://www.gdal.org/frmt_wms.html

-Jukka Rahkonen-
________________________________________
Alan Boudreault wrote:

> I don't think so. MapServer only allows wms cascading using the http/wms
> requests.

Alan

On 12-05-23 09:39 PM, Robert Sanson wrote:
>> Is it possible to have a layer in Mapserver pulling data from a ArcGIS Rest 
>> service?
>
> Thanks,
>
> Robert Sanson
>
>
>
>
> This email and any attachments are confidential and intended solely for the 
> addressee(s). If you are not the intended recipient, please notify us 
> immediately and then delete this email from your system.
>
> This message has been scanned for Malware and Viruses by Websense Hosted 
> Security.
> www.websense.com
> _______________________________________________
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


--
Alan Boudreault
http://www.mapgears.com/
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to