> For the complete documentation index, see [llms.txt](https://docs.geopard.tech/geopard-tutorials/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.geopard.tech/geopard-tutorials/in/gis/qgis-change-string-to-number-values-in-the-shapefile.md).

# QGIS: shapefile में टेक्स्ट फ़ील्ड को संख्या में बदलें

टेक्स्ट मानों को संख्या में बदलने के लिए QGIS Field Calculator में to\_real() या to\_int() इस्तेमाल करें, दशमलव बनाए रखें और उन दर या उपज कॉलम की समस्या ठीक करें जो इंपोर्ट नहीं हो रहे।

विशेषता तालिका खोलें, फ़ील्ड कैलकुलेटर शुरू करें, एक नया दशमलव फ़ील्ड बनाएँ और यह दर्ज करें `to_real("your_field")`। पूर्ण संख्याओं के लिए `to_int()` का उपयोग करें। अगर सेव करने के बाद दशमलव हट जाएँ, तो आउटपुट फ़ील्ड की लंबाई 0 या शून्य से अधिक सटीकता पर सेट करें। टेक्स्ट के रूप में सेव की गई संख्याएँ ही आमतौर पर वह वजह होती हैं जिसके कारण उपज या दर वाला कॉलम नक्शे पर रंग नहीं दिखाता या दर के रूप में इंपोर्ट नहीं होता।

{% hint style="success" %}
ठीक की गई फ़ाइल अपलोड करें और उसे नक्शे के रूप में देखें: [मुफ़्त में शुरू करें](https://app.geopard.tech/auth/sign-up?utm_source=docs\&utm_medium=cta\&utm_campaign=qgis-change-string-to-number-values-in-the-shapefile)
{% endhint %}

QGIS में, आप "Field Calculator" टूल का उपयोग करके स्ट्रिंग को संख्या में बदल सकते हैं। सबसे पहले, उस लेयर की विशेषता तालिका खोलें जिसे आप संशोधित करना चाहते हैं। फिर, "Open Field Calculator" बटन पर क्लिक करें। "Expression" बॉक्स में, "to\_real(" टाइप करें, उसके बाद उस फ़ील्ड का नाम लिखें जिसमें वह स्ट्रिंग है जिसे आप बदलना चाहते हैं, और अंत में बंद कोष्ठक लगाएँ। उदाहरण के लिए, "string\_field" नाम के स्ट्रिंग फ़ील्ड को संख्यात्मक फ़ील्ड में बदलने के लिए, Expression बॉक्स में "to\_real("string\_field")" दर्ज करें। आप उचित विकल्प चुनकर आउटपुट फ़ील्ड का नाम और डेटा प्रकार भी बदल सकते हैं। अंत में, रूपांतरण पूरा करने के लिए "OK" पर क्लिक करें। मूल स्ट्रिंग फ़ील्ड विशेषता तालिका में बना रहेगा, जबकि नया संख्यात्मक फ़ील्ड तालिका में जुड़ जाएगा।

<figure><img src="https://537187778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2Fi3rxrGu9XbcEMSGWGGEX%2FScreenshot%202023-04-03%20at%2017.22.03.png?alt=media&amp;token=1425fbc0-f7fa-4d0d-b794-b50c8db37b8d" alt=""><figcaption></figcaption></figure>

1. "Properties" खोलें
2. "Field Calculator" पर जाएँ
3. "Update Existing field" चुनें
4. to\_real("attributeName")
5. बदलाव सेव करें
6. हर विशेषता के लिए यही प्रक्रिया दोहराएँ

   <figure><img src="https://537187778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2Fc6LPt5wG8QlPkfn1B00s%2FScreenshot%202023-04-03%20at%2017.29.49.png?alt=media&amp;token=86437f74-6d54-4cae-8e04-ff319e4769a6" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
ठीक की गई फ़ाइल अपलोड करें और उसे नक्शे के रूप में देखें: [मुफ़्त में शुरू करें](https://app.geopard.tech/auth/sign-up?utm_source=docs\&utm_medium=cta\&utm_campaign=qgis-change-string-to-number-values-in-the-shapefile)
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.geopard.tech/geopard-tutorials/in/gis/qgis-change-string-to-number-values-in-the-shapefile.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
