Esri / Esri/ops-server-config

Places of Interest Feature Service Field Name [Type]

Open
#1,364 0 comments 0 reactions 0 assignees View on GitHub
B - Bug B - Enhancement
Dominant language
Python
Stars
33
Forks
12
PR merge metrics
No merged PRs in 30d

Description

I was trying to filter Government Places layer by the [Type] attribute in ArcMap using Properties>Definition Query. The "Type" attribute shows up as "Type_" and a query that uses this attribute returns nothing. When I enter "Type" manually in the query, it works just fine. The service definition seems to be okay, and I was pretty sure I took care of the _ after the field name "Type" in the database, but it looks like this needs to be checked out. I think the attribute [Type] should be renamed to something other than the term [Type] because ArcGIS appears to be doing something unusual with it. Suggest renaming to [PlaceType] or something like this.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the service definition and database field configuration for the Government Places layer, then reproduce the Definition Query behavior in ArcMap using the Type field. Done means the exposed field no longer appears as Type_ and filtering by the renamed place-type field returns the expected records.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.