-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change for a more strict geojson handling.
- Do not handle m coordinate. - Raise for unknown geojson `type`. - Allow less strict polygons (not simple). Which is ok per spec. - Add various tests.
- Loading branch information
Showing
8 changed files
with
276 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# frozen_string_literal: true | ||
|
||
require "rgeo/geo_json" | ||
# Helper for bundler's `require: true` option. | ||
# See {file:lib/rgeo/geo_json/interface.rb} for documentation entry point. | ||
|
||
require_relative "rgeo/geo_json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
# frozen_string_literal: true | ||
|
||
require "rgeo" | ||
require "rgeo/geo_json/version" | ||
require "rgeo/geo_json/entities" | ||
require "rgeo/geo_json/coder" | ||
require "rgeo/geo_json/interface" | ||
require "multi_json" | ||
require "rgeo" | ||
|
||
module RGeo | ||
module GeoJSON | ||
class Error < RGeo::Error::RGeoError | ||
end | ||
end | ||
end | ||
|
||
require_relative "geo_json/version" | ||
require_relative "geo_json/entities" | ||
require_relative "geo_json/coder" | ||
require_relative "geo_json/interface" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.