Construct a circular BlockArea object given center and radius

I wanted to prevent routing within a circular area and was looking at BlockAreaWeighting. I need to construct a circlular block area given the center and radius. How do I construct the Graph object for this using Java API?


If someone is looking for similar stuff… You just need to set the bbox (xmin,ymin,xmax,ymax) or a circle (x,y, radius) as part of request hints with key BLOCK_AREA.

1 Like