Skip to content

Commit

Permalink
#1123 special where clause for address_point layer
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielwol committed Jan 6, 2025
1 parent 3f52764 commit 1ca1d5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gis/gccview/gcc_puller_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ def get_data(mapserver, layer_id, max_number = None, record_max = None):
# Exception if the data we want to get is centreline
if mapserver == 'cot_geospatial' and layer_id == 2:
where = "\"FEATURE_CODE_DESC\" IN ('Collector','Collector Ramp','Expressway','Expressway Ramp','Local','Major Arterial','Major Arterial Ramp','Minor Arterial','Minor Arterial Ramp','Pending', 'Other')"
elif mapserver == 'cot_geospatial27' and layer_id == 41:
where = "OBJECTID>0"
else:
where = "1=1"

Expand Down

0 comments on commit 1ca1d5e

Please sign in to comment.