<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic GIS Diven Building.cga and building footprints in ArcGIS CityEngine Questions</title>
    <link>https://community.esri.com/t5/arcgis-cityengine-questions/gis-diven-building-cga-and-building-footprints/m-p/89198#M1226</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am new to CityEngine. I was wondering if&amp;nbsp;someone has GIS Driven Buildings cga? I am building up attributes table and it would ideal to apply a rule which will generate&amp;nbsp;all the buildings within their respective heights and other atrr.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also what is the easiest way to get building footprints. Lidar? Your help would be amazing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Urban Planner from OZ!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Aug 2017 12:35:34 GMT</pubDate>
    <dc:creator>alexiapaterson</dc:creator>
    <dc:date>2017-08-29T12:35:34Z</dc:date>
    <item>
      <title>GIS Diven Building.cga and building footprints</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/gis-diven-building-cga-and-building-footprints/m-p/89198#M1226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am new to CityEngine. I was wondering if&amp;nbsp;someone has GIS Driven Buildings cga? I am building up attributes table and it would ideal to apply a rule which will generate&amp;nbsp;all the buildings within their respective heights and other atrr.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also what is the easiest way to get building footprints. Lidar? Your help would be amazing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Urban Planner from OZ!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 12:35:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/gis-diven-building-cga-and-building-footprints/m-p/89198#M1226</guid>
      <dc:creator>alexiapaterson</dc:creator>
      <dc:date>2017-08-29T12:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: GIS Diven Building.cga and building footprints</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/gis-diven-building-cga-and-building-footprints/m-p/89199#M1227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I´m not the best to talk about CGA rules, but You can find a lot of CGA samples to learn how to create your rules or apply some rules to create buildings from Footprint.Here to samples for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check here&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/cityengine/latest/tutorials/tutorial-16-urban-planning.htm" title="http://desktop.arcgis.com/en/cityengine/latest/tutorials/tutorial-16-urban-planning.htm"&gt;Tutorial 16: Urban planning—CityEngine Tutorials | ArcGIS Desktop&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or download the Project - 05 - Urban Design from CityEngine(see attached)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/368988_explorer_2017-08-29_13-45-20.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And about the best way to get Footprints: LIDAR is a good option but is expensive if you don´t have budget.&lt;/P&gt;&lt;P&gt;Openstreetmap it´s a free alternative&lt;/P&gt;&lt;P&gt;Or create your own Footprint using Satellite images on ArcMap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 12:53:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/gis-diven-building-cga-and-building-footprints/m-p/89199#M1227</guid>
      <dc:creator>Luiz_AmadeuCoutinho</dc:creator>
      <dc:date>2017-08-29T12:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: GIS Diven Building.cga and building footprints</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/gis-diven-building-cga-and-building-footprints/m-p/89200#M1228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a simple code which extrudes footprints by the average height of the building (taken from LiDAR) and then colours the shape:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;## Annotations ##&lt;BR /&gt;@Building_Height&lt;BR /&gt;attr BuildingHeight = 5&lt;/DIV&gt;&lt;DIV&gt;@Range("Gable", "Hip")&lt;BR /&gt;attr RoofType = RandomRoofType&lt;/DIV&gt;&lt;DIV&gt;RandomRoofType = &lt;BR /&gt;&amp;nbsp;35%: "Gable"&lt;BR /&gt;&amp;nbsp;else: "Hip"&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;## Rules ##&lt;BR /&gt;@StartRule&lt;BR /&gt;&amp;nbsp;BuildingShell --&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;cleanupGeometry(all,0.5)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;extrude(world.up, BuildingHeight)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;comp (f) {top : Roof| all : ColourBuilding}&lt;BR /&gt;&amp;nbsp;&amp;nbsp;ColourBuilding&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Roof --&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;case RoofType == "Gable" : GableRoof&lt;BR /&gt;&amp;nbsp;&amp;nbsp;else : HipRoof&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;GableRoof --&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;roofGable(25,0.2) &lt;BR /&gt;&amp;nbsp;&amp;nbsp;ColourRoof&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;HipRoof --&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;roofHip(30, 0.5)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;ColourRoof&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;ColourBuilding --&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;color("#E1E1E1")&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;ColourRoof --&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;color("#9C9C9C")&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;You can link the attribute "BuildingHeight" above to a field in your attribute table; in this case, the attribute table contains a field which has been populated with mean heights for the building footprints.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;You could do the same thing for any number of attributes.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 22:44:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/gis-diven-building-cga-and-building-footprints/m-p/89200#M1228</guid>
      <dc:creator>CaseyBox</dc:creator>
      <dc:date>2017-08-31T22:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: GIS Diven Building.cga and building footprints</title>
      <link>https://community.esri.com/t5/arcgis-cityengine-questions/gis-diven-building-cga-and-building-footprints/m-p/89201#M1229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An easy way to get OpenStreetMap data into CityEngine is to use File -&amp;gt; Get Map Data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some cities, sometimes the building footprints have height data.&amp;nbsp; If this data is present, the ESRI.lib Building_From_OpenStreetMap.cga rule (which is automatically assigned to building footprints downloaded from Get Map Data) will create a building with the specified height.&amp;nbsp; This rule also takes into account these attributes:&amp;nbsp; height, building__levels, roof__height, roof__shape, building__colour, roof__colour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, you can make your own rule that takes into account the attributes that you&amp;nbsp;want to consider.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2017 10:32:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-cityengine-questions/gis-diven-building-cga-and-building-footprints/m-p/89201#M1229</guid>
      <dc:creator>CherylLau</dc:creator>
      <dc:date>2017-10-02T10:32:08Z</dc:date>
    </item>
  </channel>
</rss>

