Skip to main content
Solved

Updating ArcGIS Online Attributes and Not Geometry

  • September 29, 2021
  • 4 replies
  • 157 views

peteratqfes
Contributor
Forum|alt.badge.img+6

Can you update the attributes of a feature without having to upload the geometry to a AGOL hosted feature service?

 

For example, we have a feature service with about 80 features where the geometry for each feature is huge. We want to do daily updates to the attributes and the geometry never changes.

 

There is a work around where you have a non-spatial table and use hosted dynamic joins, but is a little awkward.

Best answer by drc43

This can be done, IF your AGOL hosted feature service is set up to not allow geometry updates (Attribute updates only). When you run the workspace, FME will ignore the geometry and just update the attributes as you have set up on the writer. I'm not sure if this is the right way to do this or not, but it does the job.

 

ignored

View original
Did this help you find an answer to your question?

4 replies

nielsgerrits
VIP

I think this is currently (2021.1) not possible with the AGOL writer. (I think in the SDE writer an option like this exist. Update Spatial: Yes/No)

 

But there are examples using the Python API, like this one, which you can implement using the PythonCaller.

 

Also see Updating features in a feature layer.


drc43
Contributor
Forum|alt.badge.img+11
  • Contributor
  • Best Answer
  • September 29, 2021

This can be done, IF your AGOL hosted feature service is set up to not allow geometry updates (Attribute updates only). When you run the workspace, FME will ignore the geometry and just update the attributes as you have set up on the writer. I'm not sure if this is the right way to do this or not, but it does the job.

 

ignored


nielsgerrits
VIP
drc43 wrote:

This can be done, IF your AGOL hosted feature service is set up to not allow geometry updates (Attribute updates only). When you run the workspace, FME will ignore the geometry and just update the attributes as you have set up on the writer. I'm not sure if this is the right way to do this or not, but it does the job.

 

ignored

Nice one!


peteratqfes
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • September 29, 2021
drc43 wrote:

This can be done, IF your AGOL hosted feature service is set up to not allow geometry updates (Attribute updates only). When you run the workspace, FME will ignore the geometry and just update the attributes as you have set up on the writer. I'm not sure if this is the right way to do this or not, but it does the job.

 

ignored

Thanks for the quick answer.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings