Exemple #1
0
 /// <summary>
 /// Run the given Overpass query, cenvert the result to GeoJSON and write it to the given file.
 /// </summary>
 /// <param name="OverpassQuery">An Overpass query.</param>
 /// <param name="Filename">A file name.</param>
 public static Task <JObject> ToGeoJSONFile(this OverpassQuery OverpassQuery, String Filename)
 {
     return(OverpassQuery.
            RunQuery().
            ToGeoJSONFile(Filename));
 }
Exemple #2
0
 /// <summary>
 /// Run the given Overpass query and convert the result to GeoJSON.
 /// </summary>
 /// <param name="OverpassQuery">An Overpass query.</param>
 public static Task <JObject> ToGeoJSON(this OverpassQuery OverpassQuery)
 {
     return(OverpassQuery.
            RunQuery().
            ToGeoJSON());
 }
Exemple #3
0
 /// <summary>
 /// Run the given Overpass query and write the result to the given file.
 /// </summary>
 /// <param name="OverpassQuery">An Overpass query.</param>
 /// <param name="Filename">A file name.</param>
 public static Task <OverpassResult> ToFile(this OverpassQuery OverpassQuery, String Filename)
 {
     return(OverpassQuery.
            RunQuery().
            ToFile(Filename));
 }