---
title: "Function to extract the EPSG code from the Spatial Reference System (SRS) in Arena?"
url: "https://openforis.support/questions/4209/function-to-extract-the-epsg-code-from-the-spatial-reference-system-srs-in-arena"
tags: ["arena"]
status: "answered"
score: 0
answer_count: 1
asked: "2025-03-29T18:13:54"
last_activity: "2025-03-29T20:08:20"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# Function to extract the EPSG code from the Spatial Reference System (SRS) in Arena?

Asked by marvgonzalezv on 2025-03-29

I have tried to extract the EPSG code from a Coordinate field, however I have searched within the advanced functions as such a native JavaScript function as such in Open Foris Arena does not exist.

It would be ideal if the function could be implemented and could handle different SRS string formats and extract the EPSG code reliably.


## Answer (score 2, by Lauri (OF) on 2025-03-29)

Link: https://openforis.support/questions/4209/function-to-extract-the-epsg-code-from-the-spatial-reference-system-srs-in-arena/4211

You can get the EPSG code as text: if your coordinate attribute name is *plot_coord*, simply write into your target attribute expression *plot_coord.srs* and you can get the EPSG code out. Is this what you are looking for?
