open-editions/corpus-joyce-portrait-TEI

Deduplicate places and move to a separate file

JonathanReeve opened this issue · 2 comments

This is related to issue #43.

This idea is to assign each place name an XML ID, and move their metadata (latitude, longitude, regularized name, etc.) to a separate file, so as to clean things up a bit.

Let's figure out how best to do this, first.

The TEI docs here suggest a pattern like this:

<place xml:id="LYON1" type="city">
 <placeName notBefore="1400">Lyon</placeName>
 <placeName notAfter="0056">Lugdunum</placeName>
 <location>
  <geo>45.769559 4.834843</geo>
 </location>
</place>

Or this:

<place xml:id="BGbldg" type="building">
 <placeName>Brasserie Georges</placeName>
 <location>
  <country key="FR"/>
  <settlement type="city">Lyon</settlement>
  <district type="arrondissement">IIème</district>
  <district type="quartier">Perrache</district>
  <placeName type="street">
   <num>30</num>, Cours de Verdun</placeName>
 </location>
</place>

I suggest that we devise a taxonomy of places, which could be something like this:

  • imaginary (not a real place: Heaven, Hell, Elysium)
  • pub (Davy Byrne's Pub) — given Joyce's comment re:pubs, it would be good to track these separately
  • street — these we could mark up with their old and new names
  • city
  • natural (a river, a mountain)
  • political (a street, a square, a city, a country)
  • metaphorical (a place name used rhetorically or metaphorically)

@goldieshen and @HannimalCrackers, what do you think?

@goldieshen, no apology necessary! We're building out all these features as we go.