Select to view content in your preferred language

Watch for GeoJson Files Oddity

204
1
Jump to solution
09-18-2024 10:28 AM
MeleKoneya
Frequent Contributor

I am pulling down GeoJson files from another organizations portal for fire calls as a FeatureCollection.

For the most part, it appears to be working well.

With GeoEvent I am using a watch folder for Geojson files

I have GeoJson files for the incidents, route, and units.

One issue I am having is that incident features in the FeatureCollection are not being processed that have these values 

"NATURE": "962MC",
"NATURE_DESC": "962 INVOLVING MOTORC ",

This is a specific example, but any GeoJson Event with Nature that begins with "962" does not create a point in the Add A Feature output 

The logs show this, but not much there 

Failed to create a GeoEvent from incoming JSON feature. Unexpected error occurred.

 

Very odd, any suggestions as to how to remedy this?

Thank you,

Mele

0 Kudos
1 Solution

Accepted Solutions
MeleKoneya
Frequent Contributor

I think I found the issue.   It is not with the "NATURE" field, but rather the X_STREET field.    The X_STREET field may have "\"   in the field.    Removing the X_STREET field from processing looks to have fixed the issue.

NATURE 962 is a vehicle accident and apparently the X_STREET may have characters in it that GeoEvent Server does not like to process.

 

View solution in original post

0 Kudos
1 Reply
MeleKoneya
Frequent Contributor

I think I found the issue.   It is not with the "NATURE" field, but rather the X_STREET field.    The X_STREET field may have "\"   in the field.    Removing the X_STREET field from processing looks to have fixed the issue.

NATURE 962 is a vehicle accident and apparently the X_STREET may have characters in it that GeoEvent Server does not like to process.

 

0 Kudos