मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग51k · #3470

geopandas

यह क्या करती है

GeoPandas Python का इस्तेमाल करके नक्शों पर भौगोलिक डेटा के साथ काम करने का टूल है। यह शहरों की लोकेशन या देशों की सीमाओं जैसी स्पेशियल जानकारी को व्यवस्थित करने और उसका विश्लेषण करने में मदद करता है।

कब इस्तेमाल करें

  • ✓जब आपको नक्शे पर पॉइंट्स के बीच की दूरी का विश्लेषण करना हो।
  • ✓अलग-अलग क्षेत्रों के क्षेत्रफल की तुलना करते समय।
  • ✓अलग-अलग मैप लेयर की जानकारी को जोड़ने के लिए।

Skill का लिंक

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/geopandas/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/geopandas/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मैप फाइल का इस्तेमाल करके ब्राज़ील के सभी राज्यों का क्षेत्रफल कैसे निकाल सकता हूँ?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

GeoPandas नक्शे की जानकारी स्टोर करने के लिए टेबल जैसे डेटा स्ट्रक्चर इस्तेमाल करता है। यह आपको सीधे इसी डेटा पर दूरी या क्षेत्रफल जैसे स्पेशियल ऑपरेशन करने देता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

GeoPandas

Use GeoPandas for planar vector data represented as pandas-like GeoSeries and GeoDataFrame objects. This skill targets stable GeoPandas 1.2.0 (released 2026-09-28). The stable website currently carries a development build label; release-specific behavior below was checked against the v1.2.0 source and wheel.

Reproducible environment

GeoPandas 1.2.0 requires Python 3.11+, NumPy >=2, pandas >=2.2, Shapely >=2.1, pyproj >=3.7, pyogrio >=0.8, and packaging. The current pyproj wheel below requires Python 3.12+. This exact Python 3.12 snapshot was smoke-tested on 2026-10-01:

uv venv --python 3.12
uv pip install \
  "geopandas==1.2.0" \
  "numpy==2.5.3" \
  "pandas==3.0.6" \
  "shapely==2.1.2" \
  "pyproj==3.8.0" \
  "pyogrio==0.13.0" \
  "pyarrow==25.0.1" \
  "packaging==26.3"

Keep optional plotting and PostGIS packages pinned in the project lock as well. Do not mix binary geospatial packages from incompatible package channels.

Workflow

  1. Inspect a vetted local layer with vector_inventory.py; retain source hashes.
  2. Use crs_reprojection_plan.py to inspect candidate transformations. It plans only: execute an appropriate to_crs()/pyproj transformation separately.
  3. Audit geometry with geometry_validity_report.py; compare simulated repair changes before requesting its optional new GeoPackage output.
  4. Run the intended analysis with explicit predicates, CRS units, precision, and aggregation rules. spatial_join_audit.py measures join cardinality; it does not export joined features or perform a dissolve.
  5. Use export_plan.py to inspect the proposed contract, then write and reopen the actual output separately. A successful plan has not written a file.
  6. Review disclosure and generalization before sharing derived geodata/maps, using sensitive_coordinates_checklist.py when sensitive locations occur.

Examples below use synthetic or placeholder local inputs. File/database examples need the named dataset or service; PostGIS and tile-provider calls were reviewed against upstream contracts but were not exercised against a live service.

Safety and privacy contract

  • Treat exact coordinates, addresses, parcel boundaries, trajectories, and small-area joins as sensitive. Default reports to counts, categories, coarse extents, and redacted identifiers. Generalize before publication.
  • Never automatically load a URL, cloud URI, GDAL /vsi* path, archive, or geocode an address. Obtain explicit approval, validate provenance and hashes, then stage an unpacked local file in an isolated workspace.
  • GDAL/OGR drivers, GEOS, PROJ, pyogrio, Shapely, pyproj, and their wheels are a native-code trust boundary. Prefer official wheels/conda-forge, record native versions, restrict drivers, and process untrusted data in a sandbox.
  • Do not open macro-enabled office files or nested archives through permissive GDAL drivers. The bundled CLIs use an extension allowlist and reject archives.
  • Read only named database secrets such as GEOPANDAS_POSTGIS_PASSWORD; use a secret manager or scoped environment variable. Never embed a password in a URL or source, print an engine/URL, or dump the environment.
  • Every derived artifact needs source hashes/versions, CRS, operation parameters, predicate, join cardinality, precision/repair choices, and row-count checks.

