Merge pull request #2485 from mmd-osm/patch/json2
JSON output nodes, ways, relations, map
This commit is contained in:
commit
73c95847a6
43 changed files with 566 additions and 13 deletions
|
@ -12,6 +12,10 @@ module GeoRecord
|
|||
def to_s
|
||||
format("%.7f", self)
|
||||
end
|
||||
|
||||
def as_json(_)
|
||||
format("%.7f", self).to_f
|
||||
end
|
||||
end
|
||||
|
||||
# This scaling factor is used to convert between the float lat/lon that is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue