<!DOCTYPE html><html><head><title></title><style type="text/css">#qt p.qt-MsoNormal{margin-top:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:0cm;font-size:12pt;font-family:"Aptos", sans-serif;}

</style></head><body><div>Hi Robert,</div><div><br></div><div>This works, but renders very slowly. It uses <a href="https://gdal.org/en/stable/drivers/vector/esrijson.html">https://gdal.org/en/stable/drivers/vector/esrijson.html</a> underneath. </div><div><br></div><div>map2img -m arcgis.map -o map.png</div><div><br></div><div>MAP</div><div>    NAME "PoolPermits"</div><div>    EXTENT -13075816 4014771 -13073005 4016869</div><div>    SIZE 400 400</div><div>    PROJECTION</div><div>        "init=epsg:3857"</div><div>    END</div><div>    LAYER</div><div>        NAME "buildings"</div><div>        TYPE POLYGON</div><div>        STATUS DEFAULT</div><div>        CONNECTIONTYPE OGR</div><div>        CONNECTION "<a href="https://sampleserver6.arcgisonline.com/arcgis/rest/services/PoolPermits/FeatureServer/0/query?resultRecordCount=10&f=pjson">https://sampleserver6.arcgisonline.com/arcgis/rest/services/PoolPermits/FeatureServer/0/query?resultRecordCount=10&f=pjson</a>"</div><div>        CLASS</div><div>            STYLE</div><div>                COLOR 246 241 223</div><div>                OUTLINECOLOR 0 0 0</div><div>            END</div><div>        END</div><div>    END</div><div>END<br></div><div><br></div><div>Seth</div><div><br></div><div id="sig62266145"><div class="signature">--</div><div class="signature">web:<a href="https://geographika.net">https://geographika.net</a> & <a href="https://mapserverstudio.net">https://mapserverstudio.net</a></div><div class="signature">mastodon: @<a href="mailto:geographika@mastodon.social">geographika@mastodon.social</a></div></div><div><br></div><div>On Thu, Oct 9, 2025, at 2:47 AM, Robert Sanson via MapServer-users wrote:</div><blockquote type="cite" id="qt" style="overflow-wrap:break-word;"><div class="qt-WordSection1"><p class="qt-MsoNormal"><span class="size" style="font-size:11pt;">Hi All</span></p><p class="qt-MsoNormal"><span class="size" style="font-size:11pt;"> </span></p><p class="qt-MsoNormal"><span class="size" style="font-size:11pt;">Does anyone have an example of setting up a layer in a Mapfile to cascade an ArcGIS FeatureService REST endpoint?</span></p><p class="qt-MsoNormal"><span class="size" style="font-size:11pt;"> </span></p><p class="qt-MsoNormal"><span class="size" style="font-size:11pt;">Many thanks</span></p><p class="qt-MsoNormal"><span class="size" style="font-size:11pt;"> </span></p><div><p class="qt-MsoNormal"><span lang="EN-US" style="color:black;letter-spacing:-0.1pt;"><span class="font" style="font-family:"Arial", sans-serif;"><span class="size" style="font-size:10pt;">Robert Sanson</span></span></span></p><p class="qt-MsoNormal"><span lang="EN-US" style="color:black;letter-spacing:-0.1pt;"><span class="font" style="font-family:"Arial", sans-serif;"><span class="size" style="font-size:10pt;">New Zealand</span></span></span><span class="size" style="font-size:11pt;"></span></p></div></div><div><br></div><div><span style="text-decoration-color:currentcolor;text-decoration-line:none;text-decoration-style:solid;text-decoration-thickness:auto;"><span class="font" style="font-family:Arial;"><span class="size" style="font-size:8pt;">This email, including any attachments, may contain information which is confidential or subject to copyright. If you are not the intended recipient, please notify us immediately and delete
 this email from your system. Email communications are not secure and are not guaranteed by AsureQuality Limited to be free of unauthorised interference, error or virus. Anyone who communicates with us by email is taken to accept this risk. Anything in this
 email which does not relate to the official business of AsureQuality Limited is neither given nor endorsed by AsureQuality Limited. Please refer to <a href="https://www.asurequality.com">www.asurequality.com</a> or contact AsureQuality Limited for more information, including about our terms of business.</span></span></span></div><div>_______________________________________________</div><div>MapServer-users mailing list</div><div><a href="mailto:MapServer-users@lists.osgeo.org">MapServer-users@lists.osgeo.org</a></div><div><a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a></div><div><br></div></blockquote><div><br></div></body></html>