提交 44b31bb6 编写于 作者: S serge-rider

Zero SRID conversion

上级 b3d9db45
......@@ -146,6 +146,9 @@ public class GISLeafletViewer {
DBGeometry value = values[i];
Object targetValue = value.getRawValue();
int srid = sourceSRID == 0 ? value.getSRID() : sourceSRID;
if (srid == 0) {
srid = GisConstants.DEFAULT_SRID;
}
if (srid == GisConstants.DEFAULT_SRID) {
showMap = true;
} else {
......@@ -164,10 +167,6 @@ public class GISLeafletViewer {
}
}
}
if (srid == 0) {
srid = GisConstants.DEFAULT_SRID;
showMap = true; // Let's give it a try
}
if (actualSourceSRID == 0) {
actualSourceSRID = GisConstants.DEFAULT_SRID;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册