1

I am completely new at gis but I have to make an add in to work with arcmap to make it zoom to a place I want it to go. (I use a textfield in a php website to tell where to go in arcmap) Is there a zoom function I can use in my case?

1 Answer 1

1

Depending on what input data you have (coordinates, street address, city name etc), you might try different approaches.

  1. Develop a .NET/Java based ArcMap add-in or Python Add-in where a user will enter a certain place (in the form you define beforehand), and the current map extent will be updated.

  2. If you are fine doing this in several steps without custom programming - consider using ModelBuilder or writing a Python script tool to let user enter coordinates/place name and then implement a logic that will geocode the address or put a pin on the map. Then the user will use a built-in tool for zooming to this object.

  3. If it is coordinates, then use might just use the Go to XY tool.

3
  • I think I have to use the XY tool but it has to automatically zoom to the x and y coordinates when I press a button in my php.
    – Loko
    Oct 21, 2013 at 9:58
  • 1
    I don't really follow you on what you mean by "press a button in my php". You could maybe edit your question or add a comment with some information? There is no way to make ArcMap do something when you are in some website (it is a desktop application). If you want something to happen in your ArcMap session while you interact with a web site, you would need to start using some client-server logic, which is really a different story. Oct 21, 2013 at 10:07
  • I mean the webbrowser toolbox tool in C#, i want it arcmap to react to the webbrowser toolbox tool
    – Loko
    Oct 21, 2013 at 10:26

Your Answer

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

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