NoiseModelling icon indicating copy to clipboard operation
NoiseModelling copied to clipboard

Is the receivers::Delaunay_grid function very very slow?

Open mshmoon opened this issue 2 years ago • 7 comments

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

mshmoon avatar Jan 11 '23 09:01 mshmoon

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

gpetit avatar Jan 11 '23 12:01 gpetit

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

pierromond avatar Jan 11 '23 12:01 pierromond

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)

gpetit avatar Jan 11 '23 13:01 gpetit

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 avatar Jan 12 '23 01:01 mshmoon

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 avatar Jan 12 '23 01:01 mshmoon

french legal

Can you upload your files

mshmoon avatar Jan 12 '23 01:01 mshmoon

Hi, I used:

  • buildings.shp which is in the folder .../NoiseModelling_4.0.2/data_dir/data/wpsdata/
  • Point_Source.geojson, which is in the folder .../NoiseModelling_4.0.2/data_dir/data/wpsdata/TutoPointSourceDirectivity/

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

gpetit avatar Jan 12 '23 08:01 gpetit