Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have crated a model that iterates GPX-files from a folder and works through it and gives me a raster as output with pixel values after how many tracks passes through each pixel.

This works the way I want it to(except it's quite slow).

What i want is to add a function to my model, now it creates one combined raster from every input GPX file, but in addition I want it to do the same just only for each month.

every polyline feature has an attribute field called "Month" with values 1-12 after which month it was created.

Here is the model so far: enter image description here

I'm thinking that the last par of the model, from "Polyline to Raster" and out, needs to be copied for each month, and with some type of "select by attributes" I can manage to create rasters from specific months.

the problem is that I don't know how to select the polylines by attributes and get them in to a new string on the model.

this is kind of what I think it might look like: enter image description here attached one string for February and one for January, and its this select by attributes step i need help with.

Simplified models where the first will make rasters from the whole year, while the second picture tries to illustrate me wish of getting the different month in to separate outputs in the model for use in seperate tools: enter image description here enter image description here anyone? Thanks for your time!

share|improve this question
Are you able to get the part you are stuck with out into a test model, and then present that here rather than your two larger models (with lots distracting details) so that we can focus in on where you are stuck? – PolyGeo Apr 4 '14 at 10:22
hope this helps! – Einar Apr 4 '14 at 15:12
This question has been asked and answered on the ESRI thread here. – Hornbydd Apr 6 '14 at 21:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.