본문으로 건너뛰기
cccskills
무료GitHub에 공개

django-rest-framework-gis

Guide Django REST Framework and GeoDjango projects through django-rest-framework-gis installation, GeoJSON serialization, spatial filtering, pagination, OpenAPI schema generation, and backend troubleshooting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(23)

  • SKILL.md3.9 KB
  • references/repo-provenance.md1.8 KB
  • references/repo-routing-metadata.json352 B
  • references/troubleshooting.md3.3 KB
  • sub-skills/integration-testing/references/environment.md6.1 KB
  • sub-skills/integration-testing/references/testing.md5.2 KB
  • sub-skills/integration-testing/references/troubleshooting.md5.4 KB
  • sub-skills/integration-testing/scripts/check_environment.py8.2 KB
  • sub-skills/integration-testing/SKILL.md3.6 KB
  • sub-skills/pagination-and-schema/references/api-reference.md8.8 KB
  • sub-skills/pagination-and-schema/references/troubleshooting.md7.0 KB
  • sub-skills/pagination-and-schema/references/workflows.md7.1 KB
  • sub-skills/pagination-and-schema/SKILL.md3.5 KB
  • sub-skills/serialization/references/api-reference.md11.5 KB
  • sub-skills/serialization/references/troubleshooting.md12.1 KB
  • sub-skills/serialization/references/workflows.md10.7 KB
  • sub-skills/serialization/scripts/geometry_smoke.py3.8 KB
  • sub-skills/serialization/SKILL.md3.0 KB
  • sub-skills/spatial-filtering/references/api-reference.md9.1 KB
  • sub-skills/spatial-filtering/references/troubleshooting.md7.9 KB
  • sub-skills/spatial-filtering/references/workflows.md6.9 KB
  • sub-skills/spatial-filtering/scripts/tile_bbox.py1.6 KB
  • sub-skills/spatial-filtering/SKILL.md4.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

django-rest-framework-gis

Use this repo skill when a Django REST Framework endpoint needs GeoDjango geometry as GeoJSON, GeoJSON Features or FeatureCollections, spatial query filters, GeoJSON pagination, or OpenAPI geometry schemas. It covers the public djangorestframework-gis package, not a private application model or a replacement for a spatial database.

Install and smoke-check

Install the public distribution and its declared runtime dependencies:

python -m pip install djangorestframework-gis
python -c "import rest_framework_gis; print(rest_framework_gis.get_version())"

The package requires Django, Django REST Framework, django-filter, and GeoDjango's native GEOS/GDAL/PROJ libraries for geometry operations. Add rest_framework_gis to INSTALLED_APPS after rest_framework when you want ordinary DRF ModelSerializer classes to map GeoDjango fields automatically. Use integration-testing for supported version selection, native-library checks, and spatial-database boundaries.

For a no-database JSON diagnostic, run the bundled checker from the installed skill tree:

python sub-skills/integration-testing/scripts/check_environment.py --help
python sub-skills/integration-testing/scripts/check_environment.py

Route the task

  • GeoJSON geometry or Feature I/O: read serialization. It owns GeometryField, GeometrySerializerMethodField, GeoFeatureModelSerializer, IDs, properties, bbox, SRID transforms, precision, deduplication, and null/empty behavior.
  • BBox, TMS tile, geometry, distance, or nearest/farthest queries: read spatial-filtering. It owns DRF filter backends, query parameters, view attributes, units, SRIDs, and parse errors.
  • FeatureCollection pagination or OpenAPI: read pagination-and-schema. It owns GeoJsonPagination, GeoFeatureAutoSchema, geometry nesting, bbox schemas, and DRF version-specific schema behavior.
  • Installation, GeoDjango loaders, compatibility, test setup, or database verification: read integration-testing. It separates package/GEOS/GDAL smoke from ORM and spatial-database evidence.

Cross-cutting rules

  1. Treat coordinates as GeoJSON x,y (longitude/easting, latitude/northing) and bbox values as west, south, east, north unless the application documents a different CRS.
  2. GeoFeatureModelSerializer requires Meta.geo_field; use None explicitly for a geometry-less Feature. Choose one bbox mode: auto_bbox is read-only, while bbox_geo_field is writable and mutually exclusive with auto_bbox.
  3. A GEOS/GDAL import or field serializer smoke does not prove that ORM predicates such as dwithin, contained, bboverlaps, or GeometryDistance work on the target database. Verify the actual spatial backend separately.
  4. Read references/troubleshooting.md for cross-cutting install, settings, native-library, dependency, and backend failures. Read references/repo-provenance.md before deciding whether this skill matches a changed checkout.

Scope boundary

This skill distills the package's public API and repository-tested behavior. It does not include private environment paths, the original repository as a runtime dependency, maintainer release automation, or the expensive 10,000- object performance benchmark.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

3ddfa

무료

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

3ddfa-v2

무료

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

ab3dmot

무료

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

acme

무료

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

VectorSpaceLab의 스킬 모두 보기

이 스킬의 문제 신고