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

Apiary data format #2

Open
tormi opened this issue Dec 15, 2016 · 2 comments
Open

Apiary data format #2

tormi opened this issue Dec 15, 2016 · 2 comments

Comments

@tormi
Copy link
Member

tormi commented Dec 15, 2016

Describe an apiary data object. An apiary has a location and a bunch of properties. Therefore, I propose using GeoJSON format for describing apiary data object.

tormi added a commit that referenced this issue Dec 15, 2016
@tormi
Copy link
Member Author

tormi commented Dec 15, 2016

{
    "type": "FeatureCollection",
    "features": [{
        "type": "Feature",
        "properties": {
            "id": 1,
            "name": "Vahekoidu",
            "address": "Vahekoidu tee 6, Koidu küla, Saue vald, Harju maakond, Estonia",
            "code": "EE31636",
            "hives": 3,
            "hives-type": "farrar",
            "colonies": 3,
            "colonies-race": "italian",
            "status": "operating",
            "organic": false,
            "picture": "https://mesindus.ee/files/album/IMG_8188.JPG",
            "beekeeper-name": "Tormi Tabor",
            "beekeeper-id": "37201045716",
            "beekeeper-phone": "+37254513000",
            "beekeeper-email": "tormi.tabor@eesti.ee",
            "company-name": "Magus Mesi OÜ",
            "company-code": "12345678",
            "datetime": "2016-12-15T13:47:01+02:00"
        },
        "geometry": {
            "type": "Point",
            "coordinates": [
                24.589521288871765,
                59.34385167658302
            ]
        }
    }]
}

@tormi
Copy link
Member Author

tormi commented Dec 15, 2016

Added classification values for hives-type, colonies-race, status, organic

{
    "type": "FeatureCollection",
    "features": [{
        "type": "Feature",
        "properties": {
            "id": 1,
            "name": "Vahekoidu",
            "address": "Vahekoidu tee 6, Koidu küla, Saue vald, Harju maakond, Estonia",
            "code": "EE31636",
            "hives": 3,
            "hives-type": ["farrar", "langstroth", "other"],
            "colonies": 3,
            "colonies-race": ["italian", "carnica", "other"],
            "status": ["planned", "operating", "abandoned"],
            "organic": ["true", "false", "transition"],
            "picture": "https://mesindus.ee/files/album/IMG_8188.JPG",
            "beekeeper-name": "Tormi Tabor",
            "beekeeper-id": "37201045716",
            "beekeeper-phone": "+37254513000",
            "beekeeper-email": "tormi.tabor@eesti.ee",
            "company-name": "Magus Mesi OÜ",
            "company-code": "12345678",
            "datetime": "2016-12-15T13:47:01+02:00"
        },
        "geometry": {
            "type": "Point",
            "coordinates": [
                24.589521288871765,
                59.34385167658302
            ]
        }
    }]
}

@tormi tormi changed the title Apiary Apiary data format Dec 22, 2016
tormi added a commit that referenced this issue Jan 25, 2017
First version of apiary.geojson (#2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant