> For the complete documentation index, see [llms.txt](https://inj9.gitbook.io/dynamo-mapconnection/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://inj9.gitbook.io/dynamo-mapconnection/operations-with-mapcslibrary/page2.md).

# CreateCSList and WKT2 transform

Actions to create a CS's list and conversion CS's definitions to WKT2 format

Now, we're have XML-library and we can start look other nodes that require that data. Let's start with node - creation CS's list from User Local Library:

Теперь у нас есть XML-версия библиотеки и мы можем приступить к обзору нодов, где она была необходима, как исходные данные. Начнем с формирования перечня систем координат, хранящихся в рамках пользовательской библиотеки:

![Script to export CS's names to external file](https://496322064-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVqYgYUR5ESZRyGZ61l%2F-MVumKwSj6emupRfHolP%2F-MVuv-oVu6SRSm0ZSV3m%2Fimage.png?alt=media\&token=3b075a43-8143-43fc-83b9-9d8be957a033)

![Result of exporting file](https://496322064-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVqYgYUR5ESZRyGZ61l%2F-MVumKwSj6emupRfHolP%2F-MVurHCO2pKaHbrMQNw0%2Fimage.png?alt=media\&token=d490e677-8883-4341-ab7d-2bc0b2e28c4e)

Then call a node **GetWKT2Code\_ofCSList** and input them all needing data. \
Теперь вызовем нод **GetWKT2Code\_ofCSList** и подадим ему на вход нужные параметры.

**Note**: at that time export to WKT2 supports if CS's Type is Transverse Mercator or Gauss-Kruger!\
**Примечание**: пока-что экспорт в WKT2 поддерживается при условии, что тип системы координат - Поперечная Меркатора или Гаусса-Крюгера

{% file src="/files/-MVuxtKR0yPBy2m7tNtR" %}
Script to get WKT2 codes of input CS's names from XML-library
{% endfile %}

![](https://496322064-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MVqYgYUR5ESZRyGZ61l%2F-MVumKwSj6emupRfHolP%2F-MVuw940ZmNXQdtvmdZf%2Fimage.png?alt=media\&token=f6557307-5402-4009-a219-ef023807479e)

After finish process we're get a text-file with WKT2 codes of CS in User Library:

**Note**: input XML-library can contains symbols '\r\n' for some names and as result - WKT2 string will contain these NewLines. \
**Примечание**: XML-библиотека может содержать в наименованиях некоторых названий переход на новую строку, поэтому итоговая WKT2 строка может представлять собой несколько строк.
