Hi Robert,

This works, but renders very slowly. It uses 
https://gdal.org/en/stable/drivers/vector/esrijson.html underneath. 

map2img -m arcgis.map -o map.png

MAP
    NAME "PoolPermits"
    EXTENT -13075816 4014771 -13073005 4016869
    SIZE 400 400
    PROJECTION
        "init=epsg:3857"
    END
    LAYER
        NAME "buildings"
        TYPE POLYGON
        STATUS DEFAULT
        CONNECTIONTYPE OGR
        CONNECTION 
"https://sampleserver6.arcgisonline.com/arcgis/rest/services/PoolPermits/FeatureServer/0/query?resultRecordCount=10&f=pjson";
        CLASS
            STYLE
                COLOR 246 241 223
                OUTLINECOLOR 0 0 0
            END
        END
    END
END

Seth

--
web:https://geographika.net & https://mapserverstudio.net
mastodon: @[email protected]

On Thu, Oct 9, 2025, at 2:47 AM, Robert Sanson via MapServer-users wrote:
> Hi All
>  
> Does anyone have an example of setting up a layer in a Mapfile to cascade an 
> ArcGIS FeatureService REST endpoint?
>  
> Many thanks
>  
> Robert Sanson
> New Zealand
> 
> 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 
> www.asurequality.com or contact AsureQuality Limited for more information, 
> including about our terms of business.
> _______________________________________________
> MapServer-users mailing list
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
_______________________________________________
MapServer-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
  • [MapServer-use... Alistair Everett via MapServer-users
    • Re: [MapS... Seth G via MapServer-users
      • Re: [... Alistair Everett via MapServer-users
        • R... Rousseau Lambert, Louis-Philippe (ECCC) via MapServer-users
          • ... Robert Sanson via MapServer-users
            • ... Seth G via MapServer-users
              • ... Robert Sanson via MapServer-users
        • R... Seth G via MapServer-users
          • ... Alistair Everett via MapServer-users

Reply via email to