laptop and a wrench

Bogue

The PointGeometry object projectAs method generates inconsistent output between ArcGIS Desktop geoprocessing tool and geoprocessing service when projecting from WKID 4236 to WKID 3857.

Dernière publication: February 6, 2018 ArcGIS GIS Server
Numéro d’ID de bogue BUG-000110015
EnvoiDecember 6, 2017
Dernière modificationJuly 28, 2020
S’applique àArcGIS GIS Server
Version trouvée10.4.1
Plateforme serveurWindows
Plateforme client2012 R2
StatutKnown Limit

Informations supplémentaires

This is the default projection engine behavior of ArcGIS Desktop and ArcGIS GIS Server, not a geoprocessing service issue. When you use the arcpy function ptGeometry.projectAs(webMercatorSR), there is a second optional parameter transformation_name. This transform name means the datum of a projection. If users provide some value, in addition to re-projecting the outcome coordination (from the first parameter), it also transform the Projection datum (second parameter). On ArcGIS Desktop, when this optional parameter is not given, the default value is none. On ArcGIS GIS Server however, it sets something appropriate for users automatically. This is because the design on ArcGIS GIS Server comes later then ArcGIS Desktop. Also there is no configuration option, such as the Transformation parameter in the Environment GUI of ArcMap, on the server. So projection on the server does that for users instead asking the user to provide it.

Solution de contournement

If users want a consistent result between ArcGIS Desktop and ArcGIS GIS server, replace the above-mentioned line of code with ptGeometry.projectAs(webMercatorSR, "Hu_Tzu_Shan_To_WGS_1984").

Étapes pour reproduire

ID de bogue: BUG-000110015

Logiciel:

  • ArcGIS GIS Server

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement

En savoir plus sur ce sujet