Points of Interest (POI) can be imported into the system. They can be imported from either another GpsGate installation or from a completely different system.
1. Install the Point of Interest plugin in Site Admin > Plugins.
2. Enable the following privileges in your application properties:
Files format to import
Basic CSV file
The file to import should be in CSV format, and each field separated by a comma (,). Values within the fields such as latitude/longitude should contain dots (.) not commas.
To be able to import a POI you'll need at least the following fields: Latitude,Longitude,Name
An example of the file content you should import:
CSV file that avoids duplicated entries
To be able to import a POI without duplicating entries you need to use the column name
This column should contain a unique numeric value for each row. It doesn't necessarily have to start with 0 or 1, you could use any number you want as long as it doesn't repeat itself.
Example of this content with Custom ID
Every time you import the file, it will update the content of the row containing that _Custom ID number. If no _Custom ID exists it will create a new row.
<?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Placemark id="statueofliberty"> <name>Statue of Liberty</name> <description>New York</description> <Point> <coordinates>40.68939,-74.04476,0</coordinates> </Point> <ExtendedData> <Data name="phone number"> <value>+1555123123</value> </Data> <Data name="webpage"> <value>http://www.nps.gov/stli/index.htm</value> </Data> </ExtendedData> </Placemark> </kml>
To import POIs, follow these steps:
1. Enable your Point of Interest panel by clicking in Windows > Point of Interest
2. Select the advanced menu and click in Import
3. Select Upload file button to select the CSV or KML file
4. Click on Import
If successful you will see this message: