Open timlinux opened 4 years ago
hi @NyakudyaA could you give me the example of cql filter for building type and road type, please?
@ann26
&cql_filter=roads_id IN (2,13) etc
where roads id corresponds to those types. Do not include the type false.
&cql_filter=building_id in (10,3) etc
http://staging.fbf.kartoza.com/geoserver/wms?service=WMS&request=GetMap&layers=kartoza:exposed_buildings&styles=&format=image/png&transparent=true&version=1.1.1&srs=EPSG:3857&cql_filter=building_id IN (3,4,5,6,7,8,9,10,11,12,13,14) AND flood_event_id=212 AND village_id=3603081006 AND depth_class=3&width=256&height=256&bbox=11871587.737027295,-705666.6451287476,11872810.729479859,-704443.6526761842
Hi @ann26 it seems the building_id that is in that column is not the correct one. I have modified it to call it building_class_id
can you try it. Please let me know if it is the same with roads
yes sorry @NyakudyaA I checked again after writing my comment, I use building_type and that was working, I will try that too. Thank you.
yes sorry @NyakudyaA I checked again after writing my comment, I use building_type and that was working, I will try that too. Thank you.
yes, building type will work as well, but I think to increase the efficiency of a search it's better to do it against the number. The difference might be so small in the context of the kind of data we are showing
In the chart we need a checkbox to the right of each label that when checked will hide/show buildings or roads of that class
If we cant put the widgets directly in the chart, propose a different user experience that is intuitive