[QUAR] [UMN_MAPSERVER-USERS] swig mapscript interface

Lowell.Filak lfilak at MEDINACO.ORG
Tue Feb 7 11:47:23 EST 2006


Christopher Condit writes: 

> I'm curious if there's a way to get access to the shapeObj field names
> in non-PHP MapScript applications. 
> 
> In PHP, you can get a shape object (as a result of a query) and grab the
> valued of field with a string index: $myValue =
> shape.values["Country_Code"]; 
> 
> I'm using c# for my application and I'm curious if there is anything
> similar - or another way to get access to the field names?

Chris, 

Last I knew you could not pull the value by string but could numerically via 
the position of the attribute in the table. 

Lowell 



More information about the mapserver-users mailing list