Using ArcGIS Desktop v10.2 with an Advanced level license we have georeferenced our engineering drawings in PNG format. Next we have created a polygon layer for every single drawing to see the Area of Interest depicted in the drawing. Is there an automated way to bring individual PNG layers by clicking on their respective polygon? I want a simpler way to add the georeferenced PNG into the map without having to use the classic "add layer" tool, where a user has to find the respective layer in their location on the network.

  • 4
    You should edit your question to specify what software, program, API, etc... you're working with. EX: "We're trying to do this in ArcGIS Desktop v10.2 with an Advanced level license" That way people can make sure an answer to the question actually will help you. – John Apr 23 '14 at 19:15
  • 1
    This question may have an answer that could help you. You'll need a .pwg file in order for the PNG to appear in its correct location on the map. gis.stackexchange.com/questions/88813/… – cbunn Apr 23 '14 at 20:48
  • Can you elaborate on what you mean by "bring individual PNG layers by clicking on their respective polygon", please? – PolyGeo Apr 25 '14 at 23:04
  • Have you considered using a mosaic dataset or raster catalog? See: resources.arcgis.com/en/help/main/10.2/index.html#//… – blah238 Apr 29 '14 at 22:16

Here is one possible approach:

  • add a new field to the polygon layer
  • calculate it to hold the path to the image corresponding to each polygon
  • in the layer Properties panel, choose the Hyperlinks option, specifying the new field, and to run a script

enter image description here

  • write a script which uses the AddLayer function, with the path coming from the specified field

This will allow you to add the corresponding image to the map, when clicking on each polygon.

  • I have tried , but my scripts are not working. Do you have a code that you can share? Thanks for your response – Adrian May 2 '14 at 18:31

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.