Alteryx Designer Desktop Discussions

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

Spatial Object Type Documentation

_richardr
10 - Fireball

I can't seem to find any comprehensive documentation on the Spatial Object Types, is there a reference?

 

From using the Spatial Info tool I have found; Points, Lines, Polygons, and PolyPolyLines.  Are there more object types?  I imagine maybe Multi-Points and PolyPloygons?

 

I would like to see each described with details on how they are built and stored.  It would also be nice to have a sample YXDB with an example of each of these types.

 

 

12 REPLIES 12
_richardr
10 - Fireball

Wikipedia has a good GeoJSON type overview

steven4320555
8 - Asteroid

@@_richardr I just noticed this thread, I think the post in the Engine Works Blog titled "New GeoJSON format in Alteryx" (published in 2009) is related to your query. https://community.alteryx.com/t5/Engine-Works-Blog/New-GeoJSON-format-in-Alteryx/ba-p/1906 

 

I have a feeling that the GeoJson format used in Alteryx might have been outdated, as "from August 2016 GeoJSON is now a formal IETF specification" instead of " old informal 2008 spec", according to the thread here:  https://gis.stackexchange.com/questions/259944/polygons-and-multipolygons-should-follow-the-right-ha...

 

 

I tried to use the JSONcreateV2 macro to generate GeoJson file, the macro was shared by @Ned back in 2013 (https://community.alteryx.com/t5/Engine-Works-Blog/Alteryx-Spatial-Data-Output-GeoJSON/ba-p/2221), and I got error message "

 Polygons and MultiPolygons should follow the right-hand rule

" when I test it in http://geojsonlint.com/.

 

The sample GeoJson that I got error message looks like

 

{ "type": "FeatureCollection",
"features": [
{ "type": "Feature",
"geometry": { "type": "Polygon", "coordinates": [ [ [ -1.256413, 52.738793 ], [ -1.257291, 52.738022 ], [ -1.257712, 52.738160 ], [ -1.257758, 52.738175 ], [ -1.257797, 52.738189 ], [ -1.257819, 52.738196 ], [ -1.257835, 52.738203 ], [ -1.257841, 52.738206 ], [ -1.257856, 52.738214 ], [ -1.257881, 52.738226 ], [ -1.257916, 52.738245 ], [ -1.257962, 52.738266 ], [ -1.257989, 52.738280 ], [ -1.258195, 52.738364 ], [ -1.258303, 52.738405 ], [ -1.258415, 52.738451 ], [ -1.258470, 52.738473 ], [ -1.258527, 52.738496 ], [ -1.258549, 52.738504 ], [ -1.258570, 52.738512 ], [ -1.258576, 52.738516 ], [ -1.258584, 52.738519 ], [ -1.258593, 52.738521 ], [ -1.258603, 52.738523 ], [ -1.258620, 52.738528 ], [ -1.258642, 52.738535 ], [ -1.258677, 52.738545 ], [ -1.258734, 52.738563 ], [ -1.259144, 52.738686 ], [ -1.259375, 52.738756 ], [ -1.259447, 52.738778 ], [ -1.259493, 52.738791 ], [ -1.259538, 52.738804 ], [ -1.259571, 52.738816 ], [ -1.259610, 52.738832 ], [ -1.259655, 52.738853 ], [ -1.259695, 52.738873 ], [ -1.259735, 52.738897 ], [ -1.259764, 52.738912 ], [ -1.259792, 52.738928 ], [ -1.259837, 52.738959 ], [ -1.259858, 52.738976 ], [ -1.259876, 52.738993 ], [ -1.259892, 52.739008 ], [ -1.259904, 52.739025 ], [ -1.259920, 52.739053 ], [ -1.259927, 52.739068 ], [ -1.259929, 52.739072 ], [ -1.259932, 52.739091 ], [ -1.259933, 52.739112 ], [ -1.259936, 52.739133 ], [ -1.259935, 52.739144 ], [ -1.259938, 52.739154 ], [ -1.259938, 52.739164 ], [ -1.259941, 52.739187 ], [ -1.259940, 52.739198 ], [ -1.259942, 52.739209 ], [ -1.259942, 52.739221 ], [ -1.259934, 52.739243 ], [ -1.259929, 52.739265 ], [ -1.259925, 52.739275 ], [ -1.259917, 52.739294 ], [ -1.259901, 52.739330 ], [ -1.259881, 52.739361 ], [ -1.259843, 52.739417 ], [ -1.259821, 52.739446 ], [ -1.259758, 52.739475 ], [ -1.259752, 52.739477 ], [ -1.259682, 52.739504 ], [ -1.259610, 52.739527 ], [ -1.259522, 52.739554 ], [ -1.259517, 52.739555 ], [ -1.259493, 52.739563 ], [ -1.259472, 52.739572 ], [ -1.259457, 52.739581 ], [ -1.259443, 52.739591 ], [ -1.259359, 52.739653 ], [ -1.259282, 52.739711 ], [ -1.259256, 52.739736 ], [ -1.259254, 52.739743 ], [ -1.259242, 52.739770 ], [ -1.259209, 52.739851 ], [ -1.259186, 52.739919 ], [ -1.259156, 52.740004 ], [ -1.259105, 52.740090 ], [ -1.259090, 52.740117 ], [ -1.259076, 52.740144 ], [ -1.259057, 52.740191 ], [ -1.259010, 52.740314 ], [ -1.258963, 52.740432 ], [ -1.258910, 52.740408 ], [ -1.258888, 52.740397 ], [ -1.258867, 52.740385 ], [ -1.258840, 52.740368 ], [ -1.258815, 52.740348 ], [ -1.258740, 52.740261 ], [ -1.258687, 52.740198 ], [ -1.258669, 52.740176 ], [ -1.258661, 52.740155 ], [ -1.258637, 52.740105 ], [ -1.258609, 52.740054 ], [ -1.258607, 52.740048 ], [ -1.258573, 52.740020 ], [ -1.258487, 52.739979 ], [ -1.258390, 52.739932 ], [ -1.258204, 52.739909 ], [ -1.258151, 52.739904 ], [ -1.258141, 52.739903 ], [ -1.258079, 52.739893 ], [ -1.258028, 52.739883 ], [ -1.257979, 52.739871 ], [ -1.257790, 52.739824 ], [ -1.257688, 52.739797 ], [ -1.257679, 52.739794 ], [ -1.257643, 52.739770 ], [ -1.257521, 52.739627 ], [ -1.257432, 52.739518 ], [ -1.257349, 52.739428 ], [ -1.257299, 52.739373 ], [ -1.257271, 52.739343 ], [ -1.257261, 52.739332 ], [ -1.257252, 52.739319 ], [ -1.257246, 52.739306 ], [ -1.257217, 52.739277 ], [ -1.257206, 52.739268 ], [ -1.257182, 52.739239 ], [ -1.257171, 52.739222 ], [ -1.257155, 52.739208 ], [ -1.257138, 52.739194 ], [ -1.257096, 52.739158 ], [ -1.257059, 52.739131 ], [ -1.257006, 52.739091 ], [ -1.256962, 52.739061 ], [ -1.256911, 52.739034 ], [ -1.256874, 52.739014 ], [ -1.256839, 52.738999 ], [ -1.256812, 52.738986 ], [ -1.256793, 52.738976 ], [ -1.256755, 52.738959 ], [ -1.256712, 52.738940 ], [ -1.256679, 52.738925 ], [ -1.256617, 52.738894 ], [ -1.256585, 52.738879 ], [ -1.256556, 52.738865 ], [ -1.256534, 52.738853 ], [ -1.256511, 52.738841 ], [ -1.256457, 52.738815 ], [ -1.256413, 52.738793 ] ] ] },
"properties": {"version":7}
},
{ "type": "Feature",
"geometry": { "type": "Polygon", "coordinates": [ [ [ -1.254675, 52.739368 ], [ -1.254786, 52.739352 ], [ -1.254973, 52.739345 ], [ -1.255113, 52.739334 ], [ -1.255133, 52.739264 ], [ -1.255141, 52.739235 ], [ -1.255144, 52.739236 ], [ -1.255199, 52.739241 ], [ -1.255195, 52.739218 ], [ -1.255185, 52.739196 ], [ -1.255157, 52.739151 ], [ -1.255118, 52.739093 ], [ -1.255002, 52.738914 ], [ -1.254981, 52.738888 ], [ -1.254956, 52.738861 ], [ -1.254949, 52.738852 ], [ -1.254941, 52.738842 ], [ -1.254923, 52.738826 ], [ -1.254895, 52.738796 ], [ -1.254873, 52.738772 ], [ -1.254856, 52.738755 ], [ -1.255332, 52.738546 ], [ -1.255447, 52.738576 ], [ -1.255577, 52.738608 ], [ -1.255685, 52.738634 ], [ -1.255808, 52.738666 ], [ -1.255955, 52.738705 ], [ -1.256055, 52.738735 ], [ -1.256142, 52.738765 ], [ -1.256212, 52.738789 ], [ -1.256250, 52.738804 ], [ -1.256287, 52.738818 ], [ -1.256382, 52.738860 ], [ -1.256476, 52.738900 ], [ -1.256578, 52.738947 ], [ -1.256702, 52.739001 ], [ -1.256736, 52.739015 ], [ -1.256769, 52.739030 ], [ -1.256813, 52.739057 ], [ -1.256865, 52.739086 ], [ -1.256890, 52.739099 ], [ -1.256915, 52.739113 ], [ -1.256927, 52.739120 ], [ -1.256939, 52.739128 ], [ -1.256962, 52.739150 ], [ -1.256993, 52.739176 ], [ -1.257017, 52.739198 ], [ -1.257029, 52.739211 ], [ -1.257042, 52.739224 ], [ -1.257054, 52.739238 ], [ -1.257061, 52.739251 ], [ -1.257088, 52.739277 ], [ -1.257122, 52.739309 ], [ -1.257188, 52.739372 ], [ -1.257266, 52.739454 ], [ -1.257359, 52.739552 ], [ -1.257226, 52.739616 ], [ -1.257017, 52.739714 ], [ -1.256812, 52.739811 ], [ -1.256596, 52.739914 ], [ -1.256441, 52.739985 ], [ -1.256297, 52.740054 ], [ -1.256149, 52.740121 ], [ -1.256083, 52.740152 ], [ -1.255912, 52.740036 ], [ -1.255872, 52.740009 ], [ -1.255834, 52.739982 ], [ -1.255769, 52.739927 ], [ -1.255638, 52.739817 ], [ -1.255503, 52.739700 ], [ -1.255409, 52.739621 ], [ -1.255346, 52.739630 ], [ -1.255315, 52.739635 ], [ -1.255283, 52.739638 ], [ -1.255156, 52.739638 ], [ -1.255019, 52.739640 ], [ -1.254943, 52.739639 ], [ -1.254907, 52.739632 ], [ -1.254870, 52.739625 ], [ -1.254763, 52.739537 ], [ -1.254689, 52.739429 ], [ -1.254675, 52.739368 ] ] ] },
"properties": {"version":5}
}
]
}

 

 

 Any thoughts or comments from the community/ Alteryx developers?

 

Steven

steven4320555
8 - Asteroid

The GeoJson can be validated on http://geojson.io but not geojsonlint.com ; so I guess it is a compatibility issue. 

 

Labels