Skip to content

GeoJsonDataSource should have a process method similar to CzmlDataSource #9275

Open
@thw0rted

Description

@thw0rted

The current implementation of GeoJsonDataSource does not give any way to dynamically load features in multiple batches, because it always clears the entity collection when load is called. CzmlDataSource offers a process method which simply calls the underlying (private) load method without clearing existing entities. This method should be added to GeoJsonDataSource for consistency.

(I previously had a comment here about doing the same thing for KmlDataSource, but on reflection that doesn't make sense. CZML and GeoJson are based on packets/features and it makes sense to support stream-wise loading; KML is a document format that usually includes e.g. style references and it makes sense to only support loading when the whole thing is available.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions