Map service versus Feature service

3716
7
09-12-2019 08:58 AM
JoseSanchez
Occasional Contributor III

Why should I use a Feature Service  instead of a Map Service  in ArcGIS Online or Portal?

0 Kudos
7 Replies
RobertScheitlin__GISP
MVP Emeritus

Jose,

   Layer hosted on AGOL are all FeatureServices you don't have a choice of MapServices.

0 Kudos
JoseSanchez
Occasional Contributor III

Thanks Robert,

Most of our AGOL Web Maps are based in Map Services.  

What will be the pros and cons of changing them to use Feature Services? 

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Jose,

  FeatureServices just add the ability to edit, which is not possible with a MapService.

0 Kudos
JoseSanchez
Occasional Contributor III

What do you use in your Organization? AGOL Web Maps pointing to Map Services or Feature Services?

Thanks

0 Kudos
BenElan
Esri Contributor

"Besides editing, feature services also provide the option to dynamically set symbology for features at the client side. Map services essentially provide images pre-symbolized at the server side - either as pre-cached tiles or as dynamically generated images made from an exportmap request. Map services can be cached in order for data to render quickly. That's why basemaps are generally cached map services, while feature layers that render on top of basemaps can be either from a mapserver resource or a featureserver resource."

From https://community.esri.com/thread/203601-feature-service-vs-map-service 

0 Kudos
SethLewis1
Occasional Contributor III

This may be a reductive response but who should do the work? Should your ArcGIS Server site instance handle repeated requests for images via the /MapServer endpoint? Or would you like for the geometry to be drawn client side and the user's browser/application to be responsible for handling the processing/rendering of the data?

0 Kudos
by Anonymous User
Not applicable

In my experience, it has been the reverse - featureServices are too slow for almost all my use cases. I usually have a parcel polygon layer with hundreds of thousands of features in it. Despite scale dependency, web Mercator fGDB or SDE with compress and spatial indexing up to date, it still lags, even with hundreds of gigs RAM dozens of cores and n+1 pooling.  I am very excited for when they add feature service 'tiling' to Portal 10.8 or thereabout.  (It was tentative for 10.7.1 or a release soon after per Dev Conf)  It will vector tile in to the mySQL like how it currently does on AGOL to generalize geometry.  That feature alone has sold me on installing Portal. We have a need, a need for speed.  Good point regarding mobile CPU power. I will be excited to see feature service tiling broadly adopted.

0 Kudos