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

GetFeature failure on clustered layer. #5292

Open
m431m opened this issue Jun 10, 2016 · 0 comments
Open

GetFeature failure on clustered layer. #5292

m431m opened this issue Jun 10, 2016 · 0 comments

Comments

@m431m
Copy link

m431m commented Jun 10, 2016

Following issue #5219 @szekerest.

LAYER
    NAME "foo"
    TYPE POINT
    CONNECTIONTYPE POSTGIS
    CONNECTION "..."
    PROCESSING "CLOSE_CONNECTION=DEFER"
    DATA "geom FROM table USING UNIQUE id USING srid=4326"
    METADATA
        "wfs_enable_request" "*"
        "gml_featureid" "gid"
        "gml_include_items" "all"
        # (...)
    END
    PROJECTION
        "init=epsg:4326"
    END
    CLUSTER
        MAXDISTANCE 50
        REGION "ellipse"
    END
END

A GetFeature request returns this warning below, while gml_featureid is set..

<!-- WARNING: FeatureId item 'gid' not found in typename 'foo' -->

So, the response document is empty.

Removes 'CLUSTER' and it normally works.

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