Skip to main content
Question

New Snowflake geometry data type (not geography)

  • November 9, 2022
  • 9 replies
  • 108 views

tris_w
Contributor
Forum|alt.badge.img+6

Snowflake recently released their new "geometry" data type. Not to be confused with the existing "geography" data type. The geometry data type can contain geometries in other coordinate systems, not just WGS84. Whereas geography is specifically WGS84.

See Geography vs Geometry data types documentation here

Geospatial Data Types — Snowflake Documentation

 

When will FME support writing of the new snowflake geometry data types? Is there a way to do this right now, or will it be a future release of the Snowflake Spatial writer?

9 replies

evieatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • November 15, 2022

It seems that currently FME does not yet support coordinate systems within Snowflake geometry. However, we do want to support the new “geometry” data type introduced by Snowflake. Unfortunately, it has not been decided what version it will be supported on in the future but we are currently working on this. Sorry for the inconvenience.


tris_w
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • November 24, 2022

Thanks Evie. I was in a call with Safe today though and this was added in 2022.1.2.0.

 

FME 2022.1.2.0 b22627 20220831

------------------------------

[Update] Snowflake Reader/Write: Add Geometry data type support


alanbc
Contributor
Forum|alt.badge.img+1
  • Contributor
  • July 12, 2023

@Evie Lapalme​  @tris_w​ Did this ever get added to the product? I'm using FME 2023 and still can only see how to wite GEOGRAPHY data type to SnowFlake and no way to do GEOMETRY data type?


evieatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • July 13, 2023
alanbc wrote:

@Evie Lapalme​  @tris_w​ Did this ever get added to the product? I'm using FME 2023 and still can only see how to wite GEOGRAPHY data type to SnowFlake and no way to do GEOMETRY data type?

Hi @alanbc​ Tris is correct that this has been added to the latest version of FME 2022 and FME 2023. If you are not able to read or write your geometry then please submit a support case with us. Internal ticket FMEENGINE-73853


alanbc
Contributor
Forum|alt.badge.img+1
  • Contributor
  • August 8, 2023

After a little more reading and experimenting I figured out a workable workflow. I was expecting the choice to use GEOGRAPHY rather than GEOMETRY type to be a writter parameter (or automatic if your data was something other than LL-WGS84) but you need to create a new geometry and as an attribue set the type to geometry in the reader.

image.pngimage 


Forum|alt.badge.img
  • August 14, 2023

Hello@alanbc

 

Thank you for sharing your insights and experience! It's truly valuable to learn from your experimentation. I was also curious about how the new Snowflake 'geometry' data type worked, and your explanation about setting the type to 'geometry' in the reader and creating a new attribute is a game-changer. Your visual aid makes it even more understandable. Your willingness to share your findings is greatly appreciated and will undoubtedly help others who might be navigating the same challenges.

 

Thank you.


tisjadaggers
Contributor
Forum|alt.badge.img+1
  • Contributor
  • November 18, 2024

Hello ​@alanbc,

Which Geometry encoding did you use in the Geometry extractor?
Many thanks.



 


alanbc
Contributor
Forum|alt.badge.img+1
  • Contributor
  • November 18, 2024

Hi ​@tisjadaggers

 

We used FME Binary.

 

Hope this Helps!

 

Thanks,


Alan


samvernon
Contributor
Forum|alt.badge.img+4
  • Contributor
  • November 27, 2024

Alan! Thank you. This is awesome!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings