geoenvo / opendims

Open-DiMS
GNU General Public License v3.0
2 stars 1 forks source link

ERD #11

Open mf4dl1 opened 8 years ago

mf4dl1 commented 8 years ago

20160217_opendims_erd

mf4dl1 commented 8 years ago

@senoadiw comments n question:

senoadiw commented 8 years ago

Table Event apakah nanti akan digunakan untuk multidisaster? jika ya, mungkin parameter height bisa dipindahkan ke tabel lain dan direlasikan, karena itu spesifik banjir.

Iya multidisaster. Menurut gw di table event, field yang terkait bencana lain dilengkapin aja. Contohnya disaster gempa, fieldnya di event => magnitude (null). Ini lebih ringkas dibanding kalau pakai child table "disaster_event" di antara disaster dan event. Contohnya berikut:

Disaster id | code | note 1 | BJR | Bencana banjir 2 | GMP | Bencana gempa bumi

Event id | disaster id | created | point | height | magnitude | city id | subdistrict id | village id | rw id | rt id 1 | 1 | 2016 02 18 11:00 | [koordinat di peta] | 100 | null | null | null | 9999 | null | null 2 | 2 | 2016 02 18 12:00 | [koordinat di peta] | null | 3.1 | 1 | null | null | null | null

Table Report mungkin perlu direlasikan dengan table Report_twitter dan Report_qlue yang menyimpan isi yg diambil dari API masing-masing.

IMO ini sudah diakomodasi di desain di atas, contohnya berikut untuk 2 report dari twitter dan qlue:

Source id | code | note 1 | TWT | sumber laporan dari twitter 2 | QLU | sumber laporan dari qlue

Report id | source id | event id | created | status | note 1 | 1 | null | 2016 02 18 11:00 | unverified | #BanjirJkt di bukit duri 2 | 2 | 1 | 2016 02 18 11:00 | verified | Banjir 100cm di bukit duri

Di #6 ada daftar tabel Sumber Laporan. Untuk laporan yg sifatnya otomatis mungkin perlu dibuatkan format table sendiri seperti twitter dan qlue di atas. Tapi untuk yg lain formatn field2nya cukup yg standard saja seperti waktu, sumber, dan free description.

Sumber lain sama seperti contoh di atas.

mf4dl1 commented 8 years ago

Oke Noted!

senoadiw commented 8 years ago

20160218_opendims_erd

Changelog

senoadiw commented 8 years ago

20160219_opendims_erd

Changelog

mf4dl1 commented 8 years ago

@senoadiw mungkin perlu ditambahkan field2 berikut jg: Street: Nama Jalan/Alamat Lengkap (ex: Jl. Jend. Sudirman Kav 52-53) Landmark: Untuk mendata lokasi bencana yg lebih spesifik (ex: Gedung WTC, Depan Balai kota, Samping Gedung BUMN, etc.)

Untuk tabel relasi, sepertinya akan butuh table2 berikut: Street -> Data Polyline Jalan, ini dapat diambil dari data OSM atau sumber lain (ask @miarenauly) Landmark -> ini dapat diambil dari data asset JakSAFE (ask @miarenauly) Ada sekitar 1,3jt landmark.

senoadiw commented 8 years ago

@mf4dl1 oke coba kita review dulu ya. Landmark dan street mungkin bisa masuk ke app Geolevels.

senoadiw commented 8 years ago

Reports 20160222_erd_reports

Reports Changelog


Geolevels 20160222_erd_geolevels

Geolevels Changelog

cc @davidhadrianus89

senoadiw commented 8 years ago

Reports

20160224_erd_reports

Reports Changelog 20160224


Geolevels

20160224_erd_geolevels

Geolevels Changelog 20160224

cc @davidhadrianus89 @novikesumaningtyas

senoadiw commented 8 years ago

Reports

20160225_erd_reportsreports

Reports Changelog 20160225

senoadiw commented 8 years ago

Reports

20160301_erd_reports

Reports Changelog 20160301

cc @davidhadrianus89 @novikesumaningtyas tolong rebuild database opendims ya => https://github.com/geoenvo/opendims/wiki/01_note-importing-boundary-data

senoadiw commented 8 years ago

Reports

20160304_erd_reports

Reports Changelog 20160304

Note: akan diperlukan validasi saat save Event untuk memastikan rw/rt yang diinput valid. cc @davidhadrianus89 @novikesumaningtyas

senoadiw commented 8 years ago

Reports

20160310_erd_reports

Reports Changelog 20160308

senoadiw commented 8 years ago

Reports

20160401_erd_reports

Reports Changelog 20160401

senoadiw commented 8 years ago

Reports

20160404_erd_reports

Jaksafe

20160404_erd_jaksafe

Reports Changelog 20160404

novikesumaningtyas commented 8 years ago

WaterLevel

20160404_waterlevel_erd

WaterLevel Changelog 20160404

senoadiw commented 8 years ago

Reporting

20160412_erd_reporting

Reporting Changelog 20160412

senoadiw commented 8 years ago

Reporting

20160413_erd_reporting

Reporting Changelog 20160413

senoadiw commented 8 years ago

Reports

20160415_erd_reports

Reports Changelog 20160415

bayu3 commented 8 years ago

SMSblast

smsblast

SMSblast changelog 20160419

Penambahan model Template, Contact, Group, ContactGroup dan Message untuk aplikasi SMSblast

bayu3 commented 8 years ago

AutomaticWeatherSystem automaticweathersystem

AutomaticWeatherSystem changelog 20160419

WeatherForecast weatherforecast

WeatherForecast changelog 20160419

bayu3 commented 8 years ago

Website website

Website changelog 20160419

bayu3 commented 8 years ago

Website website

Website changelog 20160420

EarlyWarning earlywarning

EarlyWarning changelog 20160420

bayu3 commented 8 years ago

WeatherForecast weatherforecast

WeatherForecast changelog 20160421

Contact contact

Contact changelog 20160421

senoadiw commented 8 years ago

Reports

20160425_erd_reports

Reports Changelog 20160425

Reporting

20160425_erd_reporting

Reporting Changelog 20160425

bayu3 commented 8 years ago

DisasterProfile disasterprofile

DisasterProfile changelog 20160426

bayu3 commented 8 years ago

SMSblast smsblast

SMSblast Changelog 20160427

EarlyWarning earlywarning

EarlyWarning Changelog 20160427

Website website

Website Changelog 20160427

DisasterRehabilitation disasterrehabilitation

DisasterRehabilitation Changelog 20160427

bayu3 commented 8 years ago

DisasterRehabilitation disasterrehabilitation

DisasterRehabilitation Changelog 20160428

senoadiw commented 8 years ago

Website

20160503_erd_website

Website Changelog 20160502

Reports

20160503_erd_reports

Reports Changelog 20160502

senoadiw commented 8 years ago

Website

20160505_erd_website

Website Changelog 20160505