svn commit: r1798796 - /ofbiz/ofbiz-framework/trunk/framework/common/data/GeoData_IN.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1798796 - /ofbiz/ofbiz-framework/trunk/framework/common/data/GeoData_IN.xml

Deepak Dixit-5
Author: deepak
Date: Thu Jun 15 08:16:45 2017
New Revision: 1798796

URL: http://svn.apache.org/viewvc?rev=1798796&view=rev
Log:
Improved: Updated Geo data for India (OFBIZ-9406)
India has 29 states and 7 Union Territory. Need to update data as in data Union Territory also added as STATE,
used TERRITORY as GeoTypeId for Union Territories.

Applied patch from jira issue
- Updated geoTypeId for 7 union territory from STATE to TERRITORY
- Update geoName for Andaman And Nicobar it should be Andaman and Nicobar Islands
- Corrected geoName and gooId and other detail for Delhi union territory
- Corrected to the name for Jammu and Kashmir (And should be in lower camel case)
- Corrected name for Odisha (Orissa>> Odisha)
- Corrected geoName for Puducherry, also added wellKnownText = "Pondicherry"
- Corrected geoName for Tamil Nadu (Tamilnadu >> Tamil Nadu)
- Added data for new state Telangana
- Corrected geoName for Uttarakhand (Uttaranchal >> Uttarakhand)

Modified:
    ofbiz/ofbiz-framework/trunk/framework/common/data/GeoData_IN.xml

Modified: ofbiz/ofbiz-framework/trunk/framework/common/data/GeoData_IN.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/common/data/GeoData_IN.xml?rev=1798796&r1=1798795&r2=1798796&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/common/data/GeoData_IN.xml (original)
+++ ofbiz/ofbiz-framework/trunk/framework/common/data/GeoData_IN.xml Thu Jun 15 08:16:45 2017
@@ -19,40 +19,41 @@ under the License.
 -->
 
 <entity-engine-xml>
-    <Geo abbreviation="AN" geoCode="AN" geoId="IN-AN" geoName="Andaman And Nicobar" geoTypeId="STATE"/>
+    <Geo abbreviation="AN" geoCode="AN" geoId="IN-AN" geoName="Andaman and Nicobar Islands" geoTypeId="TERRITORY"/>
     <Geo abbreviation="AP" geoCode="AP" geoId="IN-AP" geoName="Andhra Pradesh" geoTypeId="STATE"/>
     <Geo abbreviation="AR" geoCode="AR" geoId="IN-AR" geoName="Arunachal Pradesh" geoTypeId="STATE"/>
     <Geo abbreviation="AS" geoCode="AS" geoId="IN-AS" geoName="Assam" geoTypeId="STATE"/>
     <Geo abbreviation="BR" geoCode="BR" geoId="IN-BR" geoName="Bihar" geoTypeId="STATE"/>
-    <Geo abbreviation="CH" geoCode="CH" geoId="IN-CH" geoName="Chandigarh" geoTypeId="STATE"/>
+    <Geo abbreviation="CH" geoCode="CH" geoId="IN-CH" geoName="Chandigarh" geoTypeId="TERRITORY"/>
     <Geo abbreviation="CT" geoCode="CT" geoId="IN-CT" geoName="Chhattisgarh" geoTypeId="STATE"/>
-    <Geo abbreviation="DN" geoCode="DN" geoId="IN-DN" geoName="Dadra And Nager Haveli" geoTypeId="STATE"/>
-    <Geo abbreviation="DD" geoCode="DD" geoId="IN-DD" geoName="Daman And Diu" geoTypeId="STATE"/>
+    <Geo abbreviation="DN" geoCode="DN" geoId="IN-DN" geoName="Dadra and Nagar Haveli" geoTypeId="TERRITORY"/>
+    <Geo abbreviation="DD" geoCode="DD" geoId="IN-DD" geoName="Daman and Diu" geoTypeId="TERRITORY"/>
+    <Geo abbreviation="DL" geoCode="DL" geoId="IN-DL" geoName="Delhi" geoTypeId="TERRITORY"/>
     <Geo abbreviation="GA" geoCode="GA" geoId="IN-GA" geoName="Goa" geoTypeId="STATE"/>
     <Geo abbreviation="GJ" geoCode="GJ" geoId="IN-GJ" geoName="Gujarat" geoTypeId="STATE"/>
     <Geo abbreviation="HR" geoCode="HR" geoId="IN-HR" geoName="Haryana" geoTypeId="STATE"/>
     <Geo abbreviation="HP" geoCode="HP" geoId="IN-HP" geoName="Himachal Pradesh" geoTypeId="STATE"/>
-    <Geo abbreviation="JK" geoCode="JK" geoId="IN-JK" geoName="Jammu And Kashmir" geoTypeId="STATE"/>
+    <Geo abbreviation="JK" geoCode="JK" geoId="IN-JK" geoName="Jammu and Kashmir" geoTypeId="STATE"/>
     <Geo abbreviation="JH" geoCode="JH" geoId="IN-JH" geoName="Jharkhand" geoTypeId="STATE"/>
     <Geo abbreviation="KA" geoCode="KA" geoId="IN-KA" geoName="Karnataka" geoTypeId="STATE"/>
     <Geo abbreviation="KL" geoCode="KL" geoId="IN-KL" geoName="Kerala" geoTypeId="STATE"/>
