1-Converting vector formats
1-Converting vector formats
Then we'll get this JSON to features, conversion toolbox. Then put the input JSON. I'm just going
to go ahead and click on the folder, and navigate to where I know that datastore. I actually put
the file inside the data folder for the projects and here it's. Go ahead and click Ok. Then I'm going
to change the output location. I just want to make sure that it's in the geodatabase that we have
set up for the projects. I'm just going to name this BuildingFootprint. I know what it is. Then hit
Save. Then I'll go down here and hit the Run button down in the corner here where it says run. I'll
go ahead and click on that. Just depending on how your computer is set up, it may take a couple
of minutes for this process to finish. Just be patient, and I'm going to go ahead and pause the
video until it completes. All right, everyone, it looks like the tool finally finished. What we've been
able to successfully do here is we import it out from a GeoJSON file into ArcGIS feature class,
open a file geodatabase. Do you see what this dataset actually looks like here? Go ahead and
zoom in to New York and Manhattan just so you can see the outlines of the BuildingFootprint.
Well, this is a great data to look at. It's actually a lot of buildings that might be a little
cumbersome for us to use to do any type of analysis. Now for our next step, we're going to go
ahead and convert these polygons into points by using a tool.
Let me go back to the Analysis tab in the tools, we'll still keep up with the Geoprocessing tab
here. We can search for point. Not seeing here. There's a lot of different file type formats in the
following points, so we'll do called feature to point. That's the specific tool everyone. What this
will do is take any type of input feature class that you have and convert it into a point layer. I'm
going to select the BuildingFootprint. Then for my output location, I'm going to say in the same
file, geodatabase, I'm going to call this BuildingPoints, let's say. Then I'm going to go ahead and
check the inside box here. This is just an interesting thing. Like I said before, during the
presentation materials, the centroid point.
Then I would go ahead and click Run on that from that tool here. Prove the same before about
the concept of a centroid, and it being like the middle of a polygon. Sometimes you can have
polygons which have a unique shapes. It's like a crescent moon or even like a circular ring, or
any shape where the calculated middle of it actually doesn't fall inside the polygon. If you have
this box checked on inside, it'll place the point guaranteed within the polygon. Whereas if it's
checked or it's not checked, then it could actually place the point outside the polygon, even
though it's technically, but the calculated middle of the polygon. What we have here now, so that
the process is complete and now we have a series of points that represent the BuildingFootprint
areas too.