public class GeojsonUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
openGeoJsonInBrowserWithGeojsonIO(Map<String,org.wololo.geojson.FeatureCollection> featureCollections)
All filename-
Feature pairs will be displayed in your default browser via the
geojson.io website. |
static void |
openGeoJsonInBrowserWithGitHubGist(Map<String,org.wololo.geojson.FeatureCollection> featureCollections)
All filename-
Feature pairs will be displayed in your default browser via the
api.github.com/gists website. |
public static void openGeoJsonInBrowserWithGeojsonIO(Map<String,org.wololo.geojson.FeatureCollection> featureCollections) throws IOException
Feature pairs will be displayed in your default browser via the
geojson.io website. Requires connection to the internet. (Only EPSG:4326 (WGS84) mode tested)featureCollections - map of fileNames to their respective contents (i.e. the FeatureCollection)IOException - if errors during parsing or execution occurredpublic static void openGeoJsonInBrowserWithGitHubGist(Map<String,org.wololo.geojson.FeatureCollection> featureCollections) throws IOException
Feature pairs will be displayed in your default browser via the
api.github.com/gists website. Requires connection to the internet. (Only EPSG:4326 (WGS84) mode tested)
Has sometimes display errors - esp. if multiple FeatureCollections are to be shown in one page. In that case it is
suggested to use openGeoJsonInBrowserWithGeojsonIO(java.util.Map<java.lang.String, org.wololo.geojson.FeatureCollection>).featureCollections - map of fileNames and the respective contents (i.e. the FeatureCollection)IOException - if errors during parsing or execution occurredCopyright © 2017. All rights reserved.