Tag Info

New answers tagged

1

Simply add the alias in quotes after the column name.


3

you cannot use equal with more than one value use either in or OR to do this "\"STATION_ID\" IN ('CAP', 'DDM')" "\"STATION_ID\" = 'CAP' OR \"STATION_ID\" = 'DDM'" note that I recommand using """ to clarify your strings """ "STATION_ID" IN ('CAP', 'DDM') """


3

As seen in the comments, it was a bug. You can see the bug in the bugtracker. It was fixed in the 2.1.2 release However, being caught by that bug outlined a fundamental issue in our design, and made it possible to realize that the app would not be performing well using such a generic type. I would not advise to use GeometryCollections unless you know ...


0

One way would be to use a relational database where you build the queries, then use those queries from QGIS. If your stuck with shapefile you can join them virtually with the Join tab of the layer properties. If your using QGIS 2.2 you can view the relation as a parent - child relationship in the attribute window.


0

is the problem that 'evt.layers[0].layer' doesn't resolve within the edit initialization function or that you just can't trigger the query when clicking on the map? if the second, check out this blog post/sample code on querying points and polylines by clicking the map. Querying points and lines on click with the ArcGIS JavaScript API ...


0

I would put the list of permittype between brackets otherwise the "and" only combines with permittype = DB. ( "PERMITTYPE" ='RC' OR "PERMITTYPE" = 'RE' OR "PERMITTYPE" = 'RE/AP' OR "PERMITTYPE" = 'DB' ) AND "DATEFILED" >= CURRENT_DATE - 30 AND "COUNTY" IN ( 'BORDEN (TX)', 'GARZA (TX)', 'LYNN (TX)', 'KENT (TX)', 'SCURRY (TX)' )



Top 50 recent answers are included