Select to view content in your preferred language

GeoJSON to FS working.. but point geoms not appearing in FS

119
1
3 weeks ago
cweir
by
Emerging Contributor

I've successfully created a geoevent service that polls an external website for GeoJSON and adds that data to a FS. The problem I'm having is only the FS table is being populated... no point geometries are showing up.

Below is the GeoJSON structure. I should mention there are "Polygon" features in the featureCollection.

{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [-70.629598999794, 43.8801679996535]
      },
      "properties": {
        "RecordId": 177,
        "UtilityId": 1,
        "OutageId": "null",
        "CustomersOut": 13,
        "OutageCause": "System Upgrade",
        "EstimatedRestoration": "2025-04-25T19:00:00Z",
        "DateTimeRecorded": "2025-04-25T15:13:17Z"
      }
    }
}

 
Below is the auto-generated definition.

geojson_def.png

...What am I missing here?

Other bonus question 😁:
- how can I prevent duplicate rows being created after each poll?

0 Kudos
1 Reply
Gene_Sipes
Frequent Contributor

It may have something to do with the mixed geometries. I would try outputting to two hosted feature services, one for the points, and one for the polygons. You might have to create two event definitions, one to point to the polygon and one to point to the point feature class. Also to prevent duplicates, make sure this option is checked within the input. 

Gene_Sipes_0-1745855870487.png

 

0 Kudos