Skip to main content

mapstyler_gdal_adapter 0.1.0 copy "mapstyler_gdal_adapter: ^0.1.0" to clipboard
mapstyler_gdal_adapter: ^0.1.0 copied to clipboard

GDAL/OGR-based geodata adapter — loads vector features from Shapefiles, GeoJSON, GeoPackage and 100+ other formats into StyledFeatureCollection.

140/ 160
pub points
10
downloads

We analyzed this package 5 days ago, and awarded it 140 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

22 out of 28 API elements (78.6 %) have documentation comments.

Some symbols that are missing documentation: mapstyler_gdal_adapter.ConvertedGeometry.ConvertedGeometry.new, mapstyler_gdal_adapter.ConvertedGeometry.geometries, mapstyler_gdal_adapter.ConvertedGeometry.warning, mapstyler_gdal_adapter.LoadVectorMultiScaleResult.LoadVectorMultiScaleResult.new, mapstyler_gdal_adapter.LoadVectorResult.LoadVectorResult.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:mapstyler_gdal_adapter/mapstyler_gdal_adapter.dart that imports:
  • package:mapstyler_gdal_adapter/src/load_vector_file_sync.dart that imports:
  • package:mapstyler_gdal_adapter/src/geometry_converter.dart that imports:
  • package:gdal_dart/gdal_dart.dart that imports:
  • package:gdal_dart/src/vector_dataset.dart that imports:
  • package:gdal_dart/src/ogr_layer.dart that imports:
  • package:gdal_dart/src/spatial_reference.dart that imports:
  • package:gdal_dart/src/native/gdal_srs.dart that imports:
  • package:gdal_dart/src/native/gdal_memory.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Statements in a while should be enclosed in a block.

lib/src/load_vector_file_sync.dart:261:33

    ╷
261 │   while (x > 3.141592653589793) x -= 2 * 3.141592653589793;
    │                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/load_vector_file_sync.dart

INFO: Statements in a while should be enclosed in a block.

lib/src/load_vector_file_sync.dart:262:34

    ╷
262 │   while (x < -3.141592653589793) x += 2 * 3.141592653589793;
    │                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/load_vector_file_sync.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
gdal_dart ^0.2.1 0.2.4 0.2.4
mapstyler_style ^0.1.1 0.1.1 0.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
ffi - 2.2.0 2.2.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
10
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

GDAL/OGR-based geodata adapter — loads vector features from Shapefiles, GeoJSON, GeoPackage and 100+ other formats into StyledFeatureCollection.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

gdal_dart, mapstyler_style

More

Packages that depend on mapstyler_gdal_adapter