How can I get in explorer folder window a layer in specify shape?
For example allow:
How can We look, explorer after click INPUT FEATURES, shows a layers only points type.
How can I get validate effect like this?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
Open python toolbox file (.pyt) in any editor. Edit
updateParameters method like this: (I assume that
Input Features is the first parameter, whose index is 0)
def updateParameters(self, parameters): self.params.filter.list = ["POINT"] # or if you want another type, use ["LINE", "POLYGON"] # other lines return
For detailed information: Filter - Help