Fix NULL type shp creation in tile4ms (#4259)

closes #4259