View difference between Paste ID: H3TpXvvT and 61LSeMWv
SHOW: | | - or go back to the newest paste.
1-
import sys
1+
2-
import os
2+
3-
from qgis.core import *
3+
4-
import matplotlib.pyplot as plt
4+
5-
from matplotlib.path import Path
5+
6-
import matplotlib.patches as patches
6+
    if feat.geometry().contains(point):
7-
7+
      return feat.id()