3d tekniken i vänersborgs kommun - samgis · 2017. 10. 24. · pythonscript # -*- coding: utf-8...

30
3d tekniken i vänersborgs kommun christopher holgersson, 3d-grafiker daniel brattström, gis-ingenjör

Upload: others

Post on 21-Aug-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

3d tekniken i vänersborgs kommun

christopher holgersson, 3d-grafiker

daniel brattström, gis-ingenjör

Page 2: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

visa medborgarna på ett lättöverskådligt

sätt vad vi vill göra

göra det lättare för politiker att fatta

beslut

hjälpa tjänstemän i sitt arbete

varför 3d?

Page 3: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

plantaget

Page 4: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

plantaget

Page 5: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

plantaget

Page 6: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

plantaget

Page 7: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

plantaget

Page 8: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

korseberg

Page 9: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

korseberg

Page 10: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

holmängen

Page 11: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

holmängen

Page 12: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

holmängen

Page 13: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

holmängen

Page 14: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

mitt vänersborg

Page 15: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

mitt vänersborg

Page 16: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

data

Page 17: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

data

Page 18: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

data

Page 19: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

data

Page 20: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

data

Page 21: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

data

Page 22: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

Pythonscript

# -*- coding: utf-8 -*-

import arcpy

from arcpy import env

env.workspace = "E:\TEMP\CHR"

#-- Läs in alla shp filer från mappen

FCs = arcpy.ListFeatureClasses()

#-- Loopa igenom alla shp filer och leta rätt på de som önskas använda

for FC in FCs:

if FC == "BEL2.shp":

#-- Skapa temporära lager av shp filerna

arcpy.MakeFeatureLayer_management(FC, "lager")

elif FC == "NY_grid_2800m_name.shp":

#-- Skapa temporära lager av shp filerna

arcpy.MakeFeatureLayer_management(FC, "Clip")

arcpy.MakeFeatureLayer_management(FC, "Clip2")

#-- Kolla vilka rutor som innehåller data

arcpy.SelectLayerByLocation_management ("Clip", "INTERSECT", "lager")

#-- Loopar igenom igenom varje ruta för att sedan klippa ut datat.

cursor1 = arcpy.SearchCursor("Clip")

for row1 in cursor1:

for index, row1 in enumerate(cursor1):

FID = (row1.getValue("FID"))

data

Page 23: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

3d studio max

Photoshop

After effects

Mitt Vänersborg / VR

visualisering

Page 24: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

visualisering

Page 25: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

rendering

3d material

Page 26: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

rendering

Page 27: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

rendering

Page 28: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

resultat

Page 29: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

framtiden

Page 30: 3d tekniken i vänersborgs kommun - SamGIS · 2017. 10. 24. · Pythonscript # -*- coding: utf-8 -*-import arcpy from arcpy import env env.workspace = "E:\TEMP\CHR" #-- Läs in alla

tack för att ny lyssnade