Street network and boundary shapefiles question

180
1
10-18-2019 03:03 PM
Juan_AlejandroGarc_a
New Contributor

Hello,

 

So I am trying to do this: GitHub - mittrees/Treepedia_Public: Treepedia package for public use 

 

Iam stuck at the first step that says that "With the street network and boundary shapefile for your city as input...". That should be understood as that you have 2 separate shapefiles, one in the line feature and one for the polygon feature. But, when I go to the python code, the input file is just a shapefile.

 

inshp = os.path.join(root,'CambridgeStreet_wgs84.shp')

 

So, I know this forum is for GIS, no Python, but my question is, what do you guys think that the developers are trying to say with the first part of the procedure? Is there a possibility to merge the to feature classes?

 

Thanks!

0 Kudos
1 Reply
by Anonymous User
Not applicable

I would recommend posting an issue about this in the GitHub repo. It would not be possible to merge a Line Feature Class with a Polygon Feature Class because of the difference in geometry types. For what it's worth it seems like the script is intended to use the street network shapefile. 

Hope that helps,

-Peter

0 Kudos