Quantcast
Channel: Question and Answer » postgis
Viewing all articles
Browse latest Browse all 371

Problem with projection in pgRouting layer in GeoServer

$
0
0

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.
enter image description here

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 ?


Viewing all articles
Browse latest Browse all 371