Solved

FeatureMerger used with geometry duplicates coordinates


I have two datasets, one of tabular data and one of geometric data. I merge the two of them using a FeatureMerger (with Feature Merge Type set to "Attributes only").

When I try to write the data through a ArcGisOnline Writer, I get the "ArcGIS Online Feature Service Writer: Encountered a feature without a coordinate system. All features being written must have a coordinate system". From the translation log I also get the line

   Number of Coordinates: 27 -- Coordinate Dimension: 2
   (294813.33947753906,5044870.2619018555)(294822.10748291016,5044891.483886719)(294829.1926879883,5044888.6036987305)(294836.28631591797,5044885.723327637)(294843.37170410156,5044882.853088379)
   (294850.4735107422,5044879.972717285)(294857.5504760742,5044877.092529297)(294864.6441040039,5044874.222290039)(294871.72930908203,5044871.341918945)(294878.8065185547,5044868.461730957)
   ...Skipping coordinates...
   (294891.4180908203,5044838.588684082)(294884.3162841797,5044841.469116211)(294877.22271728516,5044844.349304199)(294870.12091064453,5044847.229675293)(294863.02728271484,5044850.109924316)
   (294855.9338989258,5044852.990112305)(294848.83209228516,5044855.870483398)(294841.73028564453,5044858.750671387)(294834.63671875,5044861.631103516)(294827.5266723633,5044864.511291504)
   (294820.4412841797,5044867.381530762)(294813.33947753906,5044870.2619018555)

 

I really don't understand what is happening and I don't how to fix this.

icon

Best answer by ebygomm 14 June 2019, 15:58

View original

3 replies

Userlevel 1
Badge +10

Have you tried a CoordinateSystemSetter?

Have you tried a CoordinateSystemSetter?

I am currently looking at it, but I am not quite sure what coordinate system I am using... I also noticed that when I run my workbench I sometimes get

Number of Coordinates: 9

So that makes me even more unsure as to what system to use

Userlevel 2
Badge +17

I am currently looking at it, but I am not quite sure what coordinate system I am using... I also noticed that when I run my workbench I sometimes get

Number of Coordinates: 9

So that makes me even more unsure as to what system to use

Hi @nademmy,

From the coordinate values, the coordinate system appears to be UTM. Do you know the world location of the data? This may help you to choose the UTM zone to use in the CoordinateSystemSetter. ie. UTM84-10N, where 10 is the zone.

Once you have set the coordinate system on the features, you can check its validity by sending the features to an Inspector. In the Data Inspector, enable background maps - this will use the coordinate system on the data to geo-locate it and display against a world map. If the data matches the background map, then you have chosen the right coordinate system.

If your data does not match the map by a large amount, then it may not be UTM, or you have chosen the wrong zone. If the mismatch is ~100-200m, then you may need to choose a different datum (ie. NAD27 instead of WGS84).

Reply