Select to view content in your preferred language

Feature service not animating in map

2803
7
Jump to solution
04-19-2013 01:34 PM
JonathanHaller
Deactivated User
Over the last 2 months when I host a feature service through ArcMap it is not animating when I load it into a map. It is in the TOC, and it zooms to the correct location of the service, but does not animate.

I've been getting by through uploading shapefiles directly.

Any ideas? Probably something silly that I glanced over.
Tags (2)
1 Solution

Accepted Solutions
MikeMinami
Esri Notable Contributor
I don't have access to the service. You need to share it publicly in order for me to see it. However, you can check what I was going to check, which is to see if the service has any features in it at all. There may have been an issue during publishing that didn't get reported to you.

Go to the URL you list.
Scroll to the bottom and click Query
in the Where input box, enter 1=1
Select the option to "return count only"
Click Query (get)

This should tell you how many features are in the service. If there are no features, that's the problem. You would then need to republish.

Thanks,

Mike

View solution in original post

0 Kudos
7 Replies
MikeMinami
Esri Notable Contributor
So you are publishing a feature service from ArcMap to your arcgis online subscription account? If you can share the URL to your feature service we can take a look at it.

Thanks,

Mike
0 Kudos
JonathanHaller
Deactivated User
Yes, from ArcMap to a subscription (just double checked and I do have credits left).

This is one of the service urls.
http://services.arcgis.com/7EoGANEbeep6tdEf/arcgis/rest/services/12T0_130_digitized/FeatureServer/0

I do have a few services where this hasn't happened.
0 Kudos
MikeMinami
Esri Notable Contributor
I don't have access to the service. You need to share it publicly in order for me to see it. However, you can check what I was going to check, which is to see if the service has any features in it at all. There may have been an issue during publishing that didn't get reported to you.

Go to the URL you list.
Scroll to the bottom and click Query
in the Where input box, enter 1=1
Select the option to "return count only"
Click Query (get)

This should tell you how many features are in the service. If there are no features, that's the problem. You would then need to republish.

Thanks,

Mike
0 Kudos
JonathanHaller
Deactivated User
Thank you for looking at my service. I've been held up the last couple days trying to clear my request inbox so I can dedicate some time to this.

You were right, there were no records in the query. It was interesting though because the preview showed the data. So it got me thinking about what environmental or setting conditions I have that would create an error in publishing. So I took the same data and published several different ways. Different name, different editing abilities, different tags, etc. In the end it didn't like the numbers and underscores that I was using in the title. So that's a simple fix.

Thanks for the help.
0 Kudos
MikeMinami
Esri Notable Contributor
So, just by changing the name of the service it worked? What titles were not working for you?

Thanks,

Mike
0 Kudos
JonathanHaller
Deactivated User
In my industry it's very common to have project numbers. So I've been adding them to service names because each project has a 'project location' layer. This lets me keep them all separate.

Here's a generic example. A000_000_project_location or project_location_A000_000. Now if I change it to A000000_projectlocation or projectlocation_A000000, it would be fine. It doesn't matter to me what the naming scheme is, I just want those elements somewhere in there.
0 Kudos
MikeMinami
Esri Notable Contributor
Thanks for the input. We need to be a little more robust in checking names. Behind the scenes, there are other related tables that get created along with the feature service table. In some cases, these names could get too long and fail to create a table. We suspect this is why the data didn't load.  We've written up a work item to investigate this more fully.

Thanks,

Mike
0 Kudos