From 3dac3aa1a580f04376a1c16d2416f34351b14adb Mon Sep 17 00:00:00 2001
From: Nawa
In Chimère the import mechanism is based on Import object. Theses objects +
In Chimère the import mechanism is based on Import object. These objects are stored in database to keep trace of imports and to facilitate the re-importation from the same source. In fact if possible the update of data from -a same type of source is managed. The ability to do such updates depends on the -existence of a unique id for each object on your source.
+a same type of source is managed. +Note
+The ability to do such updates depends on the existence of a unique id +for each object on your source.
+To add an Import object you need to go to Chimere > Imports then Add.
After that you’ll have to select your source type and then the form depends on -the type of source.
+this source type.
As the format of the CSV file managed by Chimère could vary depending on the -property you have add on your Chimère instance we recommend you to first do -an export of some items in CSV with Chimère. The CSV format of the exported -file will meet Chimère requirements. By the way because of the geometry of -the item this format is not very convenient to add new content but could -be handy to update informations.
+The format of the CSV file (number and order of columns) managed by Chimère +varies depending on the properties you have added on your Chimère instance. +So we recommend you to first do an export of some items in CSV with Chimère. +The CSV format of the exported file will meet Chimère requirements.
+By the way because of the geometry of the item this format is not very +convenient to add new content but could be handy to update informations.
+Warning
+If you mean to update existing data by this import, do not modify the +geometry column.
+
-To import from OSM Chimère uses the XAPI API of OSM.
+To import from OSM Chimère use the XAPI API of OSM.
Once your new import item created. Select it in the import object list, select -the Import action and validated.
-The import should be processing normally. If not an explicit error message -should be print in the state column of your import.
+Once your new import item created, select it in the import object list, choose +the Import action and validate.
+The import should be processing normally. If not, an explicit error message +should be printed in the state column of your import.
All new imported items have the state Imported. To make them available on -the map you’ll have to validate them. If you don’t want an item to be visible on -the map instead of delete them it is recommended to set them to the state +the map you’ll have to validate them. If you don’t want some items to be visible on +the map, instead of deleting them it is recommended to set them to the state Disabled.
Warning
@@ -183,8 +192,8 @@ is particularly important if you want to export your data to OSM.Directly from the geographic items list you -can export to the choose format. All you have to do is to select the desired +
Directly from the geographic items list you +can export to the chosen format. All you have to do is to select the desired items, choose the appropriate action in the action list and validate.
Warning
If you are not sure of what you are doing with OSM export: don’t do it! It is -really important to not mess with others data.
+really important to not mess with others’ data.Note
Only export of OSM nodes are managed.
OSM export is not that easily managed. First (if not yet done) you’ll have to -define an import (see above for details). This will permit +define an import (see above for details). This will enable to determine:
The OSM export in Chimère is designed to be the more preservative possible in regards to OSM database. That’s why before any export an import is done. If -the new import has updated data theses new data will overload data in your +the new import has updated data, these new data will overload data in your Chimère (if you don’t want that: don’t do export). All pending imported items should have been treated before doing an export.
To launch an export select the appropriate Import object in the imports list. Then select the Export to OSM action and validate. Then you’ll be asked for your OSM username and password and the API you want to -use. If you use regularly Chimère to do export it is recommended to create an +use. If you regularly use Chimère to do export, it is recommended to create an OSM specific account for that. The test API is available to make export test. If you want to use the test API you’ll have to create a specific account on the test platform.
Warning
-The data on the test platform are not synced with the main platform you are -not going to have the same data that you got with XAPI.
+The data on the test platform are not synced with the main platform. You won’t +have the same data than the ones you got with XAPI.
Once all this field filled you can (finally!) launch the export.
+Once all this field filled, you can (finally!) launch the export.
When exporting tags are automatically added/updated: