[Geomoose-users] ArcGIS Rest Service Feature Server

Kevin Grootendorst kgrootendorst at gmail.com
Tue Feb 12 19:31:17 PST 2019


Thanks for the feedback.  I've come up with a alternative <map-source>
based on the example:
<map-source name="ags4" type="ags-vector">
        <url>
https://services1.arcgis.com/mSGV2hCLXHNsfQqK/arcgis/rest/services/Building_Footprints/FeatureServer/0/
</url>
        <layer name="Building_Footprints" />
    </map-source>

My GET request is OK, however *no* features are drawn.
I left out <param name="FORMAT" value="json" /> as it seems to have no
impact (I assume it must default to a json format).
I wondered if it could be a projection issue? My mapbook is referenced to
EPSG:3857, while the REST service is has the code

"spatialReference":{"wkid":102100,"latestWkid":3857}

so I assume it's not the projection that's the problem.

On another note, the ' AGS Dakota County Rail' layer in the website DEMO
does not work. When I turn on that layer, the screen goes blank and the
demo stops working altogether.

Kevin

On Tue, 12 Feb 2019 at 18:15, Dan Little <theduckylittle at gmail.com> wrote:

> Also, checkout the example in the Mapbook! There is a an example using
> rail roads that is fed by an AGS Rest service.
>
> On Tue, Feb 12, 2019 at 5:14 PM Dan Little <theduckylittle at gmail.com>
> wrote:
>
>> Change the type to ags-vector.
>>
>> On Tue, Feb 12, 2019 at 4:09 PM Kevin Grootendorst <
>> kgrootendorst at gmail.com> wrote:
>>
>>> Hello,
>>> Has anybody had success in incorporating a layer from a Feature Service?
>>>
>>> <map-source name="ags4" type="wfs">
>>>         <url>
>>> https://services1.arcgis.com/mSGV2hCLXHNsfQqK/arcgis/rest/services/Building_Footprints/FeatureServer/0/query
>>> </url>
>>>         <layer name="Building_Footprints"/>
>>>         <param name="outputFormat" value="application/json"/>
>>>     </map-source>
>>>
>>> I've tried various configurations of the above code. Using the browser
>>> debugger in Firefox, I either get no response or a bad request.
>>> Using GM 3.2.1
>>>
>>> Thanks, Kevin
>>> _______________________________________________
>>> Geomoose-users mailing list
>>> Geomoose-users at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/geomoose-users
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20190212/695a04b5/attachment.html>


More information about the Geomoose-users mailing list