Skip to content

Commit

Permalink
Don't default to ocean for other shp/geojson
Browse files Browse the repository at this point in the history
  • Loading branch information
systemed committed Jan 18, 2024
1 parent 333316b commit c490b5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/process-openmaptiles.lua
Original file line number Diff line number Diff line change
Expand Up @@ -659,8 +659,10 @@ function attribute_function(attr,layer)
return { subclass="ice_shelf" }
elseif attr["featurecla"]=="Urban area" then
return { class="residential" }
else
elseif layer=="ocean" then
return { class="ocean" }
else
return attr
end
end

Expand Down

0 comments on commit c490b5c

Please sign in to comment.