kartoza / django-bims

https://testing.healthyrivers.kartoza.com
GNU Affero General Public License v3.0
12 stars 19 forks source link

Add spatial layer and filter - Zam_Vegetation #4254

Open helendallas opened 2 weeks ago

helendallas commented 2 weeks ago

Please add this spatial layer to KFWIS.

The layer should be renamed: Vegetation

The filter should be on VegType_ag but renamed Vegetation type

File to large to share - we send via Wetransfer

Jeremy-Prior commented 6 days ago

This layer has 31038 features in it and as such the server can't handle rendering the layer.

Merging features based off of attributes would help reduce the number of features and help the rendering. @dimasciput and I have tried various methods help the server render the layer but none have worked.

@helendallas, many of the features share values in the CODE and vegtype_ag columns but the corresponding values in the FEATURE_TY and TRAPNELL_T columns vary due to different numbers of spaces or potential spelling errors. Example in the FEATURE_TY column where the general idea is Main River (Wide) but there are variations in spelling and spacing: image

Would it be viable to merge features based off of the vegtype_ag column? image

We could do the data cleaning and it would probably take a day, or would Kafue like to fix the data because this will affect the spatial filters on the site.

helendallas commented 6 days ago

Let me chat to kafue team tomorrow.

On 2024-09-30 16:23, Jeremy-Prior wrote:

This layer has 31038 features in it and as such the server can't handle rendering the layer.

Merging features based off of attributes would help reduce the number of features and help the rendering. @dimasciput [1] and I have tried various methods help the server render the layer but none have worked.

@helendallas [2], many of the features share values in the CODE and vegtype_ag columns but the corresponding values in the FEATURE_TY and TRAPNELL_T columns vary due to different numbers of spaces or potential spelling errors. Example in the FEATURE_TY column where the general idea is Main River (Wide) but there are variations in spelling and spacing: image.png (view on web) [3]

Would it be viable to merge features based off of the vegtype_ag column? image.png (view on web) [4]

We could do the data cleaning and it would probably take a day, or would Kafue like to fix the data because this will affect the spatial filters on the site.

-- Reply to this email directly, view it on GitHub [5], or unsubscribe [6]. You are receiving this because you were mentioned.Message ID: @.***>

Links:

[1] https://github.com/dimasciput [2] https://github.com/helendallas [3] https://github.com/user-attachments/assets/09acd5e5-58cd-472b-aefe-93449dc7848f [4] https://github.com/user-attachments/assets/5e40d427-0d96-4f01-81bf-cde36fdd9b8a [5] https://github.com/kartoza/django-bims/issues/4254#issuecomment-2383356932 [6] https://github.com/notifications/unsubscribe-auth/AKZQLXAELUY4QRBOKL5AHNTZZFNG5AVCNFSM6AAAAABONPMGM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBTGM2TMOJTGI