0

I have an issue with feature layers in ArcGIS Online. I am adding an ArcGIS server web service witch creates a feature layer and then i add the feature layer in a web map. There are 11 layers in the feature layer. When i try to open the webmap i get a message that a layer is not responding

layer not responding

misplaced water network

This is a water network map. As you can see the pipes are misaligned and some pipes are missing. When i use the Collector app and download the map for offline use, they get alligned properly and there is nothing missing.

On another instance if i use a map image Layer everything shows up ok. The spatial reference is Greek Grid (2100)

I am using ArcMap 10.4, Arcgis Server 10.4, the service details are as following (for one of the 11 layers)

Layer: ΔΙΚΛΕΙΔΕΣ ΠΕΖΟΔΡΟΜΙΟΥ (ID: 0)
View In:   ArcGIS Online map viewer
Name: ΔΙΚΛΕΙΔΕΣ ΠΕΖΟΔΡΟΜΙΟΥ
Display Field: FACILITYID
Type: Feature Layer
Geometry Type: esriGeometryPoint
Description: This dataset contains a collection of features that represent        the water distribution network in a community.
Definition Expression: N/A 
Copyright Text:
Default Visibility: true
MaxRecordCount: 5000
Supported Query Formats: JSON, AMF, geoJSON
Min Scale: 2000
Max Scale: 0
Supports Advanced Queries: true
Supports Statistics: true
Use Standardized Queries: true
Supports ValidateSQL: true
Supports Calculate: false
Extent:
XMin: 350329.08951833844
YMin: 4373931.874201424
XMax: 373356.6671507545
YMax: 4398354.849961676
Spatial Reference: 2100  (2100)

Drawing Info:Renderer:Simple Renderer:
Symbol:Picture SymbolLabel: 
Description:Transparency: 0
Labeling Info:Label Placement: esriServerPointLabelPlacementAboveRight
Label Expression: [code] 
Use Coded Values: true
Symbol:Color: [0, 0, 0, 255]
Background Color: [233, 255, 190, 255]
Outline Color: [0, 0, 0, 255]
Vertical Alignment: bottom
Horizontal Alignment: left
Right to Left: false
Angle: 0
XOffset: 0
YOffset: 0
Size: 8
Font Family: Arial
Font Style: normal 
Font Weight: normal
Font Decoration: none
Min. Scale: 500.0
Max. Scale: 0.0
Advanced Query Capabilities:
Supports Statistics: true
Supports OrderBy: true
Supports Distinct: true
Supports Pagination: true
Supports TrueCurve: false
HasZ: false
HasM: false
Has Attachments: false
HTML Popup Type: esriServerHTMLPopupTypeAsHTMLText
Type ID Field:
Fields:
too many to display
Templates:
too many to display
Drawing Tool: esriFeatureEditToolPoint
Capabilities: Create,Query,Update,Sync,Delete,Uploads,Editing
Sync Can Return Changes: true
Is Data Versioned: true
Supports Rollback On Failure: false
Supports ApplyEdits With Global Ids: false
Supported Operations:   Query   Apply Edits   Add Features   Update Features         Delete Features   Validate SQL   Generate Renderer   Return Updates

Edit: The misalignment is not constant in all layers.

For example as shown in the image below the main pipes(the last layer) are misaligned whereas the secondary pipes (second from last) are aligned properly varied alignment

Does anyone have a clue?

  • What is the maxRecordCount for the ArcGIS server web service? The default is 1000. Call the service from the web is different that work with collector in offline mode. – lele3p Sep 26 '16 at 11:32
  • MaxRecordCount: 5000 Can the MaxRecordCount affect the alignment? – K.Frantzios Sep 26 '16 at 11:34
  • in the second image how many features you think you are? Press F12 and find the call to the query method. Copy the rest call and open it in a new window. Change the parameter f to html. – lele3p Sep 26 '16 at 11:46
  • Probably more than 5000, but even if i zoom to an extend that only a few features are displayed, the misalingnment is still there. I can post another image if it helps. – K.Frantzios Sep 26 '16 at 11:49
  • If are more than 5000 you must change the maxRecordCount to retrieved all the feature in a particular extent. – lele3p Sep 26 '16 at 11:51
0

I Think the problem is the coordinate system of your ArcGIS server web service. If you use Arcgis Online basemaps your service should also use projection Web Mercator. Look at ESRI's AGOL help, Basemap considerations.

  • As i mentioned in the original question, "On another instance if i use a map image Layer everything shows up ok." I have created a Webapp using the image layer and there is no problem. The problem occurs when i use a feature service. Am i missing something? – K.Frantzios Sep 26 '16 at 12:03
  • 1
    "On another instance if i use a map image Layer everything shows up ok." Are you using this image Layer as a basemap or added on top of AGOL basemaps? – BERA Sep 26 '16 at 12:11
  • It is added on top of AGOL Basemap. I can post an image if it helps – K.Frantzios Sep 26 '16 at 12:24
  • Which basemap are you using in Collector app? – BERA Sep 26 '16 at 13:14
  • Topographic basemap, but it really doesn't matter, I have also used imagery – K.Frantzios Sep 26 '16 at 13:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.