# Loading SHP files

**URL:** https://discourse.paraview.org/t/loading-shp-files/8028
**Category:** ParaView Support
**Created:** [September 18, 2021, 3:12pm UTC](https://discourse.paraview.org/t/loading-shp-files/8028 "2021-09-18T15:12:22Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![natetron](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/d78d45/32.png) [@natetron](https://discourse.paraview.org/u/natetron)
#### Post date: [September 18, 2021, 3:12pm UTC](https://discourse.paraview.org/t/loading-shp-files/8028/1 "2021-09-18T15:12:22Z")

</div>

I am new to ParaView. I am rendering 3D images of a complex groundwater flow model. I would like to load some SHP files and have them overlay the top elevation of the model (i.e., land surface). These SHP files would be polyline and polygon vector features like roads, building outlines, contaminant plume boundaries, etc. Is this possible with PV 5.8.1?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 20, 2021, 7:43am UTC](https://discourse.paraview.org/t/loading-shp-files/8028/2 "2021-09-20T07:43:06Z")

</div>

No, but it is possible with ParaView 5.9.1

---

<div class="post-metadata">

### Author: ![natetron](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/d78d45/32.png) [@natetron](https://discourse.paraview.org/u/natetron)
#### Post date: [September 20, 2021, 3:03pm UTC](https://discourse.paraview.org/t/loading-shp-files/8028/3 "2021-09-20T15:03:08Z")

</div>

That worked. Thank you.

---

<div class="post-metadata">

### Author: ![leila-saberi](https://discourse.paraview.org/user_avatar/discourse.paraview.org/leila-saberi/32/9943_2.png) [@leila-saberi](https://discourse.paraview.org/u/leila-saberi)
#### Post date: [September 13, 2022, 10:40pm UTC](https://discourse.paraview.org/t/loading-shp-files/8028/4 "2022-09-13T22:40:11Z")

</div>

Could you let me how you overlaid the shapefile on top of your vtk file? I do have polylines and polygons imported by the fall within the vtk file (with elevation). Thanks.

---

<div class="post-metadata">

### Author: ![natetron](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/d78d45/32.png) [@natetron](https://discourse.paraview.org/u/natetron)
#### Post date: [September 13, 2022, 10:59pm UTC](https://discourse.paraview.org/t/loading-shp-files/8028/5 "2022-09-13T22:59:08Z")

</div>

Hi Leila. To get this to work, I first converted my 2D SHP files into 3D SHP files in ArcGIS. It’s important to make sure all your files are using the same geographic projection and horizontal and vertical datums and length units. The 3D SHP files come directly into PV (I’m still using v5.9.1) using the Open command.

---

<div class="post-metadata">

### Author: ![leila-saberi](https://discourse.paraview.org/user_avatar/discourse.paraview.org/leila-saberi/32/9943_2.png) [@leila-saberi](https://discourse.paraview.org/u/leila-saberi)
#### Post date: [September 13, 2022, 11:03pm UTC](https://discourse.paraview.org/t/loading-shp-files/8028/6 "2022-09-13T23:03:31Z")

</div>

Thanks, Nate. Did you set the height of your 3D shp to an elevation higher than the top of your other layers? I am a groundwater modeler as well and I have a modflow USG grid converted into the vtk and its top elevation varies across the basin.

---

<div class="post-metadata">

### Author: ![natetron](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/d78d45/32.png) [@natetron](https://discourse.paraview.org/u/natetron)
#### Post date: [September 13, 2022, 11:27pm UTC](https://discourse.paraview.org/t/loading-shp-files/8028/7 "2022-09-13T23:27:23Z")

</div>

Good question. I did not, but after setting up your 3D SHP file, you could certainly add some extra distance if you choose. Bottom line is, I did all of this outside of PV. Once your 3D SHP file is the way you want it, it should pull right into PV. BTW, you’ll want to make sure whatever elevation raster you’re using to convert your 2D SHP file to 3D extends beyond your model domain. Otherwise you can get mathematical “waterfalls” in your SHP file at the fringes of the model domain.

---

<div class="post-metadata">

### Author: ![natetron](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/d78d45/32.png) [@natetron](https://discourse.paraview.org/u/natetron)
#### Post date: [September 13, 2022, 11:34pm UTC](https://discourse.paraview.org/t/loading-shp-files/8028/8 "2022-09-13T23:34:51Z")

</div>

BTW…I used the **Interpolate Shape** feature in ArcGIS 10.8 to convert my 2D SHP to 3D SHP. [Interpolate Shape (3D Analyst)—ArcMap | Documentation](https://desktop.arcgis.com/en/arcmap/latest/tools/3d-analyst-toolbox/interpolate-shape.htm)

---

<div class="post-metadata">

### Author: ![leila-saberi](https://discourse.paraview.org/user_avatar/discourse.paraview.org/leila-saberi/32/9943_2.png) [@leila-saberi](https://discourse.paraview.org/u/leila-saberi)
#### Post date: [September 15, 2022, 2:42pm UTC](https://discourse.paraview.org/t/loading-shp-files/8028/9 "2022-09-15T14:42:28Z")

</div>

Thanks a ton, Nate! That worked great and solved my problem! I appreciate your help! : )
