era_geojson 0.1.1+4

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 40

era_geojson.dart

Geojson dart library

Usage

A simple usage example:

import 'package:era_geojson/era_geojson.dart';

void main() {
    var json = ...;//geojson data
    var collection = new FeatureCollection.fromJson(json);
    print(collection);
}

Status

Supports:

  • FeatureCollection

    • Feature
  • Geometry

    • Point
    • Multipoint
    • LineString
    • MultiLineString
    • Polygon
    • MultiPolygon
    • GeometryCollection

Features and bugs

Please file feature requests and bugs at the issue tracker.

Changelog

0.1.1+4

  • Added toString to GeometryCollection, MultiLineString, MultiPolygon and Polygon

0.1.1+3

  • Updated README.md

0.1.1+2

  • Fixed pub requirements

0.1.1+1

  • Added toString method to Feature and FeatureCollection
  • Added example to README.md and in example directory.

0.1.1

  • Created Feature and FeatureCollection

0.1.0

  • Created GeometryCollection
  • Added fromJson constructor to Geometry

0.0.9

  • Created MultiPolygon class

0.0.8

  • Created MultiLineString class

0.0.7

  • Created Polygon and LineStringListGeometry

0.0.6

  • Created MultiPoint class
  • Moved LineString's parsing function to class PointListGeometry
  • Added documentation to LineString class

0.0.5

  • Created LineString class

0.0.4+2

  • Refactored Point class

0.0.4+1

  • Refactored some tests
  • Added documentation to Geometry and Point

0.0.4

  • Created Point class

0.0.3

  • Moved getCoordinates to Geometry class

0.0.3

  • Created getCoordinates method
  • Created Geometry base class

0.0.2+1

  • Added toString test for LatLng
  • Increased coverage to 100%
  • Added homepage to pubspec.yaml

0.0.2

  • Created LatLng

0.0.1

  • Initial version, created by Stagehand

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  era_geojson: "^0.1.1+4"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:era_geojson/era_geojson.dart';
        
Version Uploaded Documentation Archive
0.1.1+4 Aug 3, 2016 Go to the documentation of era_geojson 0.1.1+4 Download era_geojson 0.1.1+4 archive
0.1.1+3 Aug 2, 2016 Go to the documentation of era_geojson 0.1.1+3 Download era_geojson 0.1.1+3 archive
0.1.1+2 Aug 2, 2016 Go to the documentation of era_geojson 0.1.1+2 Download era_geojson 0.1.1+2 archive

Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • completed on Feb 3, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
99 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
50 / 100
Overall score:
Weighted score of the above. [more]
40

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:era_geojson/era_geojson.dart.

Suggestions

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <2.0.0
collection ^1.9.0 1.14.5
Dev dependencies
coverage ^0.7.3
dart_dev ^1.0.0
dart_style >=0.1.8 <0.3.0
dartdoc ^0.4.0
test ^0.12.0