Universite-Gustave-Eiffel / NoiseModelling

A open-source model to compute noise maps.
https://noisemodelling.readthedocs.io/
GNU General Public License v3.0
161 stars 78 forks source link

Is the receivers::Delaunay_grid function very very slow? #537

Open mshmoon opened 1 year ago

mshmoon commented 1 year ago

NoiseModelling version 4.0.2

Describe the bug when I use the receivers::Delaunay_grid, I found it is very very slow

To Reproduce Steps to reproduce the behavior:

  1. load BUILDINGS, ROADS and GROUND_TYPE, POINT_SOURCE(Official provided files)
  2. Fill the two following mandatory parameters in receivers::Delaunay_grid function: Source table name : POINT_SOURCE Buildings table name : BUILDINGS
  3. click run process
  4. I see noisemodelling will compute 16777216 times for delaunay, very very slow

It looks like will cost several days time

11111

gpetit commented 1 year ago

Hi, Can you give us more details, in particular which tutorial you used ? Are you talking about this one ?

pierromond commented 1 year ago

You probably put a veryyyyy short propagation distance? Did you change some default parameters ?

gpetit commented 1 year ago

Ok. I guess you followed the tutorial Noisemap from point source ? If so, I just repeat the exercice and I takes less than 1s to produce the triangulation image

image

image

Maybe your problem comes from the SRID associated to the input files ? This dataset has to be 2154 (french legal one)

mshmoon commented 1 year ago

Hi, Can you give us more details, in particular which tutorial you used ? Are you talking about this one ?

https://noisemodelling.readthedocs.io/en/latest/Noise_Map_From_Point_Source.html I did it with reference to this example

mshmoon commented 1 year ago

Ok. I guess you followed the tutorial Noisemap from point source ? If so, I just repeat the exercice and I takes less than 1s to produce the triangulation image

image

image

Maybe your problem comes from the SRID associated to the input files ? This dataset has to be 2154 (french legal one)

Yes, I followed the tutorial

mshmoon commented 1 year ago

french legal

Can you upload your files

gpetit commented 1 year ago

Hi, I used:

If you try with your own dataset, you just have to be sure that both files are in the same (metric) projection system