okestonia / opendata-issue-tracker

Community effort to open up more and more data in Estonia
http://opendata.ee
48 stars 5 forks source link

Add farmer's legal entities data to pria_avalik:pria_ehitised WFS service #152

Open tormi opened 5 years ago

tormi commented 5 years ago

Problem

PRIA collects farmer legal entity details along with farmers building's data, but this data is not available as open data via pria_avalik:pria_ehitised WFS service.

Proposal

Add the following farmer legal entity details to the pria_avalik:pria_ehitised WFS service:

Current chema

<xsd:schema xmlns:gml="http://www.opengis.net/gml" xmlns:pria_avalik="http://pria_avalik" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://pria_avalik">
<xsd:import namespace="http://www.opengis.net/gml" schemaLocation="https://kls.pria.ee:443/geoserver/schemas/gml/2.1.2/feature.xsd"/>
<xsd:complexType name="pria_ehitisedType">
<xsd:complexContent>
<xsd:extension base="gml:AbstractFeatureType">
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="asuk_id" nillable="false" type="xsd:decimal"/>
<xsd:element maxOccurs="1" minOccurs="0" name="liik_tekst" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="staatus_tekst" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="staatus_tervishoid" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="pohi_nr" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="asuk_registri_nr" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="aadr_maakond_tekst" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="aadr_valdlinn_tekst" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="aadr_kyla_alev" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="aadr_aadress" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="koodaadress" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="koord_x" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="koord_y" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="reg_kp" nillable="true" type="xsd:date"/>
<xsd:element maxOccurs="1" minOccurs="0" name="loomaliigid" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="vastut_nimi" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="reg_telefon" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="reg_mobiil" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="geometry" nillable="true" type="gml:PointPropertyType"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="pria_ehitised" substitutionGroup="gml:_Feature" type="pria_avalik:pria_ehitisedType"/>
</xsd:schema>
tormi commented 5 years ago

This is still unresolved. I can scrape that missing data, but don't want to. This blocks the development of https://mesi.ee for example, I can't add/aggregate company-based data there.