Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extra information when PostGIS input plugin uses SRID -1 #893

Closed
artemp opened this issue Oct 11, 2011 · 0 comments
Closed

Add extra information when PostGIS input plugin uses SRID -1 #893

artemp opened this issue Oct 11, 2011 · 0 comments

Comments

@artemp
Copy link
Member

artemp commented Oct 11, 2011

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.

kkaefer pushed a commit to kkaefer/mapnik that referenced this issue Feb 16, 2012
…ting code) and fixup other debug output - closes mapnik#893 and closes mapnik#956
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants