0

There is a similar question Access QGIS Topology Checker from Python, however this user was wanting to run the topology tool while I want to import certain rules. For example in arcgis

arcpy.AddRuleToTopology_management(for_validation, "Must Not Self-Overlap (Line)", nfc)

I saw this question about accessing qgis plugins from python. So I know I need to import the module, but I'm unsure the name of the module, or if it is written in C++ so importing into python directly is not possible.

1

Unfortunately it's not possible (as of 3.0) - that functionality isn't exposed to the python bindings.

  • Is it possible in 2.18? – Mary Johnson Apr 21 '18 at 0:10
  • No, I mean it's not possible up to 3.0 (but for future reference it may have been added in a later version) – ndawson Apr 21 '18 at 0:13
  • Oh I see. I'll post a follow up question in a separate thread then seeing if I could scratch write a code for same functionality. – Mary Johnson Apr 21 '18 at 0:16

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.