MapServer / MapServer-import

3 stars 2 forks source link

is Force2d call redundent? (potential overhead) #2282

Closed mapserver-bot closed 12 years ago

mapserver-bot commented 12 years ago

Reporter: springmeyer Date: 2011/09/15 - 23:36 I think ST_Asbinary calls force2d internally, but mapserver's postgis driver seems to call force2d manually as well. This is part potential optimization suggestion and part curiousity of mine of whether my assumption that this has overhead is bogus or not.

mapserver-bot commented 12 years ago

Author: pramsey Date: 2011/09/15 - 23:44 I almost took it out recently, but actually in PostGIS 2.0 it's possible AsBinary will return 3/4d objects, so forcing them to the dimensionality we want might be good. Contrariwise, it might be even BETTER to ensure the WKB handler can eat the 3/4d representations and remove the call to allow those dimensions to be accessed in MapServer (at least the Z, since mapserver can't do the M)

mapserver-bot commented 12 years ago

Author: springmeyer Date: 2011/09/16 - 00:21 facinating. in mapnik we're barely catching up with ST_* usage in general, so this is immensely good to know directions.

Thanks paul. I guess I will close then :)