arcgis.features.Feature python api query

547
1
Jump to solution
08-06-2019 02:57 PM
MarkMorrison
New Contributor II

What is the proper syntax for a query containing text in the arcgis.features.Feature module using the argis python api?

screenshot from: arcgis.features module — arcgis 1.6.2 documentation 

I want to replace the where statement with something like 'Base = "NAS Fallon"' 

I keep getting the following error. 

Any ideas?

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
MarkMorrison
New Contributor II

Answered my own question...

Drone_fset = Drone_layers2[0].query(where= "Base = 'NAS Fallon'")

worked

View solution in original post

1 Reply
MarkMorrison
New Contributor II

Answered my own question...

Drone_fset = Drone_layers2[0].query(where= "Base = 'NAS Fallon'")

worked