Class: RDF::Vocab::GEOJSON

Inherits:
StrictVocabulary show all
Defined in:
vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geojson.rb

Overview

Instance Attribute Summary collapse

Method Summary

Methods inherited from StrictVocabulary

[], strict?

Methods inherited from RDF::Vocabulary

[], #[], __prefix__, _orig_each, _orig_from_sym, camelize, each, each_statement, enum_for, expand_pname, find, find_term, from_graph, from_sym, imported_from, imports, #initialize, inspect, #inspect, limit_vocabs, list, method_missing, #method_missing, ontology, properties, property, strict?, to_html, to_iri, to_jsonld, #to_s, to_s, to_ttl, #to_uri, to_uri, value_to_html, vocab_map

Constructor Details

This class inherits a constructor from RDF::Vocabulary

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RDF::Vocabulary

Instance Attribute Details

#bboxRDF::Vocabulary::Term (readonly)

See RFC 7946 Section 5.



42
43
44
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geojson.rb', line 42

def bbox
  @bbox
end

#coordinatesRDF::Vocabulary::Term (readonly)

RFC 7946 Section 3.1.1.



46
47
48
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geojson.rb', line 46

def coordinates
  @coordinates
end

#FeatureRDF::Vocabulary::Term (readonly)

See RFC 7946 Section 3.2.



6
7
8
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geojson.rb', line 6

def Feature
  @Feature
end

#FeatureCollectionRDF::Vocabulary::Term (readonly)

See RFC 7946 Section 3.3.



10
11
12
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geojson.rb', line 10

def FeatureCollection
  @FeatureCollection
end

#featuresRDF::Vocabulary::Term (readonly)

RFC 7946 Section 3.3.



50
51
52
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geojson.rb', line 50

def features
  @features
end

#geometryRDF::Vocabulary::Term (readonly)

RFC 7946 Section 3.2.



54
55
56
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geojson.rb', line 54

def geometry
  @geometry
end

#GeometryCollectionRDF::Vocabulary::Term (readonly)

See RFC 7946 Section 3.1.8.



14
15
16
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geojson.rb', line 14

def GeometryCollection
  @GeometryCollection
end

#idRDF::Vocabulary::Term (readonly)

RFC 7946 Section 3.2.



58
59
60
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geojson.rb', line 58

def id
  @id
end

#LineStringRDF::Vocabulary::Term (readonly)

See RFC 7946 Section 3.1.4.



18
19
20
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geojson.rb', line 18

def LineString
  @LineString
end

#MultiLineStringRDF::Vocabulary::Term (readonly)

See RFC 7946 Section 3.1.5.



22
23
24
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geojson.rb', line 22

def MultiLineString
  @MultiLineString
end

#MultiPointRDF::Vocabulary::Term (readonly)

See RFC 7946 Section 3.1.3.



26
27
28
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geojson.rb', line 26

def MultiPoint
  @MultiPoint
end

#MultiPolygonRDF::Vocabulary::Term (readonly)

See RFC 7946 Section 3.1.7.



30
31
32
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geojson.rb', line 30

def MultiPolygon
  @MultiPolygon
end

#PointRDF::Vocabulary::Term (readonly)

See RFC 7946 Section 3.1.2.



34
35
36
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geojson.rb', line 34

def Point
  @Point
end

#PolygonRDF::Vocabulary::Term (readonly)

See RFC 7946 Section 3.1.6.



38
39
40
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geojson.rb', line 38

def Polygon
  @Polygon
end

#propertiesRDF::Vocabulary::Term (readonly)

RFC 7946 Section 3.2.



62
63
64
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geojson.rb', line 62

def properties
  @properties
end

#typeRDF::Vocabulary::Term (readonly)

RFC 7946 Section 3.



66
67
68
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geojson.rb', line 66

def type
  @type
end