0

Below is my code, all variables are defined in the above cells in my Jupyter notebook, it throws no errors, and the Pandas dataframes work but no output is returned. I have all necessary libraries installed, too. I want to save an image within this webmap extent but I can't export even though no error messages appear.

while rowvalue < 1:
    minlongcoord = data.iloc[rowvalue, 3] - 0.001
    maxlongcoord = data.iloc[rowvalue, 3] + 0.001
    minlatcoord = data.iloc[rowvalue, 2] - 0.001
    maxlatcoord = data.iloc[rowvalue, 2] + 0.001
    usecode = data.iloc[rowvalue, 1] #Works until here
    DCMap_Extent = {'xmin': minlongcoord, 'ymin': minlatcoord, 'xmax': maxlongcoord, 'ymax': 
    maxlatcoord}
    printed_file_url = DCMap.print(file_format='JPG', extent=DCMap_Extent)
    Image(printed_file_url)
    rowvalue += 1
1
  • Sharing your full code would be more helpful in understanding your problem.
    – Padmanabha
    Oct 14, 2022 at 4:04

0

Your Answer

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

Browse other questions tagged or ask your own question.