Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved: Geo data for Romania; the 42 counties #835

Merged
merged 5 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
108 changes: 108 additions & 0 deletions framework/common/data/GeoData_RO.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

<entity-engine-xml>
<Geo abbreviation="AB" geoCode="AB" geoId="RO-AB" geoName="Alba" geoTypeId="COUNTY"/>
<Geo abbreviation="AG" geoCode="AG" geoId="RO-AG" geoName="Arges" geoTypeId="COUNTY"/>
<Geo abbreviation="AR" geoCode="AR" geoId="RO-AR" geoName="Arad" geoTypeId="COUNTY"/>
<Geo abbreviation="B" geoCode="B" geoId="RO-B" geoName="Bucuresti" geoTypeId="COUNTY"/>
<Geo abbreviation="BC" geoCode="BC" geoId="RO-BC" geoName="Bacau" geoTypeId="COUNTY"/>
<Geo abbreviation="BH" geoCode="BH" geoId="RO-BH" geoName="Bihor" geoTypeId="COUNTY"/>
<Geo abbreviation="BN" geoCode="BN" geoId="RO-BN" geoName="Bistrita-Nasaud" geoTypeId="COUNTY"/>
<Geo abbreviation="BR" geoCode="BR" geoId="RO-BR" geoName="Braila" geoTypeId="COUNTY"/>
<Geo abbreviation="BT" geoCode="BT" geoId="RO-BT" geoName="Botosani" geoTypeId="COUNTY"/>
<Geo abbreviation="BV" geoCode="BV" geoId="RO-BV" geoName="Brasov" geoTypeId="COUNTY"/>
<Geo abbreviation="BZ" geoCode="BZ" geoId="RO-BZ" geoName="Buzau" geoTypeId="COUNTY"/>
<Geo abbreviation="CJ" geoCode="CJ" geoId="RO-CJ" geoName="Cluj" geoTypeId="COUNTY"/>
<Geo abbreviation="CL" geoCode="CL" geoId="RO-CL" geoName="Calarasi" geoTypeId="COUNTY"/>
<Geo abbreviation="CS" geoCode="CS" geoId="RO-CS" geoName="Caras-Severin" geoTypeId="COUNTY"/>
<Geo abbreviation="CT" geoCode="CT" geoId="RO-CT" geoName="Constanta" geoTypeId="COUNTY"/>
<Geo abbreviation="CV" geoCode="CV" geoId="RO-CV" geoName="Covasna" geoTypeId="COUNTY"/>
<Geo abbreviation="DB" geoCode="DB" geoId="RO-DB" geoName="Dambovita" geoTypeId="COUNTY"/>
<Geo abbreviation="DJ" geoCode="DJ" geoId="RO-DJ" geoName="Dolj" geoTypeId="COUNTY"/>
<Geo abbreviation="GJ" geoCode="GJ" geoId="RO-GJ" geoName="Gorj" geoTypeId="COUNTY"/>
<Geo abbreviation="GL" geoCode="GL" geoId="RO-GL" geoName="Galati" geoTypeId="COUNTY"/>
<Geo abbreviation="GR" geoCode="GR" geoId="RO-GR" geoName="Giurgiu" geoTypeId="COUNTY"/>
<Geo abbreviation="HD" geoCode="HD" geoId="RO-HD" geoName="Hunedoara" geoTypeId="COUNTY"/>
<Geo abbreviation="HR" geoCode="HR" geoId="RO-HR" geoName="Harghita" geoTypeId="COUNTY"/>
<Geo abbreviation="IF" geoCode="IF" geoId="RO-IF" geoName="Ilfov" geoTypeId="COUNTY"/>
<Geo abbreviation="IL" geoCode="IL" geoId="RO-IL" geoName="Ialomita" geoTypeId="COUNTY"/>
<Geo abbreviation="IS" geoCode="IS" geoId="RO-IS" geoName="Iasi" geoTypeId="COUNTY"/>
<Geo abbreviation="MH" geoCode="MH" geoId="RO-MH" geoName="Mehedinti" geoTypeId="COUNTY"/>
<Geo abbreviation="MM" geoCode="MM" geoId="RO-MM" geoName="Maramures" geoTypeId="COUNTY"/>
<Geo abbreviation="MS" geoCode="MS" geoId="RO-MS" geoName="Mures" geoTypeId="COUNTY"/>
<Geo abbreviation="NT" geoCode="NT" geoId="RO-NT" geoName="Neamt" geoTypeId="COUNTY"/>
<Geo abbreviation="OT" geoCode="OT" geoId="RO-OT" geoName="Olt" geoTypeId="COUNTY"/>
<Geo abbreviation="PH" geoCode="PH" geoId="RO-PH" geoName="Prahova" geoTypeId="COUNTY"/>
<Geo abbreviation="SB" geoCode="SB" geoId="RO-SB" geoName="Sibiu" geoTypeId="COUNTY"/>
<Geo abbreviation="SJ" geoCode="SJ" geoId="RO-SJ" geoName="Salaj" geoTypeId="COUNTY"/>
<Geo abbreviation="SM" geoCode="SM" geoId="RO-SM" geoName="Satu Mare" geoTypeId="COUNTY"/>
<Geo abbreviation="SV" geoCode="SV" geoId="RO-SV" geoName="Suceava" geoTypeId="COUNTY"/>
<Geo abbreviation="TL" geoCode="TL" geoId="RO-TL" geoName="Tulcea" geoTypeId="COUNTY"/>
<Geo abbreviation="TM" geoCode="TM" geoId="RO-TM" geoName="Timis" geoTypeId="COUNTY"/>
<Geo abbreviation="TR" geoCode="TR" geoId="RO-TR" geoName="Teleorman" geoTypeId="COUNTY"/>
<Geo abbreviation="VL" geoCode="VL" geoId="RO-VL" geoName="Valcea" geoTypeId="COUNTY"/>
<Geo abbreviation="VN" geoCode="VN" geoId="RO-VN" geoName="Vrancea" geoTypeId="COUNTY"/>
<Geo abbreviation="VS" geoCode="VS" geoId="RO-VS" geoName="Vaslui" geoTypeId="COUNTY"/>


