03-13-2018 01:33 AM
I'm trying to insert a linear event with the geomedia transportation manager tool "Insert LRS Event".
the LRS model is measure, event type is linear, event reference type is Coordinate. The coordinate fields are type double.
When I press the ok button I get message: "Event measure fields should be of type text!". I have to convert the data type measure fields in text so It works, but I want keep the numeric fields. How can I solve this issue?
Solved! Go to Solution.
03-13-2018 01:53 AM
If the dialog accepts queries, you can try to create a Functional Attribute query with function CAST and use the new field.
03-13-2018 02:53 AM
The dialog accepts the functional attribute query but I think the command must write new values on fields. When I click on LRS feature for begin distance/end distance then I get the message:
maybe It doesn't work because the new fields query can't be editable
maybe the only way is to create a new feature class with the type text fields...
03-14-2018 04:11 PM
You are correct that you cannot update a value that is the result of a functional expression. You are also correct that in this particular workflow you have little choice except to use text data type fields for the begin and end coordinate values. I suspect the purpose of forcing text is to more easily allow the user to collect values that contain characters other than numbers such as Lat / Long in DD:MMS.SSSS format. We see a similar behavior when calculating geographic coordinates using the Analyze Geometry command which always writes Lat and Long as TEXT fields.