GetGOV and duplicate place names

Hi,

I’m using GetGOV for my places. And for me ist works like charm.

But if you import all place you often get the same place name for a city und a residential area.

So in Gramps your place name gets longer with the same words.

I didn’t like this and so I did an addon.

This can hide duplicate place names but only for the type of places you want.

More infos here: GitHub - th3Bastian/gramps-place-addons: Independent Gramps add-ons for working with places. · GitHub

theBastian

Interesting. Could you post a before-and-after screen capture of what Preferences → Place display tab will do?

The description reminds me of “ditto” (do or - meaning : same as above) marks on census forms:


Source: Census ditto marks: Wikipedia

An example:

My grandma was born in Mansfeld. GOV-ID MANELDJO51RO. This is a town, in German Stadt (settlement).

Mansfeld is part of Mansfeld (GOV-ID object_153579), a Stadt (local authority).

The place in the birth entry will look like: Mansfeld, Mansfeld, [County] … and so on.

If you add the types “Stadt (settlement)” and “Stadt (local authority)” in Preferences, the birth entry place is Mansfeld, [County] … and so on.

Duplicate names will be merged into one if

  • they are side by side
  • the type of the place is in the list in Preferences

So you can hide duplicate town names.

But if the names of the town and the county are the same, the county name will be visible.

theBastian

(I don’t know if screenshots in German will help here.)

German is Ok for the screenshot. But you might want to use the example.gramps sample tree if you do not want to expose personal data.

A familiar example of administrative divisions for North Americans might be:
“Manhattan borough, New York City, New York county, New York state, United States of America” or “Manhattan, New York, New York, New York, USA”
being written as “Manhattan, New York, USA”?

Only the same names will be treated as duplicate.

So your example “Manhattan borough, New York City, New York county, New York state, United States of America” won’t work because New York City is not New York county.

But your example “Manhattan, New York, New York, New York, USA” will work.

And you can decide to show the name of the city and the name of the state. Just remove the type of the state from the preferences. You will get “Manhattan, New York, New York, USA”.

And it will only work in views. If you open a dialog to edit a person or event you will get the full name of the place.

AFAIK there is currently no way in Gramps to skip a place hierarchy level or define your own hierarchy and where you want to use it. I have the same issue with places in Austria e.g. Vienna is a federal state, a district and a municipal at the same time.

There was a Pull Request for a place enhancement which included an Enhanced Place Format Editor which could do that and was more powerful, but unfortunately it wasn’t included into Gramps (yet).

That’s what my addon will do.

If you have two hierarchy levels which have the same names you can remove one name if you like.

This is my Enclosed by tab in my record for Salt Lake City.

I use this method for a few locations to omit county information. For SLC, the county had a slight name change in 1868 so that is why I selected the date. Salt Lake City, Salt Lake Co, Utah gets to be too much and Salt Lake City Cemetery, Salt Lake City, Salt Lake Co, Utah is too much salt in my diet.

Another method is one where the institution’s name needs no further information. Here’s my record for Harvard.

If I’m understanding correctly, Matt might be asking to skip a Place Type, regardless of whether there is content duplication.

For instance, my hierarchy includes a custom Continent place type. And while that is helpful in drilling down in the hierarchy, it overflows in the displays. So I always want it suppressed unless it is the topmost level.

Here’s a capture of my place list. (I’m running a hack that sorts the menu: alpha-sort Custom types in with the built-ins; and, display a 3-column menu when the choices exceed 12.)

As I understand, this has nothing to do with the GetGOV addon (importing a hierarchy of places using the GOV gazetteer), but with the view of existing place hierarchies, correct.

That’s right. The addon has nothing to do with the GOV.
But if you import places from GOV (e.g. using GetGOV) you’ll get a common problem. Duplicate place names in place hierarchy.
The addon can hide duplicates in views.

FYI, in Gramps Connect, if you delete a place, it will automatically connect the places above and below:

I was surprised that the other implementations of gramps did not do that. I plan on making a list of all of the little tweaks that should be included in gramps-core but are not. It isn’t exactly a bug (and apparently can be fixed by running a tool) but it is an obviously better thing to do.

Nice but this has nothing to do with this addon.

The addon doesn’t change place hierarchies. It only hides duplicate places in views.

This addon is for you if you:

  • want to keep a full hierarchy of place in Gramps
  • get duplicate names in these hierarchies
  • keep your places simple in views

This addon doesn’t change your data. It only shows your data in another way.