docs: update PostGIS skill with withinDistance, measurements, transformations, aggregates#66
Open
pyramation wants to merge 1 commit intomainfrom
Open
docs: update PostGIS skill with withinDistance, measurements, transformations, aggregates#66pyramation wants to merge 1 commit intomainfrom
pyramation wants to merge 1 commit intomainfrom
Conversation
…rmations, aggregates - Add withinDistance (ST_DWithin) compound input operator with examples - Add orderingEquals operator (was missing from docs) - Add type-specific fields table (Point, LineString, Polygon, Multi*, Collection) - Add measurement fields: area, length, perimeter (geodesic) - Add transformation fields: centroid, bbox, numPoints - Add aggregate functions: ST_Extent, ST_Union, ST_Collect, ST_ConvexHull - Add SDK example for withinDistance query - Add cross-references to pgpm Docker skill and codegen ORM patterns - Update 'When to Use' section with operator recommendations
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates
search-postgis.mdto document new PostGIS features added in constructive-io/constructive#864. Documentation-only change — no code or scripts modified.New sections added:
withinDistance(ST_DWithin) — compound input operator withpoint+distancefields, with both GraphQL and SDK examplesorderingEqualsoperator — was implemented but missing from docsarea,length,perimeter(geodesic, computed client-side)centroid,bbox,numPointsReview & Testing Checklist for Human
withinDistanceinput shape matches the actualWithinDistanceInputGraphQL type — doc shows{ point: GeoJSON, distance: Float }. Check againstwithin-distance-operator.tsin the constructive repo.area/perimeteron Polygon,lengthon LineString. Confirm againstmeasurement-fields.ts.../../pgpm/SKILL.md,../../pgpm/references/docker.md, and./codegen-orm-patterns.mdshould resolve correctly fromskills/constructive-graphql/references/.Notes
longitude/latitudeinstead ofx/y— this is documented but worth double-checking against the inflection plugin.Link to Devin session: https://app.devin.ai/sessions/d0a20ee2e5194f4e8c342c6bc12fea07
Requested by: @pyramation