Problem: Zipped shapefiles and CSVs published to ArcGIS Online offset from services published from ArcMap
Zipped shapefiles and CSV files published to ArcGIS Online appear offset from the same features published via ArcMap, when viewing in the ArcGIS Online map viewer.
This issue occurs due to the measurement and coordinate system used in the shapefiles as ArcGIS Online only uses the WGS 1984 Web Mercator (Auxiliary Sphere) coordinate system. The geographic transformation process is only applied during the publishing phase. Hence, when publishing a layer with a different projection, the layers appear offset from the layers published via ArcMap when viewing it in the ArcGIS Online map viewer. The ArcGIS Online map viewer does not support geographic transformations.
Solution or Workaround
The following are some pointers to ensure zipped shapefiles, and CSV files published in both ArcMap and ArcGIS Online do not appear offset when viewed in the ArcGIS Online map viewer.
- For zipped shapefiles
- For CSV files
- Publishing from ArcMap
Note: When a CSV file containing latitude and longitude information is added to a map, the latitude, longitude coordinates are converted to the spatial reference of the current basemap. Hence, users may also publish the layers from ArcMap using any coordinate system, and must ensure the basemap in the map viewer matches the same coordinate system.
- ArcGIS Online Help: Publish a shapefile or GeoJSON file
- ArcGIS Online Help: Considerations for adding CSV and TXT files to the map viewer
- ArcGIS Help: Converting degrees-minutes-seconds values to decimal degree values