[Geomoose-users] ArcGIS Rest Service Feature Server

Kevin Grootendorst kgrootendorst at gmail.com
Wed Feb 13 17:28:25 PST 2019


I've opened an issue.  Never done this before, so hopefully it was done
right.
Cheers,
Kevin

On Wed, 13 Feb 2019 at 18:26, Dan Little <theduckylittle at gmail.com> wrote:

> 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/368c3a7c/attachment.html>


More information about the Geomoose-users mailing list