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

Inline gml #561

wants to merge 2 commits into from

Inline gml #561

wants to merge 2 commits into from


Copy link

Related to

Always use a C function directly in ST_AsGML(geometry) so the getSRSbySRID cache is used.

-- 683788 Points (1 vertex on avg)
-- EXPLAIN ANALYZE Select ST_AsGML(the_geom, 8) from benchmark_7773a711c8441d4b494a51fd9feebeac7a9b9c734619398620293;
-- Latency avg before: 8286.371 ms
-- Latency avg with cache: 223.431 ms
-- Perf: 37.08x

Follows the same style as st_asgml(geography), which was already doing this. I don't know why we have 2 implementations that are almost equal to be honest.

Copy link
Member Author


@Algunenano Algunenano closed this May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
1 participant