SELECT ST_AsGML(2, geomFromEWKT('POINT(1e50 1)')); 
SELECT ST_AsGML(2, geomFromEWKT('POINT(1 1e50)')); 
SELECT ST_AsGML(2, geomFromEWKT('POINT(1 1 1e50)')); 
SELECT ST_AsGML(2, geomFromEWKT('POINT(-1e50 1)')); 
SELECT ST_AsGML(2, geomFromEWKT('POINT(1 -1e50)')); 
SELECT ST_AsGML(2, geomFromEWKT('POINT(1 1 -1e50)')); 
SELECT ST_AsGML(3, geomFromEWKT('POINT(1e50 1)')); 
SELECT ST_AsGML(3, geomFromEWKT('POINT(1 1e50)')); 
SELECT ST_AsGML(3, geomFromEWKT('POINT(1 1 1e50)')); 
SELECT ST_AsGML(3, geomFromEWKT('POINT(-1e50 1)')); 
SELECT ST_AsGML(3, geomFromEWKT('POINT(1 -1e50)')); 
SELECT ST_AsGML(3, geomFromEWKT('POINT(1 1 -1e50)')); 

SELECT ST_AsKML(geomFromEWKT('SRID=4326;POINT(1e50 1)')); 
SELECT ST_AsKML(geomFromEWKT('SRID=4326;POINT(1 1e50)')); 
SELECT ST_AsKML(geomFromEWKT('SRID=4326;POINT(1 1 1e50)')); 
SELECT ST_AsKML(geomFromEWKT('SRID=4326;POINT(-1e50 1)')); 
SELECT ST_AsKML(geomFromEWKT('SRID=4326;POINT(1 -1e50)')); 
SELECT ST_AsKML(geomFromEWKT('SRID=4326;POINT(1 1 -1e50)')); 

SELECT ST_AsGeojson(geomFromEWKT('POINT(1e50 1)')); 
SELECT ST_AsGeojson(geomFromEWKT('POINT(1 1e50)')); 
SELECT ST_AsGeojson(geomFromEWKT('POINT(1 1 1e50)')); 
SELECT ST_AsGeojson(geomFromEWKT('POINT(-1e50 1)')); 
SELECT ST_AsGeojson(geomFromEWKT('POINT(1 -1e50)')); 
SELECT ST_AsGeojson(geomFromEWKT('POINT(1 1 -1e50)')); 

SELECT ST_AsSVG(geomFromEWKT('POINT(1e50 1)')); 
SELECT ST_AsSVG(geomFromEWKT('POINT(1 1e50)')); 
SELECT ST_AsSVG(geomFromEWKT('POINT(-1e50 1)')); 
SELECT ST_AsSVG(geomFromEWKT('POINT(1 -1e50)')); 
SELECT ST_AsSVG(geomFromEWKT('POINT(1e50 1)'), 1); 
SELECT ST_AsSVG(geomFromEWKT('POINT(1 1e50)'), 1); 
SELECT ST_AsSVG(geomFromEWKT('POINT(-1e50 1)'), 1); 
SELECT ST_AsSVG(geomFromEWKT('POINT(1 -1e50)'), 1); 
SELECT ST_AsSVG(geomFromEWKT('LINESTRING(1e50 1, 1 1)'), 1); 
SELECT ST_AsSVG(geomFromEWKT('LINESTRING(1 1e50, 1 1)'), 1); 
SELECT ST_AsSVG(geomFromEWKT('LINESTRING(-1e50 1, 1 1)'), 1); 
SELECT ST_AsSVG(geomFromEWKT('LINESTRING(1 -1e50, 1 1)'), 1); 
