@it

'@it' is a free GIS plugin for Grasshopper to parse the geospatial data sets. The plugin @it aims to leverage Open Data, to allow user to make quick visualization to reveal the invisible dimensions, relationship, patterns and trends. 

The main feature is GIS data visualization utilizing spatial data sets in .shp (shape) format. There are three components for the spatial data visualization feature:

shp@it category includes generic GIS tools; supports Point, Line, Polygon vector data format

  • Feat@it: is a look-up component. Input .shp file, Outputs the list of attributes (features) in the given data set and the type of vector data set
  • Import@it:  imports to data into as Grasshopper objects that makes easier to query. Input .shp file, Outputs the shape items as system objects [this component organizes the contents of the data set into system.objects]
  • DataVis@it: Visualizes and filters the data set, input the objects from Imp@it components. Outputs the curves, points, and related filtered attributes.

IshpNYC: These are the NYC specific GIS tools (Open Data, .shp files)

  • Footprint by Borough: Sorts the footprint data set of NYC buildings by borough. 
  • Data Binding: Binds two NYC data sets per common attribute; utilize NYC Tax property and Footprint vector data sets. Outputs shape object has combined attributes and geometry.
  • NYCVis: Visualize and filter the data set, input the objects from Data Binding components.

GeoCoder: Uses Google map api (no plugin needed but u need internet connection)

  • Address Parser: Parses the bad address, returns the formatted addresses and location (latitude , longitude)
  • Street View: Uses Coordinates (latitude , longitude) address parser and return the static street view on the active viewport. 
  • [new] Address Lookup: Reverse Geocoding, returns formatted address from Coordinates (latitude , longitude)

[new] Statistics :

  • [new]Coordinates2Statistics: Uses Coordinates (latitude , longitude) and returns Statistics of specified place such as Population, Elevation, land cover etc.

[new] Open Street Map OSM: Components to parse OSM data, utilizes REST api

  • [new] osm_Trace : Traces OSM and returns features. Projection types UTM or WGS84 
  • [new] osm_3D_Bldgs: Returns 3D geometry of OSM buildings, uses UTM projection and draws in Rhino model units.
  • [new] osm_Bldg_Info: Parse geojson data of OSM buildings, returns features/or tags.

Go to food4rhino page to download the plug-in. 

