Giter VIP home page Giter VIP logo

Comments (4)

pierromond avatar pierromond commented on July 24, 2024 1

At step 1, I noticed there were crashes with importing the entire region I wanted (București-Ilfov in Romania), so I downloaded 2 files, and imported each sequentially via Import_OSM in order for the program to not crash. I assume this happens because of the size (over 9mb) of the PBF files, and went ahead with it. When I checked the DB via dBeaver for the data, it seemed like they were properly imported and acted like everything worked together just fine, without any duplicates. I assume that the import task erases all previous data and that skipped over my head?
If I want to create 1 mega-table from both PBF files' data, I assume I have to create some temporary tables from the imported data of the first import, drop the first import tables, then re-do a import task and then merge the temporary tables with the new import tables, is that correct?

Yes, you will probably need some data manipulation In dBeaver. Maybe Romania also have some public data about the Buildings ? it is probably a better source of data if it exists. In fact, our script Import_OSM is a little bit "weak", you can also try to use geoclimate (https://github.com/orbisgis/geoclimate/tree/master/osm) tool to import OSM data ! It is a better tool. We would like to couple both tool in the near future.

So, finally, if you want to import OSM data, you can still use our tool but with all the limitations it has, but you can also try to find other tools or data on the net that could be better and easier to control, in fact, you need a BUILDINGS table which basically is a POLYGON Table with "Height". You could still use our script to import ground properties for example, it should better work for all Romania if you check the box "not calculate buildings".

If I want to generate the data, I suppose I have to create 2 different maps (railway noise and road noise), is that correct?
Yes, and then merge them adding the energetic value on each receiver if it makes sense to your case.

from noisemodelling.

romanian-bag-void avatar romanian-bag-void commented on July 24, 2024 1

Many thanks for the reply! I'll go for the simple temporary tables hack for both issues.

Maybe Romania also have some public data about the Buildings ? [...] You could still use our script to import ground properties for example, it should better work for all Romania if you check the box "not calculate buildings".

Sadly not. I guess I'll just tick "not calculate buildings". Maybe I'll get to find some building data at some point, but I haven't seen any around at all.

Other than that, I think this question can be closed.

from noisemodelling.

romanian-bag-void avatar romanian-bag-void commented on July 24, 2024

Another usage question: I managed compiling the project for Postgres after I realized late that perhaps Postgres/PostGIS might offer better performance than H2 Embedded GIS.

I cloned the project. I managed to modify the files mentioned here, ran the WPS build scripts in \wps_scripts and used the generated code in build\install\scriptrunner, yet sadly it went forward with creating a H2 DB.

Did anything change ever since the documentation page was added? Am I missing anything?

Many thanks in advance for any kind of help. :)

from noisemodelling.

pierromond avatar pierromond commented on July 24, 2024

Hi,

Did you manage to include this in your main file ?
DataSourceFactoryImpl dataSourceFactory = new DataSourceFactoryImpl();
Properties p = new Properties();
p.setProperty("serverName", "localhost");
p.setProperty("portNumber", "5432");
p.setProperty("databaseName", "postgres");
p.setProperty("user", "postgres");
p.setProperty("password", "");

Using PostGIS with NoiseModelling is not well maintained... I can only say that two years ago it was working. In some case it is true that postGIS is a little bit faster, but if speed is your only requirement to use postGIS, I think that maybe it is a lot of work for little gains. By the way, if you succeed in doing it, we will be very happy to hear about your result. Maybe we can create a special feed on it ! Give us more detail, and maybe we can help you.

from noisemodelling.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.