예제 #1
0
 public static MemoryDataSource CreateFromPBFStream(Stream stream)
 {
     return(MemoryDataSource.CreateFrom((OsmStreamSource) new PBFOsmStreamSource(stream)));
 }
예제 #2
0
 /// <summary>
 /// Creates a new memory data source from all the data in the given osm pbf stream.
 /// </summary>
 /// <param name="stream"></param>
 /// <returns></returns>
 public static MemoryDataSource CreateFromPBFStream(Stream stream)
 {
     return(MemoryDataSource.CreateFrom(new PBF.Processor.PBFOsmStreamSource(stream)));
 }
예제 #3
0
 /// <summary>
 /// Creates a new memory data source from all the data in the given osm pbf stream.
 /// </summary>
 /// <param name="stream"></param>
 /// <returns></returns>
 public static MemoryDataSource CreateFromPBFStream(Stream stream)
 {
     return(MemoryDataSource.CreateFrom(new OsmSharp.Osm.PBF.Streams.PBFOsmStreamSource(stream)));
 }
예제 #4
0
 /// <summary>
 /// Creates a new memory data source from all the data in the given osm xml stream.
 /// </summary>
 /// <param name="stream"></param>
 /// <returns></returns>
 public static MemoryDataSource CreateFromXmlStream(Stream stream)
 {
     return(MemoryDataSource.CreateFrom(new Xml.Processor.XmlOsmStreamSource(stream)));
 }
예제 #5
0
 /// <summary>
 /// Creates a new memory data source from all the data in the given osm xml stream.
 /// </summary>
 /// <param name="stream"></param>
 /// <returns></returns>
 public static MemoryDataSource CreateFromXmlStream(Stream stream)
 {
     return(MemoryDataSource.CreateFrom(new OsmSharp.Osm.Xml.Streams.XmlOsmStreamSource(stream)));
 }