# Best Way of Handling Shapefiles in Makie

**URL:** <https://discourse.julialang.org/t/best-way-of-handling-shapefiles-in-makie/71028>\
**Category:** Visualization\
**Tags:** plotting, visualization, makie, shapefile\
**Created:** [November 5, 2021, 9:17pm UTC](https://discourse.julialang.org/t/best-way-of-handling-shapefiles-in-makie/71028 "2021-11-05T21:17:28Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![YummyPampers2](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yummypampers2/32/27328_2.png) [@YummyPampers2](https://discourse.julialang.org/u/YummyPampers2)\
**Post date:** [December 17, 2021, 4:36pm UTC](https://discourse.julialang.org/t/best-way-of-handling-shapefiles-in-makie/71028/12 "2021-12-17T16:36:45Z")

</div>

@juliohm Good Day Dr. H:

I was able to produce the following:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/7/f/7f469f2c4d5d1a4b7992a608c879cf6f9136f216.png)

I have since modified the code to  
include:

```julia
viz(NZL.geometry, decimation = 0.10, color = 1:nelements(NZL.geometry), 
    showboundary=true, colormap = :viridis)

```

I am noticing it is taking up a lot of RAM, everything is  
is lagging when I am running the kernels.

My intention is to produce something  
similar to a question I presented a  
colleague days ago [THREAD](https://discourse.julialang.org/t/practical-spatial-analysis-packages-in-julia/73177/4).

Also are there any wrappers that allow for  
some interactive display rather than the  
static one we rendered?

The goal is two-fold:

1. Highlight regions of interest.

2. Add annotations at centroids  
within those regions to explain certain  
characteristics of those regions.

---

_[View the full topic](https://discourse.julialang.org/t/best-way-of-handling-shapefiles-in-makie/71028)._