Correctness gates

Apply these gates before trusting a result:

  1. Identity and provenance — identify the source layer, stable feature key, duplicate IDs, row count, geometry column, parser/driver, and content hash.
  2. Geometry state — count null, empty, invalid, mixed, Z/M, and collapsed geometries separately. None is missing; an empty Shapely geometry is real.
  3. CRS semantics — require CRS metadata. set_crs() assigns metadata; to_crs() transforms coordinates. Never guess a CRS from coordinate ranges.
  4. Units and operation — GeoPandas is planar. Geographic coordinates are angular; do not use them directly for buffer, distance, area, nearest joins, precision grids, or tolerances. Choose a fit-for-purpose local/equal-area CRS or a geodesic method.
  5. Transform quality — inspect axis order, area of use, datum pipeline, expected accuracy, ballpark status, and missing grids. Keep PROJ network disabled unless the user explicitly approves grid retrieval.
  6. Topology and precision — validate before and after repair/overlay. Pick a

…

अक्सर पूछे जाने वाले सवाल

भौगोलिक डेटा क्या है?

यह ऐसी जानकारी है जिसकी धरती पर कोई लोकेशन होती है, जैसे कोई पता, GPS पॉइंट, या कोई पॉलीगॉन जो देश को दर्शाता है।

CRS क्या है?

CRS का मतलब है Coordinate Reference System। यह नियमों का एक सेट है जो बताता है कि कोऑर्डिनेट (अक्षांश और देशांतर) धरती की सतह से कैसे जुड़े हैं, जिससे नक्शे सटीक रहते हैं।

क्या मैं GeoPandas को किसी भी तरह के नक्शे के साथ इस्तेमाल कर सकता हूँ?

GeoPandas वेक्टर डेटा (पॉइंट, लाइन, पॉलीगॉन) के लिए सबसे अच्छा है और आम मैप फॉर्मेट के साथ अच्छा काम करता है। लेकिन ज्यादा जटिल डेटा या खास स्रोतों के लिए अतिरिक्त सेटअप की ज़रूरत पड़ सकती है।

जानकारी

लेखक का मूल विवरण

Guidance and local audit tools for Python workflows that directly use GeoPandas GeoSeries, GeoDataFrame, spatial operations, or vector-data I/O.

repo: K-Dense-AI/scientific-agent-skills

लोकप्रियता

GitHub स्टार
51k
रैंकिंग में स्थान
#3470
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

13c-metabolic-flux

51k

कार्बन-13 आइसोटोप ट्रेसिंग डेटा से मेटाबोलिक फ़्लक्स का अनुमान लगाता है। कोशिका के मेटाबॉलिज़्म और बायोकेमिकल मार्गों का विश्लेषण करने के लिए यह उपयोगी है।

AI और एजेंटएजेंट

adaptyv

51k

Adaptyv API का उपयोग करके प्रोटीन कैरेक्टराइज़ेशन प्रयोग डिज़ाइन करता है। लागत का अनुमान लगाने, सीक्वेंस सबमिट करने और लैब के नतीजों पर नज़र रखने में मदद करता है।

AI और एजेंटएजेंट

aeon

51k

टाइम सीरीज़ डेटा पर मशीन लर्निंग के काम करता है। क्रमबद्ध डेटा में वर्गीकरण, पूर्वानुमान, एनोमली डिटेक्शन और पैटर्न खोजने के लिए यह उपयोगी है।

AI और एजेंटएजेंट

alphagenome

51k

जेनेटिक वेरिएंट्स के पहले से गणना किए गए जीनोमिक प्रभाव देखता है। वेरिएंट का जीनोम पर असर समझने के लिए स्कोर और स्पष्टीकरण देता है।

डेटामशीन लर्निंग

मिलती-जुलती skills