I followed this tutorial
for creating a pgRouting layer in GeoServer. When I try to publish this layer Native Bounding Box and Lat/Lon Bounding Box are not getting generated correctly.
For my road layer executing
select distinct st_srid(geom),st_geometrytype(geom) from networkroad
returns
st_srid st_geometrytype
integer text
—— ————–
0 ST LineString
I tried various SRID’s while creating the SQL view like 3857,32643 and 4326. Also I tried setting SRID for my road layer. But the result was same. What should I do ?