-    <Geo abbreviation="LD" geoCode="LD" geoId="IN-LD" geoName="Lakshadweep" geoTypeId="STATE"/>
+    <Geo abbreviation="LD" geoCode="LD" geoId="IN-LD" geoName="Lakshadweep" geoTypeId="TERRITORY"/>
     <Geo abbreviation="MP" geoCode="MP" geoId="IN-MP" geoName="Madhya Pradesh" geoTypeId="STATE"/>
     <Geo abbreviation="MH" geoCode="MH" geoId="IN-MH" geoName="Maharashtra" geoTypeId="STATE"/>
     <Geo abbreviation="MN" geoCode="MN" geoId="IN-MN" geoName="Manipur" geoTypeId="STATE"/>
     <Geo abbreviation="ML" geoCode="ML" geoId="IN-ML" geoName="Meghalaya" geoTypeId="STATE"/>
     <Geo abbreviation="MZ" geoCode="MZ" geoId="IN-MZ" geoName="Mizoram" geoTypeId="STATE"/>
     <Geo abbreviation="NL" geoCode="NL" geoId="IN-NL" geoName="Nagaland" geoTypeId="STATE"/>
-    <Geo abbreviation="ND" geoCode="ND" geoId="IN-ND" geoName="New Delhi" geoTypeId="STATE"/>
-    <Geo abbreviation="OR" geoCode="OR" geoId="IN-OR" geoName="Orissa" geoTypeId="STATE"/>
-    <Geo abbreviation="PY" geoCode="PY" geoId="IN-PY" geoName="Pondicherry" geoTypeId="STATE"/>
+    <Geo abbreviation="OR" geoCode="OR" geoId="IN-OR" geoName="Odisha" geoTypeId="STATE"/>
+    <Geo abbreviation="PY" geoCode="PY" geoId="IN-PY" geoName="Puducherry" wellKnownText="Pondicherry" geoTypeId="TERRITORY"/>
     <Geo abbreviation="PB" geoCode="PB" geoId="IN-PB" geoName="Punjab" geoTypeId="STATE"/>
     <Geo abbreviation="RJ" geoCode="RJ" geoId="IN-RJ" geoName="Rajasthan" geoTypeId="STATE"/>
     <Geo abbreviation="SK" geoCode="SK" geoId="IN-SK" geoName="Sikkim" geoTypeId="STATE"/>
-    <Geo abbreviation="TN" geoCode="TN" geoId="IN-TN" geoName="Tamilnadu" geoTypeId="STATE"/>
+    <Geo abbreviation="TN" geoCode="TN" geoId="IN-TN" geoName="Tamil Nadu" geoTypeId="STATE"/>
+    <Geo abbreviation="TG" geoCode="TG" geoId="IN-TG" geoName="Telangana" geoTypeId="STATE"/>
     <Geo abbreviation="TR" geoCode="TR" geoId="IN-TR" geoName="Tripura" geoTypeId="STATE"/>
     <Geo abbreviation="UP" geoCode="UP" geoId="IN-UP" geoName="Uttar Pradesh" geoTypeId="STATE"/>
-    <Geo abbreviation="UT" geoCode="UT" geoId="IN-UT" geoName="Uttaranchal" geoTypeId="STATE"/>
+    <Geo abbreviation="UT" geoCode="UT" geoId="IN-UT" geoName="Uttarakhand" geoTypeId="STATE"/>
     <Geo abbreviation="WB" geoCode="WB" geoId="IN-WB" geoName="West Bengal" geoTypeId="STATE"/>
 
      <GeoAssoc geoId="IND" geoIdTo="IN-AN" geoAssocTypeId="REGIONS"/>
@@ -79,7 +80,7 @@ under the License.
      <GeoAssoc geoId="IND" geoIdTo="IN-ML" geoAssocTypeId="REGIONS"/>
      <GeoAssoc geoId="IND" geoIdTo="IN-MZ" geoAssocTypeId="REGIONS"/>
      <GeoAssoc geoId="IND" geoIdTo="IN-NL" geoAssocTypeId="REGIONS"/>
-     <GeoAssoc geoId="IND" geoIdTo="IN-ND" geoAssocTypeId="REGIONS"/>
+     <GeoAssoc geoId="IND" geoIdTo="IN-DL" geoAssocTypeId="REGIONS"/>
      <GeoAssoc geoId="IND" geoIdTo="IN-OR" geoAssocTypeId="REGIONS"/>
      <GeoAssoc geoId="IND" geoIdTo="IN-PY" geoAssocTypeId="REGIONS"/>
      <GeoAssoc geoId="IND" geoIdTo="IN-PB" geoAssocTypeId="REGIONS"/>