# Family map in Narrative Web Site report - missing

**URL:** <https://gramps.discourse.group/t/family-map-in-narrative-web-site-report-missing/3504>\
**Category:** Help\
**Tags:** hacks, websolutions\
**Created:** [April 7, 2023, 6:09pm UTC](https://gramps.discourse.group/t/family-map-in-narrative-web-site-report-missing/3504 "2023-04-07T18:09:58Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![derFred](https://avatars.discourse-cdn.com/v4/letter/d/ed8c4c/32.png) [@derFred](https://gramps.discourse.group/u/derFred)\
**Post date:** [April 7, 2023, 6:09pm UTC](https://gramps.discourse.group/t/family-map-in-narrative-web-site-report-missing/3504/1 "2023-04-07T18:09:58Z")

</div>

Gramps Version 5.1.5  
OS: Ubuntu

Hi  
I created a storytelling website. Unfortunately the family map is empty.

 ![grafik](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/9/9d027158c9b5fd5afe84b61f6290b51b9dcbd05e.png)

What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [April 7, 2023, 7:44pm UTC](https://gramps.discourse.group/t/family-map-in-narrative-web-site-report-missing/3504/2 "2023-04-07T19:44:16Z")

</div>

Check out this earlier thread. There is a known issue (and a fix). But is your issue with Family maps only??

> [@Help with Maps in Narrative Web Site needed](https://gramps.discourse.group/t/help-with-maps-in-narrative-web-site-needed/2714):
>
> Gramps 5.1.5, Windows 10 Actually Maps generated by “Narrative Web Site” Report and OpenStreetMap choosen as Map-Service are empty. First thought I have to configure somehow, but didn’t find anything. Any ideas how to make OpenStreetMap work ith Narrative Web Site Report ? Also I was looking in google as MAP-Service which requires an API key. I found a description fpr gramps in [Integrate google maps with narrative web site - Gramps](https://www.gramps-project.org/wiki/index.php/Integrate_google_maps_with_narrative_web_site) , but to me it looks like it expects a nonlocal Website

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [April 7, 2023, 7:49pm UTC](https://gramps.discourse.group/t/family-map-in-narrative-web-site-report-missing/3504/3 "2023-04-07T19:49:12Z")

</div>

Gramps is a huge program. So volunteers often have to run experiments to try to reproduce what you are seeing. It helps us find the same feature if you note which Report you are running.

You are asking about the **Reports → Web Pages → Narrated Web Site…**. And using the  
**Include Family Map Pages with all places shown on the map** option under [Place Map Options](https://gramps-project.org/wiki/index.php/Gramps_5.1_Wiki_Manual_-_Reports_-_part_7#Place_Map_Options), correct?

Let’s start by validating the underlying data is mappable. The Family or family members must have Events that Gramps can map (with valid dates, roles, and places with GPS coordinates).

You have 3 Events with 3 different Places in your example. But your place titles (“Ortstitel”) look suspiciously incomplete. I see “Saarlouis” but don’t see “Saarlouis, Saarland, Germany”. Since you did not fill in the enclosing administrative regions, I suspect that you did not add GPS coordinates ( **latitude** and **longitude** ) in the [**Place Editor**](https://www.gramps-project.org/wiki/index.php/Gramps_5.1_Wiki_Manual_-_Entering_and_editing_data:_detailed_-_part_2#Place_Editor_dialog) either. These are required for mapping.

Switch to the Family Category and select the same family as your example above. Then select the Geography view and view the same Family data using the [All known places for one Family](https://gramps-project.org/wiki/index.php/Gramps_5.1_Wiki_Manual_-_Categories#All_known_places_for_one_Family) view mode.

If you do not see map pins plotted in the interactive Geography view, they will not be in the report either.

Suggested 1st step: Edit your Place records for Saarlouis, Hüttersdorf, and Gretna Green. Make certain they have valid Latitude and Longitude values.

---

<div class="post-metadata">

**Author:** ![derFred](https://avatars.discourse-cdn.com/v4/letter/d/ed8c4c/32.png) [@derFred](https://gramps.discourse.group/u/derFred)\
**Post date:** [April 7, 2023, 8:13pm UTC](https://gramps.discourse.group/t/family-map-in-narrative-web-site-report-missing/3504/4 "2023-04-07T20:13:00Z")

</div>

> [@emyoulation](#):
>
> […]  
> Suggested 1st step: Edit your Place records for Saarlouis, Hüttersdorf, and Gretna Green. Make certain the have valid Latitude and Longitude values.

All locations have correct GPS data and you can see them on Geography

---

<div class="post-metadata">

**Author:** ![SNoiraud](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/snoiraud/32/72_2.png) [@SNoiraud](https://gramps.discourse.group/u/SNoiraud)\
**Post date:** [April 7, 2023, 8:13pm UTC](https://gramps.discourse.group/t/family-map-in-narrative-web-site-report-missing/3504/5 "2023-04-07T20:13:13Z")

</div>

As you are on ubuntu, when you mouse is over the page in firefox, click on \<CTRL\>right button and select “Source code of the page”. A new page will be opened. On this page, search the string [openlayers.org](http://openlayers.org). Do you have ?

\<script src=“https://openlayers.org/en/latest/build/ol.js” type=“text/javascript”\>  
\<link href=“https://openlayers.org/en/latest/css/ol.css” rel=“stylesheet” type=“text/css” /\>

If YES, you need to do what is shown on [Help with Maps in Narrative Web Site needed - #12 by DaveSch](https://gramps.discourse.group/t/help-with-maps-in-narrative-web-site-needed/2714/12)

---

<div class="post-metadata">

**Author:** ![derFred](https://avatars.discourse-cdn.com/v4/letter/d/ed8c4c/32.png) [@derFred](https://gramps.discourse.group/u/derFred)\
**Post date:** [April 7, 2023, 8:19pm UTC](https://gramps.discourse.group/t/family-map-in-narrative-web-site-report-missing/3504/6 "2023-04-07T20:19:16Z")

</div>

unfortunately I found these two lines ☹

```auto
||<script src=https://openlayers.org/en/latest/build/ol.js type=text/javascript></script>|
|---|---|
||<link href=https://openlayers.org/en/latest/css/ol.css rel=stylesheet type=text/css />|
``
```

---

<div class="post-metadata">

**Author:** ![derFred](https://avatars.discourse-cdn.com/v4/letter/d/ed8c4c/32.png) [@derFred](https://gramps.discourse.group/u/derFred)\
**Post date:** [April 7, 2023, 8:22pm UTC](https://gramps.discourse.group/t/family-map-in-narrative-web-site-report-missing/3504/7 "2023-04-07T20:22:45Z")

</div>

yes, it is with Family maps only.  
In Geography it works fine.

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [April 7, 2023, 8:36pm UTC](https://gramps.discourse.group/t/family-map-in-narrative-web-site-report-missing/3504/8 "2023-04-07T20:36:25Z")

</div>

I think you misunderstood.

In the Narrative Web, there is the Place record map and there is a map that can appear in the Family page. In your initial post you make reference to the family map only.

---

<div class="post-metadata">

**Author:** ![derFred](https://avatars.discourse-cdn.com/v4/letter/d/ed8c4c/32.png) [@derFred](https://gramps.discourse.group/u/derFred)\
**Post date:** [April 7, 2023, 8:54pm UTC](https://gramps.discourse.group/t/family-map-in-narrative-web-site-report-missing/3504/9 "2023-04-07T20:54:05Z")

</div>

Ah - OK - and yes, I am a bloody beginner in this phantastic software.

This Place record map is empty as well

 ![grafik](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/0/0f1e7cf0d05f1c6f2523f952ef4b9c02e1f3a377.png)

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [April 7, 2023, 9:39pm UTC](https://gramps.discourse.group/t/family-map-in-narrative-web-site-report-missing/3504/10 "2023-04-07T21:39:59Z")

</div>

I think @SNoiraud mis posted. If you found the lines with “latest” you _ **should** _ follow the link to the bug report.

Bottom line, before Gramps 5.2 is released, modify your program file: `...\gramps\plugins\webreport\place.py`  
replace “latest” by “v6.15.1” at lines 387 and 390

and in` person.py` in the same directory  
replace “latest” by “v6.15.1” at lines 722 and 725

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [April 7, 2023, 9:47pm UTC](https://gramps.discourse.group/t/family-map-in-narrative-web-site-report-missing/3504/11 "2023-04-07T21:47:47Z")

</div>

> [@derFred](#):
>
> I am a bloody beginner in this phantastic software.

As were we all at one time!

---

<div class="post-metadata">

**Author:** ![SNoiraud](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/snoiraud/32/72_2.png) [@SNoiraud](https://gramps.discourse.group/u/SNoiraud)\
**Post date:** [April 8, 2023, 5:40am UTC](https://gramps.discourse.group/t/family-map-in-narrative-web-site-report-missing/3504/12 "2023-04-08T05:40:50Z")

</div>

> [@DaveSch](#):
>
> I think @SNoiraud mis posted.

Yes, I made a mistake. I change the comment with: “if YES”

---

<div class="post-metadata">

**Author:** ![derFred](https://avatars.discourse-cdn.com/v4/letter/d/ed8c4c/32.png) [@derFred](https://gramps.discourse.group/u/derFred)\
**Post date:** [April 8, 2023, 9:35am UTC](https://gramps.discourse.group/t/family-map-in-narrative-web-site-report-missing/3504/13 "2023-04-08T09:35:46Z")

</div>

This was the solution — my sysadmin (my son 😉 ) helped me over the last hurdle as I didn’t know where to find the files. Thanks a million for the hint!

I case anyone wants to do that on ubuntu

```bash
#find the path
sudo apt install apt-file
apt-file search webreport/place.py

# go where the result above points you
cd /usr/lib/python3/dist-packages/gramps/plugins/webreport

# for safety to see if 'latest' only appears at this place and replace inline
grep latest place.py
sudo sed -i "s/latest/v6.15.1/" place.py

```

and then the same for place.py

Thanks again for the solution - you guys are awesome 😉

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [May 8, 2023, 9:35am UTC](https://gramps.discourse.group/t/family-map-in-narrative-web-site-report-missing/3504/14 "2023-05-08T09:35:51Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
