From c2f7844868a3602453e4f72a0c13dec7e3d24020 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Michaud?= Date: Sun, 17 Nov 2024 10:30:28 +0100 Subject: [PATCH] accept geojson as a valid file extension --- .../jump/io/datasource/StandardReaderWriterFileDataSource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/vividsolutions/jump/io/datasource/StandardReaderWriterFileDataSource.java b/src/com/vividsolutions/jump/io/datasource/StandardReaderWriterFileDataSource.java index f17682166..e11466f7a 100644 --- a/src/com/vividsolutions/jump/io/datasource/StandardReaderWriterFileDataSource.java +++ b/src/com/vividsolutions/jump/io/datasource/StandardReaderWriterFileDataSource.java @@ -136,7 +136,7 @@ public Shapefile() { public static class GeoJSON extends ClassicReaderWriterFileDataSource { public GeoJSON() { - super(new GeoJSONReader(), new GeoJSONWriter(), new String[] { "json" }); + super(new GeoJSONReader(), new GeoJSONWriter(), new String[] { "json", "geojson" }); } }