Postgis Plugin: SRID warning, using srid=-

针对PostGIS输入插件使用SRID-1时发出的警告进行优化改进,通过增加额外信息如输入表名及查询语句,简化了问题追踪流程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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.

转载于:https://my.oschina.net/weiwubunengxiao/blog/159051

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值