Our experience with Custom Feature Layers
Posted: Wed Jan 27, 2021 12:00 pm
Hi there,
I am currently working on an app that allows users to maintain short time road restrictions by using XDatas custom feature layers (for example when there is a construction site).
To give a quick overview of how we are planning to use it, you can click this .gif: You can see the result here: I wanted to give some constructive feedback on the functionality of XData, and would be happy to hear your thoughts.
1.) IMO the best way to select the affected segments in our use case is a combination of XRoute>calculateRoute and getSegmentsByIntersectingPolyline. This requires some additional computing since getSegmentsByIntersectingPolyline also returns segments that are adjacent to the original route. Being able to easily retrieve all segmentIDs of a given route would be very nice.
2.) Apart from using timeDomains, the maintenance of singular Features is not possible by default. It is only possible to delete a whole featureLayer, not single Features. For our use case, we need to maintain a database with all features. Whenever an existing one is deleted/edited, we collect the features from the database and overwrite the existing FeatureLayer.
3.) Given a specific SegmentID, it would be nice if we were able to request information to this segment, for example, it's Polyline.
Overall I think the XData has interesting features and I really enjoy working with it.
Let me know what you think of these suggestions.
Best Regards
I am currently working on an app that allows users to maintain short time road restrictions by using XDatas custom feature layers (for example when there is a construction site).
To give a quick overview of how we are planning to use it, you can click this .gif: You can see the result here: I wanted to give some constructive feedback on the functionality of XData, and would be happy to hear your thoughts.
1.) IMO the best way to select the affected segments in our use case is a combination of XRoute>calculateRoute and getSegmentsByIntersectingPolyline. This requires some additional computing since getSegmentsByIntersectingPolyline also returns segments that are adjacent to the original route. Being able to easily retrieve all segmentIDs of a given route would be very nice.
2.) Apart from using timeDomains, the maintenance of singular Features is not possible by default. It is only possible to delete a whole featureLayer, not single Features. For our use case, we need to maintain a database with all features. Whenever an existing one is deleted/edited, we collect the features from the database and overwrite the existing FeatureLayer.
3.) Given a specific SegmentID, it would be nice if we were able to request information to this segment, for example, it's Polyline.
Overall I think the XData has interesting features and I really enjoy working with it.
Let me know what you think of these suggestions.
Best Regards