Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed translated content for 'cs'
Sv translation
languageen

Shape maps in BellaDati need to be referenced to the shape files which are defined by geoJSON files. Steps below describe how to create geoJSON files for custom areas.

1. Download definition from geo portal

Geo definitions can be downloaded from various geo portal such as http://www.gadm.org/country. In this case select country and type of file Shapefile.

2. Transform Shapefile to GeoJSON

Use service which will allow you to transform Shapefile to geoJSON file. You can use for example http://mapshaper.org/

a) Unzip downloaded file

b) Select .shp and .dbf files for selected definition of country (province, subprovince etc.)

c) Select option simplify and simplify the GeoJSON to the lowest size (0.5% should be enough, analytic maps don't require high detail of areas)

d) Go to section export and select option export to GeoJSON

e) Now we need to define column which will be used as a name in geo data definition. For this should be use command line and command like -o id-field=NAME_2 where NAME_2 is code of the column which will be used as name

f) click Export to get the geo data definition with shapes

Steps how to import the shape definition and work with geo data definitions are described section Managing Geo data.

Sv translation
languagede

Formkarten in BellaDati müssen auf die Formdateien verweisen, die durch geoJSON-Dateien definiert sind. Die folgenden Schritte beschreiben, 

wie Sie geoJSON-Dateien für benutzerdefinierte Bereiche erstellen.

1. Definition aus dem Geoportal herunterladen

Geo-Definitionen können von verschiedenen Geoportalen heruntergeladen werden, wie z.B. http://www.gadm.org/country. In diesem Fall wählen Sie Land und Typ der Datei Shapefile.

2. Umwandeln von Shapefile in GeoJSON

Verwenden Sie den Dienst, mit dem Sie Shapefile in geoJSON-Datei umwandeln können. Sie können z.B. verwenden http://mapshaper.org/

a) Entpacken der heruntergeladenen Datei

b) Select.shp- und.dbf-Dateien für die ausgewählte Definition des Landes (Provinz, Unterprovinz usw.).

c) Wählen Sie die Option Vereinfachung und Vereinfachung des GeoJSON auf die niedrigste Größe (0,5% sollten ausreichen, analytische Karten erfordern keine hohen Details der Bereiche).

d) Go to section export and select option export to GeoJSON.

e) Nun müssen wir eine Spalte definieren, die als Name in der Geodatendefinition verwendet wird. Dazu sollte man die Kommandozeile und den Befehl -o id-field=NAME_2 verwenden, wobei NAME_2 der Code der Spalte ist, die als Name verwendet wird.

f) Klicken Sie auf Export, um die Geodatendefinition mit Shapes zu erhalten.

Steps how to import the shape definition and work with geo data definitions are described section Geodaten verwalten.
Schritte zum Importieren der Shape-Definition und zum Arbeiten mit Geodatendefinitionen sind im Abschnitt Geodaten verwalten beschrieben.

Sv translation
languageja

BellaDatiのshapeマップは、GeoJSONファイルで定義されたshapeファイルを参照する必要があります。以下の手順では、カスタムエリアのGeoJSONファイルを作成する方法について説明します。

1. Geoポータルから定義をダウンロード

地理定義は、http://www.gadm.org/countryなどの様々な地理ポータルからダウンロードできます。この場合、国とファイルの種類としてShapefileを選択します。

2. SHAPEFILEをGeoJSONに変換

ShapefileをGeoJSONファイルに変換できるサービスを使用します。例えば、http://mapshaper.org/が使用できます。

a) ダウンロードファイルを解凍します。

b) 国の選択された定義(州、準州など)のための、.shpおよび.dbfファイルを選択します。

c) オプションを選択すると、GeoJSONが最小サイズに簡素化されます(0.5%で十分であり、分析マップにはエリアの詳細は必要ありません)。

d) エクスポートセクションに移動し、GeoJSONへのエクスポートオプションを選択します。

e) 次に、地理データ定義で名前として使用される列を定義する必要があります。これには、コマンドラインと-o id-field=NAME_2のようなコマンドを使用する必要があります。NAME_2は、名前として使用される列のコードです。

f) [エクスポート]をクリックして、形状を含む地理データ定義を取得します。

形状定義をインポートして地理データ定義を操作する手順については、「Managing Geo Data」セクションで説明しています。