<GeoAssoc geoId="ROU" geoIdTo="RO-AB" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-AG" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-AR" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-B" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-BC" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-BH" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-BN" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-BR" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-BT" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-BV" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-BZ" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-CJ" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-CL" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-CS" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-CT" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-CV" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-DB" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-DJ" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-GJ" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-GL" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-GR" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-HD" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-HR" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-IF" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-IL" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-IS" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-MH" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-MM" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-MS" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-NT" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-OT" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-PH" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-SB" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-SJ" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-SM" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-SV" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-TL" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-TM" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-TR" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-VL" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-VN" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="ROU" geoIdTo="RO-VS" geoAssocTypeId="REGIONS"/>
</entity-engine-xml>
1 change: 1 addition & 0 deletions framework/common/ofbiz-component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ under the License.
<entity-resource type="data" reader-name="seed" loader="main" location="data/GeoData_NL.xml"/>
<entity-resource type="data" reader-name="seed" loader="main" location="data/GeoData_NZ.xml"/>
<entity-resource type="data" reader-name="seed" loader="main" location="data/GeoData_PL.xml"/>
<entity-resource type="data" reader-name="seed" loader="main" location="data/GeoData_RO.xml"/>
<entity-resource type="data" reader-name="seed" loader="main" location="data/GeoData_SV.xml"/>
<entity-resource type="data" reader-name="seed" loader="main" location="data/GeoData_TH.xml"/>
<entity-resource type="data" reader-name="seed" loader="main" location="data/GeoData_UK.xml"/>
Expand Down
Loading