Landscape Cross Section of Real Locations
Create vertex group for top part
Unwrap object before using modifier
Assign material on sides
Add Displace Modifier and use this Group


In your case seems like Hieghmap texture does bnot overlap edge. Extend a bit texture size in texture properties or scale UVmap in UV editor.





Or you can change Mapping type ...

Clip


Extend


Repeat