Skip to content

Commit

Permalink
Add concatenated street_address to serialized intersection response.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-M-Waldman committed Jul 19, 2017
1 parent 0619320 commit c44a3c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ais/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ def model_to_data(self, intersection):
('type', 'Feature'),
('ais_feature_type', 'intersection'),
('match_type', self.match_type),
('street_address', intersection.street_1_full + ' & ' + intersection.street_2_full),
('properties', OrderedDict([
('int_id', intersection.int_id),
#('intersection_ids', intersection.int_ids),
Expand Down

0 comments on commit c44a3c8

Please sign in to comment.