Opened 15 years ago

Last modified 7 years ago

#44 closed defect

Comparison between distances from the ccm and our calculated distances — at Version 3

Reported by: cedric Owned by: cedric
Priority: major Milestone:
Component: SIG-data Version: EDA2.0
Keywords: Cc:

Description (last modified by cedric)

Nos distances sont écrites dans la base CCM table riversegments
Ci dessous une requete pour les comparer

select cum_len_sea,len_tom from rivernodes
 inner join riversegments on riversegments.tonode=rivernodes.id 
limit 100
select count(*) from(
select cum_len_sea,len_tom from rivernodes
 inner join riversegments on riversegments.tonode=rivernodes.id 
where cum_len_sea != len_tom) as sub
-- 30384
select count(*) from(
select cum_len_sea,len_tom from rivernodes
 inner join riversegments on riversegments.tonode=rivernodes.id 
where cum_len_sea != len_tom) as sub
-- 86380

C'est vraiment curieux quand on regarde du plus près

select cum_len_sea -len_tom as diff from rivernodes
 inner join riversegments on riversegments.tonode=rivernodes.id 
select count(*),diff from(
select cum_len_sea -len_tom as diff from rivernodes
 inner join riversegments on riversegments.tonode=rivernodes.id ) as sub
group by diff

Change History (3)

comment:1 Changed 15 years ago by cedric

  • Description modified (diff)
  • Status changed from new to accepted

comment:2 Changed 15 years ago by cedric

  • Description modified (diff)

comment:3 Changed 15 years ago by cedric

  • Description modified (diff)
Note: See TracTickets for help on using tickets.