-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Description
using var new_stream = new FileInfo("f:\\Downloads\\east.osm").OpenRead();
OsmStreamSource new_map = new XmlOsmStreamSource(new_stream);
// Some actions
var osm = new_map.SerializeToXml();
I'm getting an exception:
System.InvalidOperationException: "To be XML serializable, types which inherit from IEnumerable must have an implementation of Add(System.Object) at all levels of their inheritance hierarchy. OsmSharp.Streams.OsmStreamSource does not implement Add(System.Object)."
How to fix it?
Or is there another way to save the edited osm file?
Metadata
Metadata
Assignees
Labels
No labels