Opened 15 years ago
Last modified 7 years ago
#44 closed defect
Comparison between distances from the ccm and our calculated distances — at Version 7
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
count | diff (m) |
4 | -87532 |
6 | -57127 |
30338 | -26407 |
36 | -11560 |
86380 | 0 |
Table pour carte de comparaison
drop table if exists tabledistance; CREATE TABLE tabledistance AS( select cum_len_sea-len_tom as diff, rivernodes.the_geom from rivernodes inner join riversegments on riversegments.tonode=rivernodes.id where cum_len_sea != len_tom); alter table tabledistance add column id serial; drop table tabledistance;
Change History (7)
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)
comment:4 Changed 15 years ago by cedric
- Description modified (diff)
comment:5 Changed 15 years ago by cedric
- Description modified (diff)
comment:6 Changed 15 years ago by cedric
- Description modified (diff)
comment:7 Changed 15 years ago by cedric
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.