nlsfi / hakunapi

OGC API Features Java server
https://github.com/nlsfi/hakunapi
MIT License
12 stars 3 forks source link

Support for PostgreSQL uuid arrays #108 #109

Closed nls-jajuko closed 5 months ago

jampukka commented 5 months ago

I'm guessing this works? :)

nls-jajuko commented 5 months ago

Testing . Forgot to add draft / work in progress

nls-jajuko commented 5 months ago

Basic support and GeoJSON output is OK. HTML does not work.

I'll add another issue for this and other minor HTML output bugs #110

jampukka commented 5 months ago

Not sure how well other type of arrays work with HTML output anyways

nls-jajuko commented 5 months ago

HTML output fixes are out of scope for this issue. #110 fixes those.

{
    "type": "Feature",
    "id": 1,
    "geometry": {
        "type": "Point",
        "coordinates": [
            23.9879801,
            68.4659627
        ]
    },
    "properties": {
        "uuid_arr": [
            "d5324c7e-6cfb-4e18-a565-f40b0ddb857b"
        ]
    }
}

I think this is OK now. I'll merge a release 1.4.1 with this tomorrow.

nls-jajuko commented 5 months ago

Should've been separate commits for fix and versions. Lesson learned. I will add separate fix to main