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?

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Oct 21, 2013 at 9:27

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.

answered Oct 21, 2013 at 9:55
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. Commented 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. Commented 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 Commented Oct 21, 2013 at 10:26

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.