Select to view content in your preferred language

Count Trips in Polygon Buffers Around Stops

420
1
Jump to solution
02-26-2020 03:28 PM
DanielGinder
New Contributor

Can't seem to get the data to pre-process. I am using GTFS bus data supplied by NJT. Anyone familiar with this error or what is happening?

0 Kudos
1 Solution

Accepted Solutions
MelindaMorang
Esri Regular Contributor

As you can see from the error traceback, the BetterBusBuffers tool is failing when it runs the FeatureToPolygon tool.  This is one of several internal steps that the BetterBusBuffers tool does. The tool calculates Service Area polygons around all the transit stops and then post-process those polygons using several other geoprocessing tools, including FeatureToPolygon.  For some reason, this tool is not able to run successfully on the inputs it's getting from the Service Area polygons.  My guess is that the geometry created by the Service Area polygons has something degenerate in it that is causing geometry errors later.

I think the only option you really have is to change the BetterBusBuffers tool settings so that the Service Area polygon geometry is different, with the hopes that the degenerate polygons go away.  Here are some ways to do impact the output polygon shapes:

- Run the analysis in ArcGIS Pro (Pro uses a newer and better polygon generation algorithm)

- Use a different network dataset

- Use different network analysis settings (impedance attribute or restrictions)

- Use a different buffer size

- Use a different polygon trim

If you have access to ArcGIS Pro, that would be the best thing to try first since you can maintain all of your other analysis settings.

If not, adjusting the polygon trim is probably the simplest and will impact your analysis results the least.  It might not resolve the issue, but it's worth a try.

View solution in original post

0 Kudos
1 Reply
MelindaMorang
Esri Regular Contributor

As you can see from the error traceback, the BetterBusBuffers tool is failing when it runs the FeatureToPolygon tool.  This is one of several internal steps that the BetterBusBuffers tool does. The tool calculates Service Area polygons around all the transit stops and then post-process those polygons using several other geoprocessing tools, including FeatureToPolygon.  For some reason, this tool is not able to run successfully on the inputs it's getting from the Service Area polygons.  My guess is that the geometry created by the Service Area polygons has something degenerate in it that is causing geometry errors later.

I think the only option you really have is to change the BetterBusBuffers tool settings so that the Service Area polygon geometry is different, with the hopes that the degenerate polygons go away.  Here are some ways to do impact the output polygon shapes:

- Run the analysis in ArcGIS Pro (Pro uses a newer and better polygon generation algorithm)

- Use a different network dataset

- Use different network analysis settings (impedance attribute or restrictions)

- Use a different buffer size

- Use a different polygon trim

If you have access to ArcGIS Pro, that would be the best thing to try first since you can maintain all of your other analysis settings.

If not, adjusting the polygon trim is probably the simplest and will impact your analysis results the least.  It might not resolve the issue, but it's worth a try.

0 Kudos