0

I'm running model that processes line features into a raster, and I'm using a raster to point tool to further sieve the result.

When the model hasn't run yet, these are the tool parameters: enter image description here

As you can see, the result is as a GDB feature class, and everything work perfectly.

Yet after running the tool once, the output now has a .shp appended to it, and since it's written in a gdb, it obviously throws an error.

enter image description here

Is there a way to override this or is it a bug?

This is the only tool that does so in a model with more than 150 tools.

8
  • The %ver% is not inserting a \ ?
    – BERA
    Aug 4 '16 at 6:17
  • @Björn No, its a variable that I add to all the outputs to track the versioning, it's a project still in work.
    – HDunn
    Aug 4 '16 at 6:20
  • A roundabout solution could be to allow it to create a temporary shapefile and then copy features to a feature class in your geodatabase Aug 4 '16 at 9:21
  • What would %ver% typically hold? May be it is an invalid character like a space so the tool is defaulting to a shapefile which would allow such characters?
    – Hornbydd
    Aug 4 '16 at 12:03
  • @Hornbydd a two digit number
    – HDunn
    Aug 4 '16 at 12:10
1

I'm having the same problem with a model I created in 10.3.1. My model iterates through a bunch of tile boundary feature classes residing in a file GDB and uses each tile as an extent to contour a DEM. In 10.4 the contour tool appends a .shp to the end of my feature class name and throws an error. It doesn't happen in 10.3.1, so I'm guessing its a pesky bug.

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.