[GeoNode-users] Issue with SLD uploads in latest version of GeoNode

Ramesh De Silva desilvarami at gmail.com
Mon Feb 24 01:19:22 PST 2025


Dear Giovanni,

First of all, my apologies for forgetting to copy my last email to the
group.

By the way, I have figured out the reason for this. It's due to case
sensitivity. In QGIS and the generated SLD File, the classified attribute
is shown in uppercase (NAME_1).

[image: image.png]

But I found that in GeoServer it is shown in lowercase (name_1).

[image: image.png]

Therefore, I have edited the SLD in GeoServer level and replaced NAME_1 to
name_1. After that everything was OK.

Alternatively, I have edited the raw SLD file with lowercase entries and
tried another upload (dataset together with the edited SLD). In that case
it worked without any issue.

I hope this discussion thread would be helpful, if someone comes across a
similar situation.

Thank you for extending a helping hand.

Kind regards
Ramesh

On Fri, Feb 21, 2025 at 3:11 PM Ramesh De Silva <desilvarami at gmail.com>
wrote:

> Dear Giovanni,
>
> Thank you for the quick response. Please find attached the said SLD file.
>
> The uploaded dataset can be found here in Stable Demo:
> https://stable.demo.geonode.org/catalogue/#/dataset/13008
>
> The following image shows the same dataset uploaded with the same SLD in a
> GeoNode version 4.0 in a previous occasion. In case you need, I am
> attaching the complete dataset as well.
>
> [image: image.png]
>
> Actually I am facing this issue with some other datasets as well (which I
> used to seamlessly upload in version 4.0).
>
> Kind regards
> Ramesh
>
> On Fri, Feb 21, 2025 at 2:42 PM Giovanni Allegri <
> giovanni.allegri at geosolutionsgroup.com> wrote:
>
>> Hi Ramesh,
>>
>> could you share the SLD?
>>
>> Giovanni
>>
>> On Fri, Feb 21, 2025 at 6:41 AM Ramesh De Silva via geonode-users <
>> geonode-users at lists.osgeo.org> wrote:
>>
>>> Hi,
>>>
>>> I am experiencing some issues with SLD uploads with the latest stable
>>> version of the GeoNode. When I include a SLD (generated via QGIS) together
>>> with the dataset, it fails to draw the layer. The dataset I refer to here
>>> is a polygon dataset classified on a text field. In GeoNode "visual
>>> editor", the SLD rules were not shown as classification rules but as many
>>> simple styles.  If I manually make any modifications to the style, it does
>>> not allow me to save the changes. I have tested this in GeoNode Stable Demo
>>> as well. The result was the same.
>>>
>>> I was able to smoothly upload the very same dataset together with the
>>> very same SLD file in GeoNode version 4.0.
>>>
>>> Any advice is greatly appreciated. Thank you!
>>>
>>> Kind Regards
>>> Ramesh
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>
>>
>>
>> --
>>
>> ==
>>
>> GeoServer Professional Services from the experts!
>>
>> Visit http://bit.ly/gs-services-us for more information.
>> ==
>>
>> Dott. Giovanni Allegri
>>
>> Technical Lead / Project Manager
>>
>>
>> GeoSolutions Group
>> phone: +39 0584 962313
>> cell:     +39 345 2815774
>>
>> fax:      +39 0584 1660272
>>
>> https://www.geosolutionsgroup.com/
>> http://twitter.com/geosolutions_it
>> -------------------------------------------------------
>>
>> Con riferimento alla normativa sul trattamento dei dati personali (Reg.
>> UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
>> precisa che ogni circostanza inerente alla presente email (il suo
>> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
>> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
>> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>>
>> This email is intended only for the person or entity to which it is
>> addressed and may contain information that is privileged, confidential or
>> otherwise protected from disclosure. We remind that - as provided by
>> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
>> e-mail or the information herein by anyone other than the intended
>> recipient is prohibited. If you have received this email by mistake, please
>> notify us immediately by telephone or e-mail.
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20250224/66539de0/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 330910 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20250224/66539de0/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 317362 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20250224/66539de0/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 55246 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20250224/66539de0/attachment-0005.png>


More information about the geonode-users mailing list