Created
April 30, 2015 10:31
-
-
Save tjmgis/363d2aba65a318a8c6fc to your computer and use it in GitHub Desktop.
New Cartographic Symbol SQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER TABLE osmm_topo.cartographicsymbol ADD COLUMN style_description VARCHAR; | |
COMMIT; | |
ALTER TABLE osmm_topo.cartographicsymbol ADD COLUMN style_code INTEGER; | |
COMMIT; | |
UPDATE osmm_topo.cartographicsymbol SET (style_description, style_code) = ('Culvert', 1) WHERE style_code IS NULL AND featurecode = '10091'; | |
COMMIT; | |
UPDATE osmm_topo.cartographicsymbol SET (style_description, style_code) = ('Direction Of Flow', 2) WHERE style_code IS NULL AND featurecode = '10082'; | |
COMMIT; | |
UPDATE osmm_topo.cartographicsymbol SET (style_description, style_code) = ('Boundary Half Mereing', 3) WHERE style_code IS NULL AND featurecode = '10130'; | |
COMMIT; | |
UPDATE osmm_topo.cartographicsymbol SET (style_description, style_code) = ('Bench Mark', 4) WHERE style_code IS NULL AND featurecode = '10066'; | |
COMMIT; | |
UPDATE osmm_topo.cartographicsymbol SET (style_description, style_code) = ('Railway Switch', 5) WHERE style_code IS NULL AND featurecode = '10165'; | |
COMMIT; | |
UPDATE osmm_topo.cartographicsymbol SET (style_description, style_code) = ('Road Related Flow', 6) WHERE style_code IS NULL AND featurecode = '10177'; | |
COMMIT; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment