I buffer within a distance of 80 ft off a road .Which produces the layer of the result of the buffer.
I then produces a layer for the land around it . I know need to select everything that fall within the buffer areas, and produces a layer that show the percentage of how much the land that is within that buffer.
I am using OpenJump to display map.
example of SQl
BUFFER
select ST_Buffer(geom,80)::geometry
(polygon,26986) As geom from road
where street = 'hope';
LAND
select *
from land;
OR
I used in postgis/ pgadmin this sql but openjump require geom to be used
select parcel, land_type , full_str
from land
left join road on ST_Dwithin(land.geom,road.geom, 19.812)
where road_name = 'hope';