[Geomoose-users] ArcGIS Rest Service Feature Server

Dan Little theduckylittle at gmail.com
Wed Feb 13 15:25:48 PST 2019


Kevin,

Would you be so kind as to file a bug on Github to remind me to fix those
rail roads?

Thanks!

On Wed, Feb 13, 2019 at 8:47 AM Kevin Grootendorst <kgrootendorst at gmail.com>
wrote:

> Figured it out - was missing the <style> element!
>
> <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" title="Building_Footprints">
>         <style><![CDATA[
>             {
>                 "line-color" : "#000000",
>                 "line-width" : 1
>             }
>             ]]></style>
>         </layer>
> </map-source>
>
> The layer draws as expected.
>
> 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/20190213/a72a5937/attachment.html>


More information about the Geomoose-users mailing list