artemp opened this issue 2 years ago
Add extra information when PostGIS input plugin uses SRID -1
Milestone: Mapnik 2.0.1
No one is assigned
The PostGIS input driver emits a warning that SRID -1 is being used on some input table but does not include any other information.
Changing the warning code in postgis.cpp line 217 to be
if (srid_ == 0)
{
srid_ = -1;
std::clog << "Postgis Plugin: SRID warning, using srid=-1 for" << table_ << std::endl;
}
also includes the query specified as input, simplifying problem tracing.
PostGIS SRID-1使用警告优化
针对PostGIS输入插件使用SRID-1时发出的警告进行优化改进,通过增加额外信息如输入表名及查询语句,简化了问题追踪流程。

2430

被折叠的 条评论
为什么被折叠?



