Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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 two feature classes.

  1. Point feature of hand-sampled GPS locations
  2. Line feature of terrace walls digitized from aerial photograph.

sample points and terrace walls

Because of the less than perfect ways I generated these features, I need to allocate each GPS point to the nearest terrace wall from which I sampled it.

I defined the Input as the Point Feature, and the near feture as the terrace lines.

near tool

But the process fails to generate results. If it's a Near Table, then it's an empty one, and when I use the Near Tool itself on the point feature, it adds two fields with -1 in them.

Point feature with -1

When I run the tool on the features in an opposite way, it does generate results, and for every terrace walls gives me the nearest point - obviously, not what I'm looking for.

Any idea why the process fails?

share|improve this question
Are the projections defined and the same for both layers? – JeremyFon Jun 6 '13 at 15:03
Yes they are. Like I said, doing it the other way round worked fine. – HDunn Jun 6 '13 at 16:40
up vote 1 down vote accepted

I can see that you have tried the Near tool but what is not clear is the search radius that you have used.

Expand the tool dialog by dragging its corner (or use the scroll bar) to see what it is defaulting to and then try increasing it because:

The values for NEAR_FID and NEAR_DIST will be -1 if no feature is found within the search radius.

share|improve this answer

Your Answer


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

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