Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

how to create bounding box with spatial tools

jackdaniels
8 - Asteroid

I have been given a list of lat and lon co-ordinates in "WGS-84" but cannot work out how to make bounding boxes / polygons.

 

can anyone help?wgs84.PNG

8 REPLIES 8
TravisR
Alteryx Alumni (Retired)

Hi @jackdaniels

 

I recommend you look into the PolyBuild tool for turning your points into a polygon. 

 

https://help.alteryx.com/2018.3/PolyBuild.htm

 

To get the Bounding Rectangle of that polygon - you'll want to use the Spatial Info tool.

 

https://help.alteryx.com/2018.3/SpatialInfo.htm

 

 

jackdaniels
8 - Asteroid

Hi @TravisR

 

I am struggling to generate points as I have 2 pairs of lat and lon.per item.

TravisR
Alteryx Alumni (Retired)

@jackdaniels Can you provide a small sample of the data you're working with?

jackdaniels
8 - Asteroid

@TravisR

 

Basically I have been given a set of IDs with 4 coords in pairs, like this.

 

A: (51.310290, 4.591236, 51.30188, 4.567900)

TravisR
Alteryx Alumni (Retired)

@jackdaniels

 

Does my attached workflow accomplish roughly what you are looking for?

kat
12 - Quasar

Hi  @jackdaniels

 

does the attached help?

 

bounding rectangle.PNG

jackdaniels
8 - Asteroid

Thanks @TravisR. I will take a close look.

jackdaniels
8 - Asteroid

Hi @kat Thanks for the suggestion. I will take a look.

Labels
Top Solution Authors