Select to view content in your preferred language

a question about "Type ID Field" in REST Directory

5301
3
02-20-2013 09:03 PM
by Anonymous User
Not applicable
Original User: wdhechao@gmail.com
Original Date: 2013-02-20T23:03:44-0600

There is a fied called "Type ID Field" in rest directory. At first, i guess it means subfield. To proving my guess, i do a test. I created a mxd with simple render. The data is from sde, then i set the subtypes of the feature class. Finally i share it as service setting its capabilities "mapping & feature access". After successfully publish it, i open the rest directory , i first see the "Type Id Field" in the MapServer , it accually is TEST2, but when i check the Feature service the "Type Id Field" doen't have value.

so, i wonder to konw what is the "type id filed" on earth and why it has value in mapserver, doen't have value in Feature service.

[ATTACH=CONFIG]22022[/ATTACH]
this is the attribute table in my mxd
[ATTACH=CONFIG]22023[/ATTACH]
setting subtypes
[ATTACH=CONFIG]22024[/ATTACH]
"Type ID Field " in MapServer
[ATTACH=CONFIG]22025[/ATTACH]
"Type ID Field " in FeatureServer
0 Kudos
3 Replies
nicogis
MVP Alum
Have installed sp1?
0 Kudos
by Anonymous User
Not applicable
Original User: shevchenhe

Have installed sp1?

Thank you for your reply. I have the sp1 installed, the cruurent version showed in rest directory is 10.11
0 Kudos
MichaelKefahuchi
Deactivated User

Well I know I am a little late, but maybe this helps someone struggling with this, like I was today.

Firstly, "type id filed" is definitely name of the field that holds subtype.

It seems that this field is blank in feature service in case you do not have used if for symbology, or better to say to for your Feature Template. Basically if you have feature template for editing for every subtype, you will have correct type id field name and everything considering this just fine as in map service. But if you have feature template for single symbol, you will not get typeId field from feature service.

I have to admit that I cannot see a good reason for this, but that is another story...

0 Kudos