era_geojson 0.1.1+4

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 21

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

Use this package as a library

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

Alternatively, your editor might support pub 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
Popularity:
Describes how popular the package is relative to other packages. [more]
41
Health:
Code health derived from static analysis. [more]
0
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0
Overall:
Weighted score of the above. [more]
21
Learn more about scoring.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://www.dartlang.org/dart-2#migration.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <2.0.0