What I need to the publish an Near Analysis model which accept X,Y or Lon,Lat as input.

Unfortunately, the input of Near Analysis should be features like point or line(Not a pair of number). The following shows the definition of Near Analysis.

enter image description here

  • Welcome to GIS SE. As a new user please take the Tour. Converting coordinates to points would be the obvious solution. Please edit the question to specify what you have tried and ask an explicit question. – Vince Jul 24 '17 at 5:19
  • @Vince is there any model that can convert coordinates to points? – dongx Jul 24 '17 at 5:30
  • Please edit the question to ask your question. Comments are reserved for requests for clarification. – Vince Jul 24 '17 at 7:34
  • @Vince I just edited the question. Could you pls teach me how to convert a x,y or lat, lon pair to a point feature in order to use near analysis? – dongx Jul 26 '17 at 3:06

For ArcGIS this link should help you: How To: Import XY data tables to ArcMap and convert the data to a shapefile

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.