Using ArcGIS 10.6 I am trying to project a shapefile data from Here street data-set in GCS WGS 1984 to WGS 1984 Web Mercator Auxiliary Sphere. While the original data has an attribute like

enter image description here

it changes the POINT_NUM and Z_LEVEL data type from Short Integer to Long Integer

enter image description here

Can you please let me know why this is happening and how I can prevent it?

1 Answer 1


To try and reproduce your problem, using the same two coordinate systems as you on some test data that I created, I ran the test code below:

import arcpy
srWGS84 = arcpy.SpatialReference("WGS 1984")
srWebMerc = arcpy.SpatialReference("WGS 1984 Web Mercator (auxiliary sphere)")
                               "0 0","0 1","1","1","1","1",

The Short Integer field that I added remained as a Short Integer after running the Project.

Consequently, I am unable to reproduce what you are describing. If you cannot produce your unexpected result when running my test, I suggest that you investigate how the shapefile which you do see the unexpected result on was created.

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.