1

I have project in ESPG:4326 with 2 layers (both in 4326), and map print layout. I've chosen current extent for layout map. Map is centered and prints as I expect.

Next, I access this object via python console

iface.activeComposers()[0].composition().getComposerMapById(0).extent()

And it's not in 4326. For Carlsruhe GE I've got POLYGON(( 932814.23699999996460974 6276112.49500000011175871, 934971.30599999998230487 6276112.49500000011175871, 934971.30599999998230487 6277610.67700000014156103, 932814.23699999996460974 6277610.67700000014156103, 932814.23699999996460974 6276112.49500000011175871))

How could I get CRS of print layout map object extent?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.