You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a pallet that points to a source feature class that has m- or z-values enabled. SGID10.TRANSPORTATION.UDOTRoutes_LRS is an example of m-values. The roadkill pallet uses this layer.
forklift lift
Expected behavior
The destination feature class should have the m- and/or z-values preserved.
Actual behavior
The m- and z-values are gone. For example, here is SGID10.TRANSPORTATION.UDOTRoutes_LRS:
and here is C:\MapData\transportation.gdb\UDOTRoutes_LRS
Research
We use arcpy.management.CreateFeatureclass(..) when we create the destination feature class:
The docs show has_m and has_z parameters in addition to supporting arcpy.env.outputMFlag. I would have guessed that the default would be to keep whatever the template feature class has but maybe not. I think that setting has_m and haz_z to SAME_AS_TEMPLATE should solve the problem. I'll test it and see.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
SGID10.TRANSPORTATION.UDOTRoutes_LRS
is an example of m-values. The roadkill pallet uses this layer.forklift lift
Expected behavior
The destination feature class should have the m- and/or z-values preserved.
Actual behavior
The m- and z-values are gone. For example, here is
SGID10.TRANSPORTATION.UDOTRoutes_LRS
:and here is
C:\MapData\transportation.gdb\UDOTRoutes_LRS
Research
We use
arcpy.management.CreateFeatureclass(..)
when we create the destination feature class:forklift/src/forklift/core.py
Line 254 in 2612d97
The docs show
has_m
andhas_z
parameters in addition to supportingarcpy.env.outputMFlag
. I would have guessed that the default would be to keep whatever the template feature class has but maybe not. I think that settinghas_m
andhaz_z
toSAME_AS_TEMPLATE
should solve the problem. I'll test it and see.The text was updated successfully, but these errors were encountered: