Chris,
I had some time over lunch to look at this some more. I think I got it to work! Here's the updated app:
http://code.runnable.com/Vfig_eplbl55NWA1/terraformer-demo-for-node-js
Running this produces the following result from your demo JSON object:
{
"features" : [{
"type" : "Feature",
"geometry" : {
"type" : "Point",
"coordinates" : [-0.04996120589815041, 45.24017485407551],
"bbox" : [-0.04996120589815041, 45.24017485407551, -0.04996120589815041, 45.24017485407551]
},
"properties" : {
"EXTERNALNUM" : "FILE1",
"STATUS" : "OPEN",
"FILECLERK" : "JANE DOE",
"OBJECTID" : 1111111
},
"id" : 1111111,
"bbox" : [-0.04996120589815041, 45.24017485407551, -0.04996120589815041, 45.24017485407551]
}, {
"type" : "Feature",
"geometry" : {
"type" : "Point",
"coordinates" : [-0.04024912410280926, 45.31520080539314],
"bbox" : [-0.04024912410280926, 45.31520080539314, -0.04024912410280926, 45.31520080539314]
},
"properties" : {
"EXTERNALNUM" : "FILE2",
"STATUS" : "HOLD",
"FILECLERK" : "BOB BROWN",
"OBJECTID" : 2222222
},
"id" : 2222222,
"bbox" : [-0.04024912410280926, 45.31520080539314, -0.04024912410280926, 45.31520080539314]
}
],
"type" : "FeatureCollection",
"bbox" : [-0.04996120589815041, 45.24017485407551, -0.04024912410280926, 45.31520080539314]
}
This works perfectly in Ogre:
Only thing to be aware of, the console log in the Runnable app puts in newlines. I copied the output into Notepad++, then use The JSTool >> JSFormater to pretty print and make it human readable. You can use any pretty print tool - I just needed to easily find where console.log was adding newlines. It probably wont matter if you write to file... I think it's something wonky with JSON stringify.
Also, Terraformer should allow you to adjust your PK, but I just changed it to OBJECTID as I had time getting it to work. Probably PEBKAC, but here's the documentation on it:
Terraformer
So, you could keep RPID instead of the default OBJECTID.
Hope this helped you!