RE: [Phpgedview-talk] zombie places in pgv_places
Brought to you by:
canajun2eh,
yalnifj
From: John F. <Joh...@by...> - 2004-09-07 15:32:37
|
Hi Konrad, See my responses to your questions below: > Question 1... > > There is no format specified at 1 PLAC in the gedcom, so its > using/expecting/ignoring? the default, i.e. City, County, > Stat/Province, Country. > >Is it important to specify something after 1 PLAC? If so, how do i specify my=20 > format? "1 PLAC Street, Suburb, City, Country"? Is this the 1 PLAC line in the geadcom HEAD record? Normally the place hierarchy is specified there. But it doesn't have to be, and most genealogy programs, including PhpGedView, don't really care what the hierarchy is as long as the commas delimit the hierarchies when you enter in the places. In other words as long as you are consistent with entering 1 PLACE Street, Suburb, City, Country throughout your gedcom then PhpGedView will keep them all in the same hierarchy level. If you don't know a level, then you should leave the space blank with the comma. For example, if the Street was unknown, you would enter=20 1 PLAC , Suburb, City, Country And if you only knew the country you would put 1 PLAC , , , Country > Question 2... >=20 > Checking the Place Hierarchy page, I noticed that the places that I edited no=20 > longer appear in the Hierarchy. I checked pgv_places and can see a whole=20 > bunch of places with p_level !=3D 0 and p_parent_id =3D 0. >=20 > Is there a way to get the places re-indexed? I'm guessing re-uploading the=20 > gedcom will re-index pgv_places for me, but there's got to be an easier way? > I'm not sure why you have places with p_level !=3D 0 and p_parent_id =3D = 0. The easiest way to reindex all of the places is to reimport your gedcom. This does not mean that you have to upload it again. Just go to Admin->Manage Gedcoms->Import and reimport the gedcom into the database. During the reimport all of the old data is dropped and the data is reindexed. > Question 3... >=20 > Assuming it does get fixed, will setting the proper format in 1PLAC ensure=20 > that this doesn't happen again, is there a configuration setting i can use to=20 > fix this or will i have to re-index pgv_places whenever i make changes to=20 > place names? First thing would be to make sure the places are encoded correctly. After reimporting the gedcom, check to see if there are any p_level !=3D = 0 and p_parent_id =3D 0 places or if they only appear after editing. Then get back to me and we can work from there to figure out what happened. --John =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D John Finlay PhpGedView Project Managaer ya...@us... =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |