Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

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

When joining layers the getSelectedExtent function in ArcPy fails to get the extent. Unjoining the layers and running it yeilds the expected result. The joined layers are all located on an SDE. Is this a known issue or is there something I'm missing?

share|improve this question
I would not expect the extent to be determined from the combined files, but rather from the primary file. Have you tried to export to a new file and get the extent from there? – Dan Patterson Dec 16 '11 at 0:35
The joins are to tables that simply add attributes that I'm using as part of a definition query. There is no additional geometry. – amasephy Dec 16 '11 at 2:26

Your Answer


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

Browse other questions tagged or ask your own question.