Select to view content in your preferred language

Features Not All Showing Up

1083
6
Jump to solution
02-27-2013 11:25 AM
MalcolmEchaluce
Regular Contributor
I have a Flex Viewer (2.4) application that I am trying to add some layers to.  I published a map service of these layers but the problem is that only some of the features of the layers are showing up.  With the parcels, for instance, only a few would show up and it's very random which one shows up.  Sometimes none shows up at all.  There are no queries tied to the layer whatsoever for it to only show some randomly. 

Here's a little bit of background.  I am publishing the map service using 10.1.  Right now, I have one layer (parcels) in the map document, but do plan to add more.  The layer is set to not show when zoomed out beyond 1:6,000 and in beyond 1:100.  I have not set any labels and the symbology is ESRI Optimized hollow.  When publishing as a service, I have changed the following and left the rest at default:

Parameters:
Anti-Aliasing: Fastest (and I've tried others as well)

Capabilities:
-Unchecked KML and left Mapping

Pooling:
Minimum number of instances per machine: 0

Processes:
Run instances of this configuration: ....(low isolation)

Has anybody experienced this issue at all?  Please see accompanying image.[ATTACH=CONFIG]22236[/ATTACH]

Please let me know if any of you need more info about my issue.

Thanks in advanced!
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Malcolm,

   If you add it to your viewer as type feature each ArcGIS Server Map Service has a maximum number of records that it returns the 10.x default is 1000 records so this is liekly the situation you are running into. If you use type="dynamic" than you will not have that limitation.

View solution in original post

0 Kudos
6 Replies
RhettZufelt
MVP Notable Contributor
Do you have the same issue in the ArcMap document?

I have seen weird behaviour like this with ArcMap and polygon data.  Normally with self intersections or something causing it to be "corrupt".

Sometimes the repair geometry tool will fix it, other times, I have to create a new feature class, start editing, then copy all the features and paste into the new featureclass, then use this one to build your service.

If not, then not sure what to say other than, good luck,

R_
0 Kudos
MalcolmEchaluce
Regular Contributor
Do you have the same issue in the ArcMap document?


No, the map document is behaving just fine.  All the features show up.  Prior to publishing, I've previewed it and everything shows up fine. 

Thanks for your feedback.  Hopefully someone else out there can provide additional tips.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Malcolm,

   What is the layer type that you are using when you add this to the Viewer?
0 Kudos
MalcolmEchaluce
Regular Contributor
Malcolm,

   What is the layer type that you are using when you add this to the Viewer?


Robert,

It's a feature layer.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Malcolm,

   If you add it to your viewer as type feature each ArcGIS Server Map Service has a maximum number of records that it returns the 10.x default is 1000 records so this is liekly the situation you are running into. If you use type="dynamic" than you will not have that limitation.
0 Kudos
MalcolmEchaluce
Regular Contributor
Malcolm,

   If you add it to your viewer as type feature each ArcGIS Server Map Service has a maximum number of records that it returns the 10.x default is 1000 records so this is liekly the situation you are running into. If you use type="dynamic" than you will not have that limitation.


Thank you, Robert. Changing it to type=dynamic and then adding sublayer to the code worked!

From this:
<layer label="Parcels"  visible="false" type="feature" mode="snapshot" useproxy="false"
    url="http://........./MapServer/0"/>

To this:
<layer label="Parcels"  type="dynamic" visible="false" mode="snapshot" useproxy="false"
    url="http://........../MapServer">
    <sublayer id="0"/>
0 Kudos