# Extrude individual countries from shapefile world map

**URL:** https://discourse.paraview.org/t/extrude-individual-countries-from-shapefile-world-map/11662
**Category:** ParaView Support
**Created:** [March 19, 2023, 11:04pm UTC](https://discourse.paraview.org/t/extrude-individual-countries-from-shapefile-world-map/11662 "2023-03-19T23:04:05Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![\_Marco](https://discourse.paraview.org/user_avatar/discourse.paraview.org/_marco/32/5242_2.png) [@\_Marco](https://discourse.paraview.org/u/_Marco)
#### Post date: [March 19, 2023, 11:04pm UTC](https://discourse.paraview.org/t/extrude-individual-countries-from-shapefile-world-map/11662/1 "2023-03-19T23:04:05Z")

</div>

Dear Members,

i have a shapefile, a world map, containing a bit more than 200 countries and their political boundaries.  
From that, I would like to “extrude” user-defined, individual countries, by assigning a scalar that **would control both** : extrusion height and color.

My idea was using python to loop over each country, extracting the coordinates, and create a vtk file, by assigning z coordinate(s). However, I suspect there could be an easier method.

Any feedback, remarks, suggestions or hints?

Thank you  
Marco

 ![world_Shapefile](https://discourse.paraview.org/uploads/default/original/2X/5/55bd14862df05563c2a72fde7d57a103f9af0d70.jpeg)

---

<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: [March 20, 2023, 6:55am UTC](https://discourse.paraview.org/t/extrude-individual-countries-from-shapefile-world-map/11662/2 "2023-03-20T06:55:03Z")

</div>

Looks like this is a multiblock with one block per contry ?

If theat is so, an ExtractBlock will do the work trivially.

---

<div class="post-metadata">

### Author: ![\_Marco](https://discourse.paraview.org/user_avatar/discourse.paraview.org/_marco/32/5242_2.png) [@\_Marco](https://discourse.paraview.org/u/_Marco)
#### Post date: [March 20, 2023, 11:04am UTC](https://discourse.paraview.org/t/extrude-individual-countries-from-shapefile-world-map/11662/3 "2023-03-20T11:04:18Z")

</div>

Thank you so much! Worked great!

 ![Italy_and_germany](https://discourse.paraview.org/uploads/default/original/2X/8/89de6377bdbc760f5010ab055ff455b936c621be.jpeg)
