<div dir="ltr"><div dir="ltr">Dear Simone/All</div><div dir="ltr"><br><div>Kindly help to resolve the issue '<b>Uploading Shapefile of type polygon/line in GeoNode 2.4  showing as Point Layer in Map/ Viewer section'</b></div><div><b><br></b></div><div>Uploaded Shapefile type of polygon/line though GeoNode Interface, it is displaying features as points.  I could able to understand by debugging the flow of the code, GeoServer(2.7.4) <b>assigning default point SLD </b>for uploaded shapefile of type polygon/line.</div><div>Please find the attached screenshot of GeoServer embedded in GeoNode.  It shows <b>the_geom</b> type as<b> Geometry  </b>instead of showing<b> as  Multipolygon/MultiLine.</b></div><div><b><br></b></div><div><b>Please help us to find which is the code responsible in GeoServer/GeoNode decides the_geom type?</b></div><div><b><br></b></div><div>Please let me know any other information required further to understand the issue</div><div><b><br></b></div><div>Note:1.<b> For testing  I have used higher version of GeoServer(2.13.1)  and uploaded shapefile , then the_geom type is showing as expected based on uploaded Shpefile type as </b><b> Multipolygon/MultiLine and found no issues. I think it is issue of GeoServer 2.7.4 and PostgresQL 10/PostGIS 2.5.2</b></div><div><b>         2. Deployed System Details of GeoNode 2.4</b></div><div><b>              RHEL 7.2, 64 bit</b></div><div><b>              PostgresQL: 10.0</b></div><div><b>              PostGIS: 2.5.2</b></div><div><b>              GeoServer : 2.7.4  ( the geoserver.war file which is packaged with GeoNode is used)</b></div><div><b><br></b></div><div><br></div><div><b>Thanks&Regards,</b></div><div><b>Naresh.N</b></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 15, 2019 at 3:24 PM Naresh N <<a href="mailto:naresh919@gmail.com" target="_blank">naresh919@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear All,<div><br></div><div>kindly help to resolve the <b>issue</b>  '<b>Uploading Shapefile of type polygon/line in GeoNode 2.4  showing as Point Layer in Map/ Viewer section'</b></div><div><b><br></b></div><div><b>Please answer my following  doubts and hep to resolve the issue</b></div><div>1. Is GeoNode 2.4 compatible with PostgreSQL 10.7 and PostGIS 2.5.2</div><div>2. Uploaded Shapefile of type Polygon in  PostgreSQL Database table  showing<b> the_geom attribute data type</b> as  as Geometry (PgAdmin4). and even in GeoServer Layer  interface 'the_geom' attribute data type showing as Geometry. How to correct ' the{_geom' attribute data type based on features type in Shapefile . Which part of the code in GeoNode verifies  and assigns the attribute type of Shapefile.</div><div><br></div><div>Kindly help me to fix the issue and please let me  know any other information required.</div><div><br></div><div><br></div><div>Thanks&Regards,</div><div>Naresh.N</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 10, 2019 at 2:35 PM Naresh N <<a href="mailto:naresh919@gmail.com" target="_blank">naresh919@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br>Dear Simone,<div><br></div><div>Please kindly see the trailing mail and help me to solve the issue. I have already posted in GeoNode discussion forum, not able to solve the isssue.</div><div><br></div><div>Kindly help in this regard.</div><div><br></div><div>Thanks&Regards,</div><div>Naresh<br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">Naresh N</strong> <span dir="ltr"><<a href="mailto:naresh919@gmail.com" target="_blank">naresh919@gmail.com</a>></span><br>Date: Mon, Apr 8, 2019 at 4:58 PM<br>Subject: Uploading Shapefile(Polygon features) - Displaying as Point  in GeoNode Map/layer View<br>To: geonode-users <a href="http://lists.osgeo.org" target="_blank">lists.osgeo.org</a> <<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a>>, Alessio Fabiani <<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions.it</a>>, Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>><br></div><br><br><div dir="ltr">Dear All,<br><div><br></div><div>I have deployed the GeoNode 2.4 version by following  the instructions</div><div><br></div><div><a href="http://docs.geonode.org/en/2.4.x/tutorials/install_and_admin/setup_on_centos/index.html" target="_blank">http://docs.geonode.org/en/2.4.x/tutorials/install_and_admin/setup_on_centos/index.html</a>  <br></div><div><br></div><div><b>ISSUE : </b>When I am uploading shapefile(polygon), it is taking the default point SLD. Hence when I am viewing the Uploaded Shapfeil(polygon) as WMS in Map/Layer View , it is displaying as point.</div><div><br></div><div><b>Kindly help me to resolve this issue. </b></div><div><br></div><div>GeoNode Deployed system configuration are</div><div><br></div><div><b>OS:</b>RHEL 7.2, 64 bit , GeoNode2.4 version</div><div><br></div><div>Please let me know any other information required further to understand the issue.</div><div><br></div><div>Thanks&Regards,</div><div>Naresh.N</div></div>
</div></div></div>
</blockquote></div>
</blockquote></div>