Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

PostGIS driver doesn't grok quoted table names #393

Closed
artemp opened this Issue · 2 comments

1 participant

@artemp
Owner

The PostGIS driver will apparently try to automagically parse the provided SQL to extract the table name, this doesn't work with quoted table names even though that's valid SQL, e.g.:

{{{

(select way from "view_planet_osm_line_lang_is" where "addr:interpolation" is not null) as interpolation

}}}

But this works:

{{{

(select way from view_planet_osm_line_lang_is where "addr:interpolation" is not null) as interpolation

}}}

Some table names need to be quoted, e.g. if they contain "-".

@artemp
Owner

[springmeyer] thanks very much for the report. fixed in r1454

@artemp
Owner

[springmeyer] see also #1708 (which will land in Mapnik 0.7.1)

@artemp artemp closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.