Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Provide pixel resolution tokens to subselects #1181

Closed
strk opened this Issue · 7 comments

2 participants

@strk

Following vector reduction work of #1136 this ticket is to provide pixel resolution tokens to users willing to do custom simplifications based on that. px_gw and px_gh were proposed by Dane in that ticket. That'd be fine with me.

@springmeyer
Owner

I'm not convinced those are the best names - would be good to consider some alternatives.

@strk

!pixel_width! !pixel_height!

@strk

I see there are two version of the postgis_datasource::populate_tokens method. One takes no token values, the other takes each of the token values. Why the duplication ?

@springmeyer
Owner

one is used when the replacement tokens are not known (but the subquery still needs to be executed to be able to grab metadata).

@strk
@springmeyer
Owner

closing, this was handled by #1192

@springmeyer springmeyer closed this
@strk

There seems to be a bug in the implementation of this. Too bad it lacked an automated testcase.
The width of a pixel in geographical units seem to be augmenting rather than diminishing as the output size augments!

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.