2

I have roughly 30 predictor variables in raster and two polygon shapefiles format that I am trying to extract values from for a given response variable coordinates.

I have already done the following:

  1. reprojected all data into same projection (GDA 1994)
  2. resampled all rasters to have same resolution

Now my specific question is as follows:

What function will allow me to extract values from all the predictor variables for given coordinates and output into a .csv file?

Just to be clear, the following is the output format I need:

X Y Insect.Abundance Predictor.1 Predictor.2 .... Predictor.x

My predictor variables are in rasters and polygons. What I want to do is extract a value for each X Y point provided by my response variable. I have not done anything with the polygons besides check for correct projection.

user2856
73.9k7 gold badges123 silver badges207 bronze badges
asked Jun 26, 2018 at 2:32
0

1 Answer 1

2

There is no function to do this in one go.

You need to create a point feature class from your coordinates. Then use the Extract Multi Values to Points (Spatial Analyst) tool to sample the values for the rasters. Then use the Spatial Join tool to get the values from the polygons into the point feature class. Then export your point attributes to a CSV.

answered Jun 26, 2018 at 3:09

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.