[GIS] How to generate jVectorMap for United Kingdom (UK)

jvectormappythonunited-kingdom

I have shapefile for UK , i need to convert this to the jVectorMap
Here is my script

python ^
   converter.py ^
   ./shapefile/map.shp ^
   ./output/jquery-uk.js ^
   --width 400 ^
   --where "ISO = 'GBR'" ^
   --language en ^
   --country_name_index ? ^
   --country_code_index ? ^
   --minimal_area 40000 ^
   --buffer_distance -0.5 ^
   --simplify_tolerance 10000 ^
   --longitude0 ? ^
   --name UK

how to find the values(?) country_name_index, country_code_index and longitude0?

I have referred the following pages,

https://stackoverflow.com/questions/11068645/how-to-generate-a-new-map-for-jvectormap-jquery-plugin

http://jvectormap.com/documentation/gis-converter/

Best Answer

Finally, i found the values of --country_name_index and --country_code_index with the help of QGIS Browser,

Qgis Browser

Opened the shapefile using QGis Browser and then in the "Attributes" section the following things are found. It is based on zero indexed.

--country_name_index 6

--country_name_index 5

for --longitude0 -3.7(googled it) That's it! I got the output.

Thanks everyone