-3

I am running ArcGIS 10.2 Desktop

Several different models I have built and tested successfully previously are demonstrating the same problem. They appear to execute slightly to the South of the indented location.

All the tools work by taking several shapefiles, converting them to rasters as defined by an extent raster, and then doing some "stuff" to the rasters before outputting a single results raster.

The image shows one of the examples the red polyline file and the green polygon file should be processed within the boundaries of the blue raster. The actual result in black is slightly below.

I have checked the spatial reference of all the inputs and the data frame and they are all the same. So I am perplexed as to why this is happening.

As I said all the models work on other datasets that I have used. I have gone back and done some test runs and the models are fine. I suspect it is something to do with the input data but I don't know what to check for. I get no warning or error messages when running the models.

Example of Problem

closed as off-topic by PolyGeo Dec 3 '15 at 3:06

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Coding questions without code are impossible to answer. It doesn't help when the "blue raster" does not appear to exist. – Vince Nov 28 '15 at 17:04
  • 1
    @falcs Have you same projection? – GeoStoneMarten Nov 28 '15 at 18:26
  • 1
    I found that modification of spatial extent and cell size inside script are ignored by spatial analyst tools. I had to fix them manually in mxd – FelixIP Nov 28 '15 at 20:02
  • @Vince the blue rasters is the big light blue rectangle in the middle of the picture. This is not a coding question, as I said in the code works correctly in other cased and the problem occurs on many different pieces of code. It must be something to do with the input data. – falcs Nov 29 '15 at 10:21
  • @GeostoneMarten yes all the layers have the same projection – falcs Nov 29 '15 at 10:22
1

Have you looking for This subject handling projections during analysis

0

I found the solution, the tool was using the wrong extent raster. This seems to be a fault with ArcGIS because the input I provided was correct, and it was the the one that appeared in the log file. However, when I renamed another file the tool started using the raster specified rather than the one it had been using.

  • Sounds to me like this was a PEBCAK error. – Adam Nov 29 '15 at 23:17

Not the answer you're looking for? Browse other questions tagged or ask your own question.