Re: [Geoserver-users] Shapfile of type polygon showing point features in WMS

2019-04-25 Thread Naresh N
Naresh N Thu, Apr 25, 4:57 PM (16 hours ago) to me Dear Andrea, I have found the code in the link https://github.com/geotools/geotools/blob/13.4/modules/plugin/jdbc/jdbc-postgis/src/main/java/org/geotools/data/postgis/PostGISDialect.java and code is as follows String geomType =

Re: [Geoserver-users] Shapfile of type polygon showing point features in WMS

2019-04-25 Thread Naresh N
Dear Andrea, Thanks a lot for your quick response. Thanks, Naresh On Thu, Apr 25, 2019 at 2:54 PM Andrea Aime wrote: > On Thu, Apr 25, 2019 at 11:19 AM Naresh N wrote: > >> * Is it possible to find the in GeoServer2.7.4, which part of the code >> deals with PostgreSQL table layer publishing?

Re: [Geoserver-users] Shapfile of type polygon showing point features in WMS

2019-04-25 Thread Andrea Aime
On Thu, Apr 25, 2019 at 11:19 AM Naresh N wrote: > * Is it possible to find the in GeoServer2.7.4, which part of the code > deals with PostgreSQL table layer publishing? Kindly help me in > this regard.* > GeoServer 2.7.4 source code is here: https://github.com/geoserver/geoserver/tree/2.7.4 It

Re: [Geoserver-users] Shapfile of type polygon showing point features in WMS

2019-04-25 Thread Naresh N
Dear Andrea and Brad, Thanks for responding and suggestions As per my understanding when we are publishing postgresql table in Geoserver 2.7.4, some have misinterpreted the-geom type and it is showing as Geometry and assigned default point SLD. GeoServer assigning for all the PostgreSQL/PostGIS

Re: [Geoserver-users] Shapfile of type polygon showing point features in WMS

2019-04-25 Thread Andrea Aime
On Wed, Apr 24, 2019 at 2:21 PM Naresh N wrote: > Dear Brad, > Thanks for quick response. > 1. I am deploying GeoNode 2.4 version which has customized version of > GeoServer which is 2.7.4. So I can not upgrade to higher version of > GeoServer. > As Brad said, upgrade if you can, you're running

Re: [Geoserver-users] Shapfile of type polygon showing point features in WMS

2019-04-24 Thread Naresh N
wms-sett > ings > > Brad > > -Original Message- > From: naresh > Sent: Wednesday, 24 April 2019 7:13 PM > To: geoserver-users@lists.sourceforge.net > Subject: [Geoserver-users] Shapfile of type polygon showing point features > in WMS > > Hello All, >

Re: [Geoserver-users] Shapfile of type polygon showing point features in WMS

2019-04-24 Thread bradh
https://docs.geoserver.org/stable/en/user/data/webadmin/layers.html#wms-sett ings Brad -Original Message- From: naresh Sent: Wednesday, 24 April 2019 7:13 PM To: geoserver-users@lists.sourceforge.net Subject: [Geoserver-users] Shapfile of type polygon showing point features in WMS Hello All

[Geoserver-users] Shapfile of type polygon showing point features in WMS

2019-04-24 Thread naresh
Hello All, I am using GeoServer2.7.4 ,PostgreSQL 10.7 and PostGIS 2.5.2. I have uploaded the shapefile of type polygon/line to PosgresQL Database(PostGIS enabled). Created the store from PostgreSQL/PostGIS in GeoServer. I have published the PostgreSQL table( Uploaded Shapefile type of poygon) ,