GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Deletes in alternateNamesModifications.txt?  XML
Forum Index -> General
Author Message
isa



Joined: 31/01/2007 12:37:49
Messages: 77
Offline

Hi:
In the daily file alternateNamesModifications-date.txt, if the alternateNameId exists in my table, I replace it because it's a modification. If the alternateNameId not exists, I insert it because it's a new record. That is right?
Can we know when a alternateName must be deleted?

Thanks for this fantastic work,
Regards,
Isa
marc



Joined: 08/12/2005 07:39:47
Messages: 4416
Offline

isa wrote:

In the daily file alternateNamesModifications-date.txt, if the alternateNameId exists in my table, I replace it because it's a modification. If the alternateNameId not exists, I insert it because it's a new record. That is right? 

This is absolutely correct.

isa wrote:
Can we know when a alternateName must be deleted? 

Not yet. It will be available as of tomorrow.

Marc

[WWW]
isa



Joined: 31/01/2007 12:37:49
Messages: 77
Offline

Hi Marc:
You are the fast one.
I have already seen the new file alternatenamesDeletes-2007-01-31.txt.
My doubt is how is the format of this file. I suppose that the file will be something like: alternateNameId <tab> geonameId <tab> comment ?

Once again, thanks,
Isa
marc



Joined: 08/12/2005 07:39:47
Messages: 4416
Offline

I have added these two lines to the readme :

alternateNamesModifications-<date>.txt : all alternate names modified on the previous day,
alternateNamesDeletes-<date>.txt : all alternate names deleted on the previous day, format : alternateNameId <tab> geonameId <tab> name <tab> comment.

[WWW]
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team