LDPC codes from semipartial geometries