Hello!
I've noticed something wierd about the MapServer/identify from
https://api3.geo.admin.ch/ API.
While retrieving the geometries for specific egrids, i've realized that the feature id is different every day.
First example request 16-apr-2025:
{"type":"Feature","geometry":{"type":"Polygon","coordinates":[.....]]},"properties":{"ak":"VD","number":"3766","identnd":"VD0001000000","egris_egrid":"
CH669983452102","realestate_type":null,"geoportal_url":"https:\/\/
www.geo.vd.ch\/?&mapresources=GEOVD_MENSURATION","label":"VD",
"featureId":980629}}
Second example request 17-apr-2025:
{"type":"Feature","geometry":{"type":"Polygon","coordinates":[......]},"properties":{"ak":"VD","number":"3766","identnd":"VD0001000000","egris_egrid":"
CH669983452102","realestate_type":null,"geoportal_url":"https:\/\/
www.geo.vd.ch\/?&mapresources=GEOVD_MENSURATION","label":"VD","
featureId":977585}}
These examples have the structure which we use, `featureId` is in the properties key. The original response for the second request is:
{"type":"Feature",
"featureId":977585,"bbox":[2562858,1129698,2562948.7,1129813.2],"layerBodId":"ch.kantone.cadastralwebmap-farbe","layerName":"CadastralWebMap","id":977585,"geometry":{"type":"Polygon","coordinates":[....]},"properties":{"ak":"VD","number":"3766","identnd":"VD0001000000","egris_egrid":"
CH669983452102","realestate_type":null,"geoportal_url":"https:\/\/
www.geo.vd.ch\/?&mapresources=GEOVD_MENSURATION","label":"VD"}}
My question is: why the
featureId is changing every day? Shouldn't it be the same?