# Add imagery basemap

**URL:** https://discourse.paraview.org/t/add-imagery-basemap/7279
**Category:** ParaView Support
**Created:** [May 22, 2021, 9:33pm UTC](https://discourse.paraview.org/t/add-imagery-basemap/7279 "2021-05-22T21:33:00Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![frank\_forster](https://discourse.paraview.org/user_avatar/discourse.paraview.org/frank_forster/32/6643_2.png) [@frank\_forster](https://discourse.paraview.org/u/frank_forster)
#### Post date: [May 22, 2021, 9:33pm UTC](https://discourse.paraview.org/t/add-imagery-basemap/7279/1 "2021-05-22T21:33:00Z")

</div>

Hello,  
I managed to merge a CityGML with NetCDF in a GLTF file using Parawier & Blender.

 ![image](https://discourse.paraview.org/uploads/default/original/2X/7/78bd1f32d5a1bee8594860f4b64079815c9bc4e9.jpeg)

In order to make a realistic render, I would like to add a basemap below from a TIFF file.

 ![image](https://discourse.paraview.org/uploads/default/original/2X/3/3914c0bb2f90a2eaf462ba41a20386a18241f20c.jpeg)

So far I only manage to make some “color legend” render like this :

 ![image](https://discourse.paraview.org/uploads/default/original/2X/8/8c214ba9be4933b03dfd310791e05906af9736be.jpeg)

I’ve seen the topic with the “File → Load Texture” but I don’t have this option.  
I’ve also seen the N’Cube plugin but haven’t tried yet because I’m not admin of my PC ([GitHub - mobigroup/ParaView-plugins: ParaView plugins](https://github.com/mobigroup/ParaView-plugins))  
Do you know if it’s possible to display the image as the initial image ? Thanks, Frank

---

<div class="post-metadata">

### Author: ![dcthomp](https://discourse.paraview.org/user_avatar/discourse.paraview.org/dcthomp/32/20_2.png) [@dcthomp](https://discourse.paraview.org/u/dcthomp)
#### Post date: [May 22, 2021, 9:38pm UTC](https://discourse.paraview.org/t/add-imagery-basemap/7279/2 "2021-05-22T21:38:47Z")

</div>

If I understand your issue, you will want to select your tiff image in the pipeline browser and then unclick the “Map Scalars” checkbox in the property inspector. That should treat the image components as RGB values instead of mapping them through a color lookup table (the default paraview red-white-blue colormap).

---

<div class="post-metadata">

### Author: ![frank\_forster](https://discourse.paraview.org/user_avatar/discourse.paraview.org/frank_forster/32/6643_2.png) [@frank\_forster](https://discourse.paraview.org/u/frank_forster)
#### Post date: [May 22, 2021, 11:17pm UTC](https://discourse.paraview.org/t/add-imagery-basemap/7279/3 "2021-05-22T23:17:36Z")

</div>

Thanks a lot,  
I manage to export the texture in the GLTF with Blender but I had to do it manually :

 ![image](https://discourse.paraview.org/uploads/default/original/2X/4/44a0478621d37b091d9b3d3832453c49e9a18e96.jpeg)  
When I export the TIFF to GLTF with Paraview, the TIFF is not include in the GLTF, do you know why please ? Frank

---

<div class="post-metadata">

### Author: ![dcthomp](https://discourse.paraview.org/user_avatar/discourse.paraview.org/dcthomp/32/20_2.png) [@dcthomp](https://discourse.paraview.org/u/dcthomp)
#### Post date: [May 23, 2021, 2:24am UTC](https://discourse.paraview.org/t/add-imagery-basemap/7279/4 "2021-05-23T02:24:49Z")

</div>

I am not familiar with GLTF. Looking at the source:

[https://gitlab.kitware.com/vtk/vtk/-/blob/master/IO/Export/vtkGLTFExporter.h#L19-22](https://gitlab.kitware.com/vtk/vtk/-/blob/master/IO/Export/vtkGLTFExporter.h#L19-22)

it appears @martink wrote the exporter knowing it would only provide a subset of GLTF’s capabilities and a subset of what VTK/ParaView can do as well. You can file a feature request/bug report for this issue (or contribute a fix yourself), but without funding it is difficult to address a lot of requests – so don’t expect immediate results.

---

<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: [May 24, 2021, 8:36am UTC](https://discourse.paraview.org/t/add-imagery-basemap/7279/5 "2021-05-24T08:36:00Z")

</div>

I have no issue exporting data with colors to glTF, either through map/unmapped scalars or event textures.

Can you share a dataset to reproduce the issue @frank_forster ?

---

<div class="post-metadata">

### Author: ![frank\_forster](https://discourse.paraview.org/user_avatar/discourse.paraview.org/frank_forster/32/6643_2.png) [@frank\_forster](https://discourse.paraview.org/u/frank_forster)
#### Post date: [May 24, 2021, 11:13am UTC](https://discourse.paraview.org/t/add-imagery-basemap/7279/6 "2021-05-24T11:13:48Z")

</div>

Hello Mathieu,  
Please find a file that I can’t export to GLTF.

 ![image](https://discourse.paraview.org/uploads/default/original/2X/6/63cd92e7f2079f2e71e11c9d839be4d6348e04bc.jpeg)  
 ![Raster1_CC46](https://discourse.paraview.org/uploads/default/original/2X/2/227751eb6a96038c3c777301c3fef6353c5942c3.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: [May 24, 2021, 12:41pm UTC](https://discourse.paraview.org/t/add-imagery-basemap/7279/7 "2021-05-24T12:41:44Z")

</div>

It looks like exporting image data to glTF is not supported (yet). A easy work around is to convert it into a polydata first using AppendDataset filter.

---

<div class="post-metadata">

### Author: ![frank\_forster](https://discourse.paraview.org/user_avatar/discourse.paraview.org/frank_forster/32/6643_2.png) [@frank\_forster](https://discourse.paraview.org/u/frank_forster)
#### Post date: [May 24, 2021, 4:22pm UTC](https://discourse.paraview.org/t/add-imagery-basemap/7279/8 "2021-05-24T16:22:50Z")

</div>

Hi again Matthieu,  
It works ! Thank you 🙂  
FYI I noticed that the image orientation was not taken into account while exporting to GLTF so I had to move the building instead.

 ![image](https://discourse.paraview.org/uploads/default/original/2X/4/408bb981c074322bcacc77f451ee4ad84b0bff31.jpeg)
