Ticket #4024 (closed enhancement: wontfix)

Opened 3 years ago

Last modified 3 years ago

is Force2d call redundent? (potential overhead)

Reported by: springmeyer Owned by: pramsey
Priority: lowest Milestone:
Component: PostGIS Interface Version: unspecified
Severity: normal Keywords:
Cc:

Description

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.

Change History

Changed 3 years ago by pramsey

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)

Changed 3 years ago by springmeyer

  • status changed from new to closed
  • resolution set to wontfix

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 :)

Note: See TracTickets for help on using tickets.