# CSV to GML mapping

The naming of attributes between GML and CSV will be different due to the requirements of the file formats. The attributes are listed together in [Feature types](feature-types), but for convenience the following table maps the CSV attribute name to the GML attribute name.

| CSV                                 | GML                           |
| ----------------------------------- | ----------------------------- |
| UPRN                                | uprn                          |
| UDPRN                               | udprn                         |
| CHANGE\_TYPE                        | changeType                    |
| STATE                               | state                         |
| STATE\_DATE                         | stateDate                     |
| CLASS                               | class                         |
| PARENT\_UPRN                        | parentUPRN                    |
| X\_COORDINATE                       | position                      |
| Y\_COORDINATE                       |                               |
| LATITUDE                            | positionLatLong               |
| LONGITUDE                           |                               |
| RPC                                 | rpc                           |
| LOCAL\_CUSTODIAN\_CODE              | localCustodianCode            |
| COUNTRY                             | country                       |
| LA\_START\_DATE                     | laStartDate                   |
| LAST\_UPDATE\_DATE                  | lastUpdateDate                |
| ENTRY\_DATE                         | entryDate                     |
| RM\_ORGANISATION\_NAME              | rmOrganisationName            |
| LA\_ORGANISATION                    | laOrganisation                |
| DEPARTMENT\_NAME                    | departmentName                |
| LEGAL\_NAME                         | legalName                     |
| SUB\_BUILDING\_NAME                 | subBuildingName               |
| BUILDING\_NAME                      | buildingName                  |
| BUILDING\_NUMBER                    | buildingNumber                |
| SAO\_START\_NUMBER                  | saoStartNumber                |
| SAO\_START\_SUFFIX                  | saoStartSuffix                |
| SAO\_END\_NUMBER                    | saoEndNumber                  |
| SAO\_END\_SUFFIX                    | saoEndSuffix                  |
| SAO\_TEXT                           | saoText                       |
| ALT\_LANGUAGE\_SAO\_TEXT            | altLanguageSAOText            |
| PAO\_START\_NUMBER                  | paoStartNumber                |
| PAO\_START\_SUFFIX                  | paoStartSuffix                |
| PAO\_END\_NUMBER                    | paoEndNumber                  |
| PAO\_END\_SUFFIX                    | paoEndSuffix                  |
| PAO\_TEXT                           | paoText                       |
| ALT\_LANGUAGE\_PAO\_TEXT            | altLanguagePAOText            |
| USRN                                | usrn                          |
| USRN\_MATCH\_INDICATOR              | usrnMatchIndicator            |
| AREA\_NAME                          | areaName                      |
| LEVEL                               | level                         |
| OFFICIAL\_FLAG                      | officialFlag                  |
| OS\_ADDRESS\_TOID                   | osAddressTOID                 |
| OS\_ADDRESS\_TOID\_VERSION          | osAddressTOIDVersion          |
| OS\_ROADLINK\_TOID                  | osRoadLinkTOID                |
| OS\_ROADLINK\_TOID\_VERSION         | osRoadLinkTOIDVersion         |
| OS\_TOPO\_TOID                      | osTopoTOID                    |
| OS\_TOPO\_TOID\_VERSION             | osTopoTOIDVersion             |
| VOA\_CT\_RECORD                     | voaCTRecord                   |
| VOA\_NDR\_RECORD                    | voaNDRRecord                  |
| STREET\_DESCRIPTION                 | streetDescription             |
| ALT\_LANGUAGE\_STREET\_DESCRIPTION  | altLanguageStreetDescription  |
| DEPENDENT\_THOROUGHFARE             | dependentThoroughfare         |
| THOROUGHFARE                        | thoroughfare                  |
| WELSH\_DEPENDENT\_THOROUGHFARE      | welshDependentThoroughfare    |
| WELSH\_THOROUGHFARE                 | welshThoroughfare             |
| DOUBLE\_DEPENDENT\_LOCALITY         | doubleDependentLocality       |
| DEPENDENT\_LOCALITY                 | dependentLocality             |
| LOCALITY                            | locality                      |
| WELSH\_DEPENDENT\_LOCALITY          | welshDependentLocality        |
| WELSH\_DOUBLE\_DEPENDENT\_LOCALITY  | welshDoubleDependentLocality  |
| TOWN\_NAME                          | townName                      |
| ADMINISTRATIVE\_AREA                | administrativeArea            |
| POST\_TOWN                          | postTown                      |
| WELSH\_POST\_TOWN                   | welshPostTown                 |
| POSTCODE                            | postcode                      |
| POSTCODE\_LOCATOR                   | postcodeLocator               |
| POSTCODE\_TYPE                      | postcodeType                  |
| DELIVERY\_POINT\_SUFFIX             | deliveryPointSuffix           |
| ADDRESSBASE\_POSTAL                 | addressbasePostal             |
| PO\_BOX\_NUMBER                     | poBoxNumber                   |
| WARD\_CODE                          | wardCode                      |
| PARISH\_CODE                        | parishCode                    |
| RM\_START\_DATE                     | rmStartDate                   |
| MULTI\_OCC\_COUNT                   | multiOccCount                 |
| VOA\_NDR\_P\_DESC\_CODE             | voaNDRPDescCode               |
| VOA\_NDR\_SCAT\_CODE                | voaNDRScatCode                |
| ALT\_LANGUAGE                       | altLanguage                   |