Load Previous Comments
  • Elcin Ertugrul

    Hi Ben,

    Open data portal periodically update the data sets, I gave a shot on new shp files (published at May 8th), clearly something wrong. I will look into this in detail later at this week. If it is not my end, I will report a bug to Open data.

    Meanwhile, I suggest you to go to website and download the previous data. if you click "More Views" tab you will see previous data published.

    Building Footprint data is especially difficult one to compute the data. Because it includes all NYC buildings, so it has about more then 1 million buildings with its geospatical data + attributes.

    I am planning to release new version of @it, hopefully this week. I have added NYC Open data specific components (IshpNYC) With one of the new component it will be possible to Sort by Borough!

    HEIGHT_ROO is the building height. If you look into description of meta data, it was explain how it is calculated.

    "Building Height is calculated as the difference from the building elevation from theElevation point feature class and the elevation in the interpolated TIN model. This value then is the height of the roof above the ground elevation, NOT its height above sea level.

    Hope this helps,

  • Dimitrios Papadopoulos

    Hi Elcin,

    Everything sounds great!

    Looking forward to using the new components!

    Thanks a lot!

    Dimitris

  • Elcin Ertugrul

    @it v1.3 is out! Go get it while it is hot! go food4rhino @it page to download latest release and the sample file. Enjoy !

  • Dimitrios Papadopoulos

    Hello Elcin,

    Thank you for the new version. 

    I still get this error " Solution ExceptionL Array Dimensions exceeded supported range". Even when using the Manhattan specific component...

    Any ideas?

    Thanks a lot in adavance,

    Dimitris

  • Elcin Ertugrul

    Dimitrious,

    My best guess is this might be related to your system. Are u using 64 bit platform (Rhino) and 64 bit run time ?

  • Dimitrios Papadopoulos

    Hello Elcin,

    I thought so also but everything is 64bit and the PC is quite powerful. (Intel Xeon X5570 2.93GHz (2 processors), 24GB Ram, NVidia Quadro 2000).

    Not sure what the issue could be.

    Dimitris

  • Elcin Ertugrul

    Dimitris,

    It is a very tricky problem!

    Can u do a favor foe me, Can u check this folder if it exists or not 

    C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework

    is there any folder v4.0 or v.4.5 ?

    Thanks,

    -e

  • Dimitrios Papadopoulos

    Nope!

    I have 4.0.1 and 4.0.2 in \.NetFramework and 

    v 3.0 v3.5 in \Framework.

    Thanks

  • Dimitrios Papadopoulos

    Hello Elcin,

    Do you believe that I need to install the v.4.0 and v.4.5 for @it to work?

    Thanks a lot,

    Dimitris

  • Elcin Ertugrul

    Dimitris, I have been still looking on this issue. Sorry I have no answer yet. Do u have a chance to try plug-in at another computer ? I was reached by another user has the same issue. But generally no problem.

    Check first programs and features if you have followings: Microsoft .NET Framework 4.5.1 &  Microsoft .NET Framework Multi_targeting pack

    I think it doesn't hurt we you try to get  .Net Framework 4 and 4.5 installed.  I am adding the links below for your convenience. Please let me know, Thank you

    http://www.microsoft.com/en-us/download/details.aspx?id=17851

    http://www.microsoft.com/en-us/download/details.aspx?id=30653

  • Dimitrios Papadopoulos

    Thank you very much Elcin,

    I ll try installing the latest .NET framework and see if it is fixed.

    Best,

    Dimitris

  • Elcin Ertugrul

    NYC Building Footprints were updated. https://data.cityofnewyork.us/widgets/tb92-6tj8

  • ng5 Alex

    Hello

    really nice work and thank you for the development of @it.

    i am trying to use shape files from athens greece. these have attributes in greek (street names etc) and @it components do not output greek correctly. i am not sure thats case, but i tried to write greek in a panel in grasshopper and message is displayed correctly.

    am i missing something? what can be done to have it ''read'' greek correct?

    thank you in advance for your time.

    cheers

    alex

  • Elcin Ertugrul

    Hi Alex,

    Thank you for using @it,

    The Greek language characters shouldn't be a problem, but I would definitely to look at the code where it might go wrong!

    Would u mind to share the link of the .shp file with me so I can look at the data and improve my Greek :)

    Thanks

  • ng5 Alex

    Hello

    thank you for your quick response. your answer got me thinking, that i assume its Greek that its not showing correctly in the datviz@it Val output.i don't know for sure. the link i downloaded the extract is the following

    https://mapzen.com/metro-extracts/     and i chose Athens,  imposm shp (41.1mb).

    thank you again

    alex

  • Elcin Ertugrul

    Alex,

    Thanks to you, today I have learned a new thing.

    There is a language setting (culture info) for data sets and The data table u sent me the link was created for multiple languages (variant culture settings).

    I have tried a few things but unfortunately I couldn't find the robust solution yet, either application level or my system locale level settings need to be fixed to accommodate multi languages settings. I believe this might be the fix !

    I let u know asap,

  • ng5 Alex

    Thank you for looking into it. i guess it could surface with other languages too.

    i found it strange so i searched through various os settings, in case this was a factor too, that could affect the way fonts-languages are displayed but did not come to any conclusion. got lost with too many possible problems.

    glad it turned out as a ''learn a new thing'' question and that you located the root of this behavior.

    thank you again for your time and effort.

    cheers

    alex

  • Elcin Ertugrul

    Hello everyone,

    It has been almost a year from last release. I have just upload a new release package and sample files to food4rhino page. There are improved and brand new components that I hope you would like to check it out! 

    a spoiler:

  • ng5 Alex

    great new components

  • Elcin Ertugrul

    I was requested to share the time series animations for NYC and Chicago file. Here you go!

    I also just made a video about how to create a slider animation w/@it in Grasshopper. I query a specific attribute into a spatial dataset.  Please refer to same file below. 

    Enjoy !

    atit_NYC_2015-03-30_EE.gh

  • martin kuang

    hi Elcin, i think i got some problem when trying to run the sample_2, when i connect "union square nyc" with address parser, it says: Solution exception:Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.

    i'm sure i didn't miss any file in the folder cause i just put all the files in the "atit" folder in to "Libraries" could you help me?

  • Elcin Ertugrul

    Hi Martin,

    You need to 'unblock' the all files in the @it folder! right click on a file--> properties --> click on unblock button next to Security section ! 

    Actually, your system is blocking every executive files for security reasons. If you unblock them, they will work fine.

    Let me know if something else,

  • martin kuang

    Hi Elcin,

    Thanks for the reply! Actually i checked all the files i got, after uncompressed the file i dowloaded from food4rhino, there's no executive file , and when i right click on the file there's no unblock button, so i guess, could it be that you placed a link towards newtonsoft.json_dll in the c# codes, but the location of the dll files on my computer is different from yours?

  • Elcin Ertugrul

    Martin,

    I have looked my solution so I forgot to copying the dlls. Great catch ! Thank you for letting me know. 

    I will update Food4Rhino download files but meanwhile please get the missing dlls from Net40.zip, just copy into same folder where atit.gha resides. Check if they are unblocked !

  • martin kuang

    Hi Elcin

    Thanks for the reply! the address parser now works fine!

    But the osm buildings component which generate the brep of the 3d buildings gave me an error message.

    ""Solution exception:Object reference not set to an instance of an object.""

    the longitude and the latitude are correct . i cant figure out the problem.

  • Elcin Ertugrul

    Hi Martin, 

    Can u send the screenshot of your definition? Are u using rhino 5 with GH 0.9.0076 ?

  • martin kuang

    Hi Elcin

    yeah, i use rhino5 gh0.9.0076. i use another computer and @it works well, so i think it maybe a problem of my computer -。- thanks for the reply! 

  • Luis Pina Lopes

    Hi @ll,

    I seem to have a problem, since no object or line appear in my @it algorithms...none what so ever.

    What could be going wrong. Even the samples don't show up in rhino (and i have everything uploaded).

    Waiting for help.

  • Elcin Ertugrul

    Hi Luis,

    It is very hard to guess what could go wrong without more specific explanation.  

    Have you followed step by step the instructions of installation that is described at the food4rhino download page ?

    Any component turned into yellow or red color ? what is the warning or error message says ? 

    If there is no error or warning occured, the Datavis component preview might be off. Try to turn review on and zoom in. [see below] You can also type on Rhino command line ZEA (zoom extent all)

    Let me know if the problem persists.

  • lmsc

    Hello @it,

    After several hours searching, I downloaded the only shp file I could find for Washington DC from : http://dcatlas.dcgis.dc.gov/metadata/BldgPly_3D.html

    The file opens in ArcMap and I used that software to export a new shp file with a reduced building selection.

    When feeding either files into your plugin I get the error:

    The original file dates from 2008, any way you can help? I've tried all sorts of methods and nothing seems to work.

  • Brian Ringley

    Hi Elcin, all,

    I'm having a bit of difficulty with @it. 

    Please see the attached Grasshopper file:

    OSMJaySt.gh

    My questions are:

    1. Would it be possible to develop a component to parse lat/lon from an OSM file? This would allow the user to link to an OSM file on disk rather than inputting an address. I think working both ways would be nice.
    2. I'm getting a null value error on the 3D building component - is this a bug, user error, or a bad file?
    3. Why are my results coming in scaled down 1:1000? I'd expect the geometry to appear 1:1. Is this a known issue?

    Thank you for your time!

    Best,

    Brian

  • Elcin Ertugrul

    Brian,

    1. it is a great suggestion Brian, I can add a new component that parses local osm file. it is good to have both options.

    2. I am getting the same error from osm buildings. need more time to identify the problem. osm raw json data changes and C# is not forgiven as much as python. 

    3. bummer! osm-trace doesn't do conversion for now, before u run gh  & open gh file set rhino units to meter! it would match ...

  • Elcin Ertugrul

    hey Brian, hope it is not too late!

    1. now both osm-trace and osm-3d buildings components give an option to input .osm from file ! thank you for the great suggestion. 

    2. some osm buildings returns no content, this was sinking the whole boat. fixed...

    3. I have also fixed the unit conversion bug of osm-trace component.

    Give me a 5-10 minutes so I will update the dlls on the Food4Rhino. 

    Thnks,

  • Brian Ringley

    Thanks Elcin this is great!

  • Elcin Ertugrul

    dear friends of @it,

    You might have already noticed, the osm-3d buildings components currently are not working. I have contacted with one of the developers of OSMBuildings and I was told building request (server) was disabled and they can't tell when it will return.  I have been looking for workaround but it might take a while.  You can still use OSM-Trace component and do an extrusion of buildings polygons with using key tag "Height"

    let me know if u need any further assistance,

    -elcin

  • Sebastian Aguirre

    I can't get my file to import getting the error: "1. Solution exception:Could not load file or assembly 'DotSpatial.Data, Version=1.7.0.0, Culture=neutral, PublicKeyToken=c29dbf30e059ca9d' or one of its dependencies. The system cannot find the file specified."

    I have already made sure @it was unblocked, as well as the file I'm trying to assign, and I'm still getting the same error. I'm running @it_v2.3, from grasshopper, from a 64-bit Rhino 5, that is running as administrator, that is on Windows 7, running on bootcamp, on a Mac.

  • bart ramakers

    Dear Elcin,

    i've got the following problem..

    osm buildings component which generate the brep of the 3d buildings gave me an error message.

    ""Solution exception:Object reference not set to an instance of an object.""

    the longitude and the latitude are correct . i cant figure out the problem.

    I've read allot so i already tried most of the tricks.

    Could you please help me? Thanks!

  • Elcin Ertugrul

    Hi Bart,

    Please see my message on Wednesday below. I kind of find the workaround to fix the problem, but haven't have a chance to revise the code. Planning to make another release soon with new enhancements. 

    "

    dear friends of @it,

    You might have already noticed, the osm-3d buildings components currently are not working. I have contacted with one of the developers of OSMBuildings and I was told building request (server) was disabled and they can't tell when it will return.  I have been looking for workaround but it might take a while.  You can still use OSM-Trace component and do an extrusion of buildings polygons with using key tag "Height"

    let me know if u need any further assistance,

    -elcin "

  • bart ramakers

    Hi Elcin,

    the comment you posted did not had to do something with my problem. I allready had the problem before the OSMbuildings server went disabled. When using shapefiles, the same message kept bugging me. not only on this plugin but HERON told me it as well. a few days ago i stumbled upon an answer. My units in Rhino were set in centimeters instead of meters. i guess this was the problem because the components are working just fine right now.

    thanks for your help and im curious for the new release with enhancements!

    -Bart-

  • Guillaume Meunier

    Here is my script that create 3D without OSMbuildings

    Enjoy

    paris_3D.3dm

    Paris%20en%203D.gh

  • Guillaume Meunier

    BTW there is a small bug

    as you can see, the osm-trace on top as a boolean instead of a numeric for lon_r.

    I don't know which one of osm-trace is the last one

  • Elcin Ertugrul

    Thank you Guillaume, well the bottom component is the last one but apparently I forgot to add last bool input for the projection conversion.

    Yes you can do simple extrusion witch using height attribute, but what I was doing differently is parsing more detailed building masses from OSM buildings database. OSM_3D buildings component parses different roof shapes such as sloped roofs or towers etc. seen as http://osmbuildings.org/?lat=40.73555&lon=-73.9891&zoom=17&...

    I will make revisions and upload Food4Rhino asap. Thank you again for reporting the bug, it is a good catch.

    Cheers.

  • Mark Foxworth AIA, LEED AP

    Hi Elcin,

    I took a workshop from you at The University of Cincinnati last fall which was great, and I'm starting to use @It more and more.  

    I'm wondering if there is a SHX to SHP conversion tool or converter that you know of?  I have several SHP files for different aspects of my city but the master file (which has all the information) is only in SHX format.

    Thanks.

  • Elcin Ertugrul

    Hi Mark,

    .shx file is an index file which is one of the dependency file of the shape file. You need main .shp file to parse, .shx itself doesn't contain data. 

    Shape file is composed of minimum of these three files below, the prefix has to be the same. see example.

    Main file: counties.shp

    Index file: counties.shx

    dBASE table: counties.dbf

    I suggest check your source again whether the main file might be forgotten. Hope this helps, please let me know

    PS: I am almost done with the components that parses geojson file types (other very common gis data type) and converts shape files into kml (google map files)

  • Mark Foxworth AIA, LEED AP

    Elcin,

    Thanks so much, I understand now.  I'll see what I can locate from the administrator.

    Best Regards.

  • Grasshope

    Hi, Elcin,

    It seems the @it import SHP component is unable to read shape file containing only one polygon.

     

    The attached test_b.shp file contains only one polygon and test_b2.shp has two polygons.

     

    However, only the test_b2.shp file can be read correctly by the @it import SHP component.

     

    Can you kindly help to check and confirm this issue?

     

    Thank you!

     

    - Ji

    test_b.ziptest_b2.zip

  • Grasshope

    I'm not sure if Elcin is available now. But can anybody with experience of using the @it GIS components advise on the issue I encountered as posted here: SHP file with only one feature cannot be read correctly?


    Thank you very much!

  • Elcin Ertugrul

    Hi Grasshope, 

    Sorry for the later reply. Yes there is a bug on the shape files importer, likely has a very easy fix. I would like to add more revisions to new version that is why it has been took a while.

    I will try to see whether I can do it at this weekend.

    Thank you for reporting the issue. cheers

  • Michele Calvano

    Hi
    since 2 or 3 hours I have this problem "1. Solution exception:Errore del server remoto: (403) Non consentito.". It seems to be a problem of communication with the API interface...someone know this problem?

  • Elcin Ertugrul

    Hi Michele, 

    There is no street view of the location that you are entering. Try to be more specific give a landmark name such as "Empire States" or any street address! let me know if you are still getting the same error.

    .