module GeosparqlToGeojson

Namespace for classes and modules that deal with converting GeoSparql to GeoJSON @since 0.1.0

Namespace for classes and modules that deal with converting GeoSparql to GeoJSON

@since 0.1.0

Namespace for classes and modules that deal with converting GeoSparql to GeoJSON

@since 0.1.0

Namespace for classes and modules that deal with converting GeoSparql to GeoJSON

@since 0.1.0

Namespace for classes and modules that deal with converting GeoSparql to GeoJSON @since 0.1.0

Namespace for classes and modules that deal with converting GeoSparql to GeoJSON

@since 0.1.0

Namespace for classes and modules that deal with converting GeoSparql to GeoJSON

@since 0.1.0

Constants

VERSION

Public Class Methods

convert_to_geojson(geosparql_values: '', geosparql_properties: {}, reverse: false) click to toggle source

Convert GeoSparql to GeoJSON

@param [String] geosparql_values the GeoSparql values @param [Hash] geosparql_properties the properties to be added to the GeoJSON output @param [true, false] reverse states whether to reverse the GeoJSON coordinates

@return [GeosparqlToGeojson::GeoJson]

# File lib/geosparql_to_geojson.rb, line 18
def self.convert_to_geojson(geosparql_values: '', geosparql_properties: {}, reverse: false)
  GeosparqlToGeojson::Converter::BaseConverter.new(geosparql_values, geosparql_properties, reverse).convert
end