-- #1038
select '#1038', ST_AsSVG('POLYGON EMPTY'::geometry);
+-- #1398
+select '#1398a', st_astext(st_snaptogrid(st_project('POINT(-120 45)'::geography, 100000, radians(45))::geometry,0.000001));
+select '#1398b', st_astext(st_snaptogrid(st_project('POINT(20 85)'::geography, 2000000, radians(0.1))::geometry,0.000001));
+
-- Clean up
DELETE FROM spatial_ref_sys;
#1489|MULTIPOINT EMPTY|0|MULTILINESTRING EMPTY|0|MULTIPOLYGON EMPTY|0|GEOMETRYCOLLECTION EMPTY|0
ERROR: AddToPROJ4SRSCache: couldn't parse proj4 string: '': (null)
#1038|
+#1398a|POINT(-119.093153 45.632669)
+#1398b|POINT(-160.137654 77.091608)