Author: erwan
Date: Thu Apr 14 15:01:00 2011
New Revision: 1092320

URL: http://svn.apache.org/viewvc?rev=1092320&view=rev
Log:
A patch from Seweryn Niemiec, GeoData for Poland OFBIZ-4253

Added:
    ofbiz/trunk/framework/common/data/GeoData_PL.xml   (with props)
Modified:
    ofbiz/trunk/framework/common/ofbiz-component.xml

Added: ofbiz/trunk/framework/common/data/GeoData_PL.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/data/GeoData_PL.xml?rev=1092320&view=auto
==============================================================================
--- ofbiz/trunk/framework/common/data/GeoData_PL.xml (added)
+++ ofbiz/trunk/framework/common/data/GeoData_PL.xml Thu Apr 14 15:01:00 2011
@@ -0,0 +1,55 @@
+<?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="DŚ" geoCode="DŚ" geoId="PL-DŚ" 
geoName="dolnośląskie" geoTypeId="STATE"/>
+    <Geo abbreviation="KP" geoCode="KP" geoId="PL-KP" 
geoName="kujawsko-pomorskie" geoTypeId="STATE"/>
+    <Geo abbreviation="LB" geoCode="LB" geoId="PL-LB" geoName="lubelskie" 
geoTypeId="STATE"/>
+    <Geo abbreviation="LS" geoCode="LS" geoId="PL-LS" geoName="lubuskie" 
geoTypeId="STATE"/>
+    <Geo abbreviation="ŁD" geoCode="ŁD" geoId="PL-ŁD" geoName="łódzkie" 
geoTypeId="STATE"/>
+    <Geo abbreviation="MP" geoCode="MP" geoId="PL-MP" geoName="małopolskie" 
geoTypeId="STATE"/>
+    <Geo abbreviation="MZ" geoCode="MZ" geoId="PL-MZ" geoName="mazowieckie" 
geoTypeId="STATE"/>
+    <Geo abbreviation="OP" geoCode="OP" geoId="PL-OP" geoName="opolskie" 
geoTypeId="STATE"/>
+    <Geo abbreviation="PK" geoCode="PK" geoId="PL-PK" geoName="podkarpackie" 
geoTypeId="STATE"/>
+    <Geo abbreviation="PL" geoCode="PL" geoId="PL-PL" geoName="podlaskie" 
geoTypeId="STATE"/>
+    <Geo abbreviation="PM" geoCode="PM" geoId="PL-PM" geoName="pomorskie" 
geoTypeId="STATE"/>
+    <Geo abbreviation="ŚL" geoCode="ŚL" geoId="PL-ŚL" geoName="śląskie" 
geoTypeId="STATE"/>
+    <Geo abbreviation="ŚK" geoCode="ŚK" geoId="PL-ŚK" 
geoName="świętokrzyskie" geoTypeId="STATE"/>
+    <Geo abbreviation="WM" geoCode="WM" geoId="PL-WM" 
geoName="warmińsko-mazurskie" geoTypeId="STATE"/>
+    <Geo abbreviation="WP" geoCode="WP" geoId="PL-WP" geoName="wielkopolskie" 
geoTypeId="STATE"/>
+    <Geo abbreviation="ZP" geoCode="ZP" geoId="PL-ZP" 
geoName="zachodniopomorskie" geoTypeId="STATE"/>
+
+    <GeoAssoc geoId="POL" geoIdTo="PL-DŚ" geoAssocTypeId="REGIONS"/>
+    <GeoAssoc geoId="POL" geoIdTo="PL-KP" geoAssocTypeId="REGIONS"/>
+    <GeoAssoc geoId="POL" geoIdTo="PL-LB" geoAssocTypeId="REGIONS"/>
+    <GeoAssoc geoId="POL" geoIdTo="PL-LS" geoAssocTypeId="REGIONS"/>
+    <GeoAssoc geoId="POL" geoIdTo="PL-ŁD" geoAssocTypeId="REGIONS"/>
+    <GeoAssoc geoId="POL" geoIdTo="PL-MP" geoAssocTypeId="REGIONS"/>
+    <GeoAssoc geoId="POL" geoIdTo="PL-MZ" geoAssocTypeId="REGIONS"/>
+    <GeoAssoc geoId="POL" geoIdTo="PL-OP" geoAssocTypeId="REGIONS"/>
+    <GeoAssoc geoId="POL" geoIdTo="PL-PK" geoAssocTypeId="REGIONS"/>
+    <GeoAssoc geoId="POL" geoIdTo="PL-PL" geoAssocTypeId="REGIONS"/>
+    <GeoAssoc geoId="POL" geoIdTo="PL-PM" geoAssocTypeId="REGIONS"/>
+    <GeoAssoc geoId="POL" geoIdTo="PL-ŚL" geoAssocTypeId="REGIONS"/>
+    <GeoAssoc geoId="POL" geoIdTo="PL-ŚK" geoAssocTypeId="REGIONS"/>
+    <GeoAssoc geoId="POL" geoIdTo="PL-WM" geoAssocTypeId="REGIONS"/>
+    <GeoAssoc geoId="POL" geoIdTo="PL-WP" geoAssocTypeId="REGIONS"/>
+    <GeoAssoc geoId="POL" geoIdTo="PL-ZP" geoAssocTypeId="REGIONS"/> 
+</entity-engine-xml>

Propchange: ofbiz/trunk/framework/common/data/GeoData_PL.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/common/data/GeoData_PL.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/common/data/GeoData_PL.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: ofbiz/trunk/framework/common/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/ofbiz-component.xml?rev=1092320&r1=1092319&r2=1092320&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/ofbiz-component.xml (original)
+++ ofbiz/trunk/framework/common/ofbiz-component.xml Thu Apr 14 15:01:00 2011
@@ -45,6 +45,7 @@ under the License.
     <entity-resource type="data" reader-name="seed" loader="main" 
location="data/GeoData_IN.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" 
location="data/GeoData_IRL.xml"/>
     <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_PL.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" 
location="data/GeoData_UK.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" 
location="data/GeoData_US.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" 
location="data/GeoData_MX.xml"/>


Reply via email to